2

I have a lot of tif images in a directory. So I try to convert them into jpg format.

I use this command : mogrify -format jpg *.tif

But I get an error... an error for each image in fact:

mogrify: 2281.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/746.

Maybe I am doing something wrong... Does anyone have an idea?

Kevin
  • 40,087
  • 16
  • 88
  • 112
Raphaël
  • 543
  • 1
  • 6
  • 16
  • @Sardathrion i don't see how that's going to be useful to the OP. not saying you might not have a point, but i really don't get what you're talking about. mogrify *is* convert, just different syntax. consider adding more information to your comment? – ixtmixilix Jan 20 '12 at 14:44
  • `convert` (convert and modify images) vs `mogrify` (in-place batch processing) from the documentation. I always used mogrify to change things in the images and convert to change the size/format. Mogrify can be dangerous and lead to strangeness as described here: http://www.imagemagick.org/Usage/basics/#mogrify. Sure, you can use mogrify and that's not a real answer the the question, thus a mere comment. – Sardathrion - against SE abuse Jan 20 '12 at 15:06

2 Answers2

2

This is an informational error, are you sure that the file has been not converted?

http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16390

tmow
  • 1,245
  • 11
  • 17
1

That tag marks private information about the image for Adobe Photoshop. Try flattening the image before exporting/saving.

Ignacio Vazquez-Abrams
  • 44,857
  • 7
  • 93
  • 100