jsPDF
jsPDF copied to clipboard
fix `getJpegInfo` to skip DHT marker
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.
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.
Linking PR to issue.
Fixes #3318
Hello @MrRio, can you or someone else review and merge this request ? Thanks
We also had this issue and this PR fixes it. Can someone merge this, please?