![]() I know there are tricks to overcome this issue, I've been relying on them for a decade. This isn't a problem when interpolation isn't applied. And as far as I can see no one here is talking about resizing a fully transparent image with either the bilinear or bicubic filters. To clear up, this isn't a "help me resize my image" thread. Why does it fill in transparency with the alpha channel color instead of treating it like the border of a rectangle? I don't see why it blends with the alpha channel. There is nothing to the left of or above pixel 0,0 but you don't see 0,0 ending up whiter. So it can average without eight neighbor pixels. It does not do this on the outermost pixels. I'm just curious why it's merging with the alpha channel. Yes, I'm aware that I could change the alpha channel to black and get a black rather than grey ring around the image. When resizing to a smaller resolution, your border got blended with neighbor pixels, which are white and not black, therefore the grey artifacts. First image is transparent, second is the full sized image with a background, third is resized image with background(I resized it without a background and added it afterwards).įelt like this topic belongs slightly more here than the creative graphics section, and I figure someone here is more likely to know why this is handled the way it is. So could someone explain to me exactly why Bilinear/Bicubic don't treat transparent pixels the exact same way they treat the edge of a rectangular image?Īttached examples of what I'm talking about(may need to zoom in to see all the grayscale artifacts). And the edges do not end up averaged with random grayscale noise. But clearly it can't require eight neighbor pixels to each one - because rectangular images *still* have edges. I understand they're made to average pixels by taking input from surrounding pixels. They fill the transparent pixels up with random grey shades and blend all of the edge pixels in the image with the grayscale noise, which is profoundly stupid as far as I can see. No matter what graphics program you're using. I've noticed that Bilinear/Bicubic resize filters refuse to blend transparent images. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |