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)
How do preview the image using getPreview method?
Thendral
I used the getPreview method in the mediabin server soap API.. Its returns the byte[]. How do I process this byte array and get preview?. What is the use of this byte array. Can I use it for any further process to preview the assets.
Eg:
byte[] byteArr = mediaBinServer.getPreview(assetID, revisionNumber, layerNumber, MBPreviewType.Preview_64x64); // revisionNumber = -1 and layerNumber = -1
Regards
Palani
Find more posts tagged with
Comments
BalajiMK
C#:
if(byteArr != null)
{
pictureBox1.Image = Image.FromStream(new MemoryStream(byteArr));
}
Check the MediaBin Web Service Installation directory for sample code.
Thendral
Thanks Balaji for your reply
Regards
Palani.