I have a photo in Photoshop that I cropped out of its background. When I save the file as a PSD and import the file in InDesign, then save the InDesign file as a JPG, I get a pixel line around the image.

enter image description here

  • Is there any layers active underneath the image? Commented Oct 26, 2016 at 23:33
  • Hi Orlando, welcome to GDSE and thanks for your question. If you want to know more about the site, please see the help center or ping one of us in the Graphic Design Chat once your reputation is sufficient (20). Keep contributing and enjoy the site!
    – Vincent
    Commented Oct 27, 2016 at 9:06

2 Answers 2


You cropped mid-pixel. Photoshop either has to use that last pixel or not. You left more than 50% of the pixel, so Photoshop includes it. You cropped poorly.

It might help to turn on the pixel grid (View menu) and then zoom in when you crop to ensure you crop at whole pixels.

jpg in inDesign I won't comment on, but if the image started as a jpg, you really should never then save it as a jpg.


I would go back to photoshop and reselect your masked area or the photo

then go to Select - Modify - Expand (if you've selected the background) or Select - Modify - Contract (if you've selected the photo). Set the modification to 2px

then go to Select - Modify - Feather and set that to 1px.

Hope that works for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.