Unable to decode JFXX jpeg #2478
-
When I try to identify or decode image that contains JFXX marker, I got an exception System.NotSupportedException: 'Unknown App0 Marker - Expected JFIF.' I think it's an expected behavior, because jpeg decoder works only with JFIF identifier, but if I just change JFXX to JFIF with hex editor, then image can be sucessfully decoded. I not sure that this is issue, because it's maybe a MJPEG frame(?), but other tools like image editors, viewers and browsers can display that image, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Looks like JFXX is a valid JFIF extension APP0 marker.
However, the specification seems to say that there should be a JFIF marker before it and other decoders can clearly decode it so we should allow the same. I would say to treat the JFXX marker like the JFIF marker if no JFIF marker is present. |
Beta Was this translation helpful? Give feedback.
Looks like JFXX is a valid JFIF extension APP0 marker.
https://www.w3.org/Graphics/JPEG/jfif3.pdf