1, open the line drawing, copy the layer and close the background layer;
2. Click on the white background with the "magic eraser tool" to clear the background;
3.ctrl+ click the icon to load the selection, and select-Modify-Reduce 1 pixel;
4. "Edit-Clear", save as a picture in png format, and finish.