function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yarramyarram 

How to convert image body/attachment object image to byte array

Hi...

     How do i convert image body/attachment object image to byte array and viceversa. give me one example.

 

Plz help me.

 

Thanks,

Yarram

 

 

Jeff MayJeff May

take a look at the Blob object you'll see descriptions and examples.

carolinenewcarolinenew

here is an example of converting image to byte array , check out. if you find it helpful,  i will be very happy.

takeimagetakeimage

hello, caroline. i am really fond of your image converter you are trying to introduce. i have use the feature converting image to byte arry. thank you for sharing.