Regressión of conversion from TIFF to JPG

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
vtamara
Posts: 1
Joined: 2019-09-10T14:22:58-07:00
Authentication code: 1152

Regressión of conversion from TIFF to JPG

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Regressión of conversion from TIFF to JPG

Post 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.
Post Reply