Converting from grayscale to RGB colorspaces?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Im is probably trying to be 'smart' and knows that the image contains only grey colors, so sames only to a grey TIF format.
It does that sort of output optimization.
You could try making some pixel slightly off-grey by the tinyest amount
It does that sort of output optimization.
You could try making some pixel slightly off-grey by the tinyest amount
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
There may be, but I don't know enough of internals to know.
There are a lot of little -define options that you can apply to control the output API handlers, but these are all specific to each format, and the API library they are using.
For example controls the amount of striping in a output TIFF file. These however don't seem to be documented outside the IM source however (if they exist yet).
I have saved all the ones I do know about in IM Examples, Commn File Formats, Miscelenious Notes, but unless it is mentioned on the net I won't know about it.
You may like to mail christy for some more info -- and please share anything you find so I can record it.
There are a lot of little -define options that you can apply to control the output API handlers, but these are all specific to each format, and the API library they are using.
For example
Code: Select all
-define tiff:rows-per-strip=8
I have saved all the ones I do know about in IM Examples, Commn File Formats, Miscelenious Notes, but unless it is mentioned on the net I won't know about it.
You may like to mail christy for some more info -- and please share anything you find so I can record it.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
I thought -type was a setting for image creation (reading), didn't know it is also an output setting, or is this the case only with TIFF files?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Then how does -type differ from -colorspace
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Okay so if these are the basically the same, is their some reason the two options can't be merged into a single operator with approparite aliasing for backward compatibility?
EG: why two seperate operators?
EG: why two seperate operators?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Okay thanks.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/