Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
getPreview() method losses Transparency
gunse
Hi all,
I used mediabin's getPreview() method on transparent image(png,gif), but it losses Transparency.
Eg:
byte [] imgData = mediaBinServerSoap.getPreview(ImageId, -1, -1, MBPreviewType.Preview_128x128);
o.write(imgData);
Please give me suggestion to preserve Transparency.
Find more posts tagged with
Comments
msrinivas
Please check the description of the method in the API guide. It reads:
Retrieves a JPEG preview of a MediaBin asset with the given identifier.
JPEG's do not have transparency.
HTH
gunse
Thanks for reply ,
my requirement is to retrieve resized GIF,PNG with transparency.
any other way to do this,
lyman
You will need to run an actual MediaBin retrieval job. That should be pretty well documented but drop a note if you need more guidance.
Cheers,
Lyman Hurd
ganttChart.zip