Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When i thumbnail a transparent background image it gets displayed as a image with white background. I want the thumbnailed image also to be transparent. How can i achieve this through my code? 'productImage' is the actual image which is thumbnailed.
Are you using png's or gifs? :-)
i am using gifs ..
Okay.. Well I can see in that both are supported. Try and remove the Compression parameter. compression is for jpegs only, so maybe that could be the cause :-)
Even after removing the compression parameter it appears with white background.. i added an attribute BgColor=black and it appears transparent after that but with dirty black border.. the original image is around 130kb and the thumb version comes around 4 kb.. is there something i can do using imaggen ??
with white background:
after using bgcoor=black:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted