Page 1 of 1

Regressión of conversion from TIFF to JPG

Posted: 2019-09-10T15:14:21-07:00
by vtamara
Problem converting TIFF to JPG with convert 6.9.10-36 on OpenBSD/adJ. It doesnt' happen with convert version 6.9.10-10.

I uploaded an example of an image that shows the problem:
https://github.com/vtamara/prob-image-m ... F?raw=true

If I run with 6.9.10-36 it shows:
$ convert 101872_127179.TIF /tmp/a.jpg
convert: Unknown field with tag 34016 (0x84e0) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34017 (0x84e1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34018 (0x84e2) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34019 (0x84e3) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34020 (0x84e4) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34021 (0x84e5) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34022 (0x84e6) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34023 (0x84e7) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34024 (0x84e8) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34025 (0x84e9) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34026 (0x84ea) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34027 (0x84eb) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34028 (0x84ec) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34029 (0x84ed) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: Unknown field with tag 34030 (0x84ee) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/943.
convert: 101872_127179.TIF: Null count for "Tag 34022" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/608.
convert: 101872_127179.TIF: Null count for "Tag 34025" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/608.
convert: 101872_127179.TIF: Null count for "Tag 34026" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/608.
convert: no images defined `/tmp/a.jpg' @ error/convert.c/ConvertImageCommand/3258.

And it doesn't produce /tmp/a.jpg

Re: Regressión of conversion from TIFF to JPG

Posted: 2019-09-10T16:45:36-07:00
by fmw42
Your image fails to convert for me on IM 6.9.10.36, IM 6.9.10.64 and IM 7.0.8.64 (and other IM 6 versions) Q16 Mac OSX Sierra.


I get

Code: Select all

convert -quiet 101872_127179.TIF 101872_127179.JPG
convert: 101872_127179.TIF: Null count for "Tag 34022" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/608.
convert: 101872_127179.TIF: Null count for "Tag 34025" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/608.
convert: 101872_127179.TIF: Null count for "Tag 34026" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/608.
convert: no images defined `101872_127179.JPG' @ error/convert.c/ConvertImageCommand/3258.


But it does convert with 6.9.10.14 Q16 Mac OSX even with similar errors other than the last error above.

Code: Select all

convert -quiet 101872_127179.TIF 101872_127179.JPG
convert: 101872_127179.TIF.tiff: Null count for "Tag 34022" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/570.
convert: 101872_127179.TIF.tiff: Null count for "Tag 34025" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/570.
convert: 101872_127179.TIF.tiff: Null count for "Tag 34026" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/570.

It also can be opened with Mac Preview.