Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I can't understand why
Code: Select all
mogrify -verbose -colorspace gray -resize "2130x2400>" -density "300x300" -strip -compress "LZW" *.tif
doesn't leave me with a directory of only grayscale .tifs. The resizing works fine.
I've had this problem for a while now, meaning with all of the recent 8-bit windows-releases I tried it with, so it must be a mistake of mine.
Can anyone help me to mogrify my files to grayscale?
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
That should work. However I think the difference between -type and colorspace is currently very confusing. neither is a proper operator in IM.
They are hold over from the IM version 5 days and probably needs some bug fixing to properly define them.
I am currently hitting simular problems in IM examples where I had to force
images into greyscape using a slow -fx intensity, as using -colorspace stuffs up later operations.
As such I would say some bug fixing is needed in this area by someone who knows what is going on internally in IM.