[magick-users] Can I force mogrify to rewrite TIFF?

Anthony Thyssen anthony at griffith.edu.au
Wed May 28 23:40:11 PDT 2008


Adam Rosi-Kessel on  wrote...
| I have several TIFFs that can be displayed by some applications but not
| others. I'm not sure exactly what is wrong with them, but if I use
| mogrify to change the resolution by even one pixel, they work fine in
| all applications. If I run mogrify with the same resolution, however,
| they still don't work in certain applications. I don't know whether the
| problem is with the TIFF or the applications, but if I could just
| "rewrite" the TIFF without changing the resolution that would solve the
| problem for me.
| 
| Is there any ImageMagick command line that will just regenerate (or do
| whatever is happening when I change the resolution slightly) the TIFF
| without changing the resolution?
| 
You can force IM to re-write a image, rather than pass it through
unchanged, by using the -taint  option.

This marks the image as 'tainted' and thus modified, and needing to be
written out to disk.

See http://imagemagick.org/Usage/files/##taint

above will be corrected in a few days to...
    http://imagemagick.org/Usage/files/#taint

  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
    "Don't worry about the world coming to an end today.
     It's already tomorrow in Australia."
                            -- Charles Schultz (in the USA of course)
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list