Hello!
ImageMagic converts the color space from JPEG CMYK to RGB The processing time is about 160 seconds slow and I am in trouble.
Is there a solution?
Below is the information at time execution.
■Execution environment
OS:HP-UX B.11.31 ia 64
CPU:Itanimu 9350 1.73GHz 6Core
Memory:16378MB (15.99GB)
■ImageMagick
Version:ImageMagick 7.0.7-22 Q16 ia64 2018-01-24 http:www.imagemagick.org
Features:Cipher DPC HDRI Modules
Delegates(built-in):bzlib fontconfig free type jng jpeg lcmd ltdl lzma pangocairo png wmf x xml zlib
Resource limits:
Width:107.374MP
Height:107.374MP
Area:4.29497GP
Memory:2GiB
Map:4GiB
Disk:unlimited
File:3072
Thread:1
Throttle:0
Time:unlimited
■Execution command
convert -profile JapanColor2001Coated.icc -intent Relative -black-point-compensation -colorspace cmyk input.jpg -profile sRGB_IEC61966-2-1_black_scaled.icc -colorspace rgb output.jpg
■Input file
File size:1268239byte
Pixel size:5787x8002
dpi:1500x1500
Bit depth:24
Thanks!
Speed up time to convert color space from CMYK to RGB
-
- Posts: 1
- Joined: 2018-03-29T21:16:44-07:00
- Authentication code: 1152
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Speed up time to convert color space from CMYK to RGB
Your command is weird.
For v7, I suggest you use "magick", not "convert".
You should read the input, process it, then write it.
You don't need "-colorspace" operations. "-colorspace CMYK" probably has no effect, but may take time. "-colorspace RGB" will convert the output to linear, which I suspect you don't want. If you really do want linear, I suggest you use a linear ICC profile instead.
Does your input.jpg already have a profile?
If it still takes a long time, I suggest you provide a link to it.
For v7, I suggest you use "magick", not "convert".
You should read the input, process it, then write it.
You don't need "-colorspace" operations. "-colorspace CMYK" probably has no effect, but may take time. "-colorspace RGB" will convert the output to linear, which I suspect you don't want. If you really do want linear, I suggest you use a linear ICC profile instead.
Code: Select all
magick input.jpg -profile JapanColor2001Coated.icc -intent Relative -black-point-compensation -profile sRGB_IEC61966-2-1_black_scaled.icc output.jpg
If it still takes a long time, I suggest you provide a link to it.
snibgo's IM pages: im.snibgo.com