Bodmer / JPEGDecoder

A JPEG decoder library
Other
220 stars 64 forks source link

I need help of decode jpeg to get demension #70

Closed HanalogInstruments closed 1 year ago

HanalogInstruments commented 2 years ago

Hi,

I have some jpeg corupted without file header information, on raw data afte FFDA+12 bytes, how can i read the raw data demension pixel by decode?

Bodmer commented 1 year ago

If the file is corrupted then the image pixel size information.ation in the header may be corrupted and thus will give wrong values. The header structure can be found on Wikipedia.