Skip to main content
tnhsaesop
Participating Frequently
February 5, 2023
Question

Photos Have 1px Transparent Border

  • February 5, 2023
  • 7 replies
  • 4425 views

Hey There, 

 

I've noticed that when I download an Adobe Stock Photo there is a 1px transparent border around it and I can't get rid of it no matter what I do.  If I create a new file with like a 1200x628 canvas and place the photo embedded and resize it to fit there is no transparent border, but if I open the image directly and resize it there is a 1px border.  The border does not go away even if I make the canvas 1200x628 and have the image larger than the canvas.  This is definitely some form of document-enforced border and has nothing to do with the photo or the resizing method.  Does anyone know how I can get rid of this?

 

[Moderator edited subject for precision and moved back to the Photoshop forum. This is certainly a Photoshop issue. Subject was: Adobe Stock Photos Have 1px Transparent Border]

 

7 replies

PECourtejoie
Community Expert
Community Expert
April 7, 2024

Hi, is the artefact visible at 100% magnification?
 It was never present in older non GPU accelerated versions of Photoshop.

Participant
April 7, 2024

Hey! This 1px transparent border showing up in Adobe Stock photos is a common issue. It's likely caused by the resampling method Photoshop uses when you open the image directly.


Go to Image > Image Size.
Under Resample, choose Bilinear instead of the default (usually Bicubic). Bilinear might not be quite as sharp, but it avoids the transparent border issue.

D Fosse
Community Expert
Community Expert
April 7, 2024

Just flatten. This doesn't happen with flattened files.

Participant
April 7, 2024

*One eternity later*

I really hope you eventually got this FIXED fixed, but the only way that *I* found -- today, in fact, because I was having the exact same problem -- is to (very simply) flatten the image before export.

Voila, no more weird 1px border(s).

D Fosse
Community Expert
Community Expert
April 7, 2024

This is a display artifact with floating layers, seen with some GPU/drivers. I'm not seeing it now, but I have seen it in the past. It's not in the data, it's not affecting the file.

 

But note that if you resample a floating layer, you will get a real transparent edge, because the area outside the frame is calculated into the resampling. I'm open to calling that a bug, it's difficult to see where this is desired. Anyway, flattening prevents it.

Abambo
Community Expert
Community Expert
February 6, 2023

Please delete the website in your signature, as this is against the forum rules and could be considered as spam.

ABAMBO | Hard- and Software Engineer | Photographer
tnhsaesop
tnhsaesopAuthor
Participating Frequently
February 6, 2023

I have removed the website from the signature, thanks for your quality contribution

President | Tortoise and Hare Software
Abambo
Community Expert
Community Expert
February 6, 2023

Great! And thanks for the prompt action.

ABAMBO | Hard- and Software Engineer | Photographer
Legend
February 6, 2023

What format do you download in? JPEG, AI, PNG or EPS?

Because if it's JPEG, it cannot contain any transparency at all, something else is happening. Also, you say that if you enlarge the image, the border stays in the same place - no image format could do that because of something in the image. 

tnhsaesop
tnhsaesopAuthor
Participating Frequently
February 6, 2023

I am downloading them in JPEG.  I don't think it has anything to do with the photo, but rather the canvas that the photo is placed on.

President | Tortoise and Hare Software
jane-e
Community Expert
Community Expert
February 6, 2023

 

@tnhsaesop wrote:

but if I open the image directly and resize it there is a 1px border

 

How are you opening the image? And please give us the link so we can check.

Jane

jane-e
Community Expert
Community Expert
February 5, 2023

@tnhsaesop 

 

Since your question is not about Photoshop, I have moved it to Adobe Stock for you. Please post the number of the image or the link so we can examine it.

 

Jane

 

tnhsaesop
tnhsaesopAuthor
Participating Frequently
February 6, 2023

It is definitely about photoshop.  I am having photos that have a transparent border when editing them in Photoshop.  The photos just happened to be sourced from Adobe Stock... 

President | Tortoise and Hare Software
Abambo
Community Expert
Community Expert
February 6, 2023
quote

The photos just happened to be sourced from Adobe Stock... 


By @tnhsaesop

If you download JPEG files, it is impossible to have a transparency border around, so your handling is specific and special and causes this border to happen.

 

I suggest you try with any JPEG, but treat that one as if it got downloaded by stock.

ABAMBO | Hard- and Software Engineer | Photographer
tnhsaesop
tnhsaesopAuthor
Participating Frequently
February 5, 2023

Just to illustrate here is a photo that I opened from photoshop, double clicked the background to convert it to a layer, then added a new layer on top and filled it with a solid color.  You can see the transparent border on the canvas.

President | Tortoise and Hare Software