I have a B0 poster done as Inkscape SVG, which I'd want to rasterize to a CMYK psd @ 600 dpi. So, first I do:
Code: Select all
$ inkscape --file=infile.svg --export-area-page --export-dpi=600 --export-png=outfile.png
DPI: 600
Background RRGGBBAA: ffffffff
Area 0:0:2505,12:3543,31 exported to 16701 x 23622 pixels (600 dpi)
Bitmap saved as: outfile.png
So, then I use `convert` to generate a CMYK psd:
Code: Select all
$ convert -monitor -verbose outfile.png -colorspace cmyk outfile.psd
load image[outfile.png]: 23621 of 23622, 100% complete
outfile.png PNG 16701x23622 16701x23622+0+0 8-bit DirectClass 31.14MB 53.000u 1:22.649
negate image[outfile.psd]: 23621 of 23622, 100% complete
save images[outfile.psd]: 5 of 6, 100% complete
negate image[outfile.psd]: 23621 of 23622, 100% complete
outfile.png=>outfile.psd PNG 16701x23622 16701x23622+0+0 8-bit DirectClass 1.9726GB 323.150u 27:17.179
The problem is when I try to run `identify`, to check that the PSD file is really in CMYK color mode. Without a 'verbose' switch, that information is not displayed:
Code: Select all
$ identify -define unique=true outfile.psd
outfile.psd PSD 16701x23622 16701x23622+0+0 8-bit DirectClass 1.9726GB 2.730u 0:01.459
Code: Select all
identify -verbose outfile.psd
.. then `identify` seemingly reads through *every* pixel in the image (possibly because, as far as I remember, `identify -verbose` also displays some sort of a histogram of the image) - and this takes forever as well (so far have been waiting at least 30 mins )
So, my question is - is there a way to persuade `identify` to display the color mode (or profile ?! i.e. CMYK, RGB) of an image, without it iterating through all pixels?
A subquestion is - is it possible to somehow get a compressed PSD as output of the `convert` process?
Thanks in advance for any answers,
Cheers!