jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

fix `getJpegInfo` to skip DHT marker

Open rnigro-rwb opened this issue 1 year ago • 5 comments

Fixes #3318.

getJpegInfo now skips the DHT marker (0xc4) because that marker is not a SOF (start of frame) marker and therefore the segment to follow does not have the size information.

rnigro-rwb avatar Nov 08 '23 17:11 rnigro-rwb

Hello @HackbrettXXX, is it possible to check and merge this fix ? We are multiple people facing this issue.

I can provide an image that creates the issue when used using addImage if you want me to.

Thanks.

HoekWax avatar Nov 15 '23 16:11 HoekWax

Linking PR to issue.

Fixes #3318

rnigro-rwb avatar Nov 15 '23 16:11 rnigro-rwb

Hello @MrRio, can you or someone else review and merge this request ? Thanks

HoekWax avatar Nov 27 '23 08:11 HoekWax

We also had this issue and this PR fixes it. Can someone merge this, please?

racosa avatar May 20 '24 17:05 racosa