convert hex data to viewable image using matlab R2018a

6 views (last 30 days)
I'm Sushikshitha,i need a favour that i have hex data values,i need to convert this hex data into viewable image in matlabR2018a Please help me out... I am not able to display the image(JPEG)
  1 Comment
Guillaume
Guillaume on 29 Jun 2018
Edited: Guillaume on 29 Jun 2018
While it is trivial to convert your string of hexadecimal characters into actual numbers, to convert that into an image, we would need to know how the image is actually encoded (Size? How many colour planes? If more than one colour plane, are they interlaced or consecutive? Row major or column major? etc). There is no convention for that.
It would also be useful to have an example of your text file (not a screenshot, the actual file!)

Sign in to comment.

Answers (1)

Sushikshitha C
Sushikshitha C on 29 Jun 2018
Thanks,this helped to display the image....

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!