x/image/tiff: no support for cJPEG or cJPEGOld #23115
What did you do?
tried to decode a jpeg compressed tiff or a canon raw (weird tiff with jpeg data)
What did you expect to see?
the image to be decoded correctly without errors.
What did you see instead?
with a cr2:
The text was updated successfully, but these errors were encountered:
I added some code to x/image/tiff/reader.go that allows the module to correctly load cr2 files:
however decoding cJPEG like this causes this error:
I would create a pull request for the cJPEGOld code, however I have no "old" jpeg formatted tiffs to test it with other than cr2s.