Discussion:
Format for convert command.
john Culleton
2011-09-24 15:20:05 UTC
Permalink
I use ImageMagick infrequently to convert from RGB to CMYK color model.
This line gives errors:
convert 9781600191022.MAIN.jpeg -colorspace cmyk foo.tiff

Can anyone spot an obvious error?
--
John Culleton
Wexford Press
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
john Culleton
2011-09-24 16:28:28 UTC
Permalink
On Sat, 24 Sep 2011 11:20:05 -0400
Post by john Culleton
I use ImageMagick infrequently to convert from RGB to CMYK color
convert 9781600191022.MAIN.jpeg -colorspace cmyk foo.tiff
Can anyone spot an obvious error?
The first error message may give a clue:
Wrong JPEG library version: library is 80, caller expects 62
`9781600191022.MAIN.jpeg' @ error/jpeg.c/EmitMessage/235.

But when I do a find on libjpeg* I get:
/usr/lib/libjpeg.so.8
/usr/lib/libjpeg.a
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so.62.0.0
/usr/lib/java/lib/i386/libjpeg.so
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.8.0.1
/usr/lib/libjpeg.so.62
/usr/share/libjpeg.so.8
/usr/share/libjpeg.a
/usr/share/libjpeg.so.62.0.0

But let me get the command line syntax correct first. If that is OK
then perhaps I can work on the lib problem.
--
John Culleton
Wexford Press
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
Fred Weinhaus
2011-09-24 17:14:03 UTC
Permalink
The command line is fine as long as tiff supports cmyk which I think
it does. Your problem is a conflict between the two libjpeg delegate
library version you have installed. However, I am not an expert on
delegate libraries, so I will defer to any one who knows for sure.
Post by john Culleton
convert 9781600191022.MAIN.jpeg -colorspace cmyk foo.tiff
Continue reading on narkive:
Loading...