Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

I want to display a image in HTML.
So, Please help me to convert bytes array into image that store in particular image.
and display in img tag.

Thanks in advance..
Posted
Comments
Patrice T 30-Jun-15 14:30pm    
More details are needed in order to more precise

1 solution

Assuming the bytes array is not already a standard image.
I would write a decoder in JS that send pixels to a CANVAS.

Anything depend on what is the bytes array.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900