benchmark example/request - color convert to cmyk, scale up and raster a giant rgb tiff
Posted: 2016-09-28T09:04:31-07:00
Hello Folks,
this is my first post after trying to achieve it on my own. But I just don't get what I need.
A little help would be appreciated.
Here are the specs of my hugh source file:
TIFF Directory at offset 0xc8cd7352 (3368907602)
Image Width: 239286 Image Length: 4693
Resolution: 4616, 4616 pixels/inch
Bits/Sample: 8
Sample Format: unsigned integer
Compression Scheme: None
Photometric Interpretation: RGB color
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 3
Rows/Strip: 1
Planar Configuration: single image plane
SubIFD Offsets: 3368951976
The source file contains an image/scan of a cmyk ink jet printout with pure primary colors (no color mixing of any sort, quasi pure spot cmyk). Also the src file is nearly sRGB but false colors wouldn't really matter in the output. It's more a matter of geometry (preserving faint geometric details) and ideally preserving "pure" cmyk colors in the output, because of geometry considerations.
The output needed is defined in the following:
1) four files, one for each separation of CMYK with the following tiff spec (don't consider the actual size, it's just a format example, resolution is as needed/printed)
TIFF Directory at offset 0x3f45122 (66343202)
Subfile Type: (0 = 0x0)
Image Width: 22658 Image Length: 23418
Resolution: 600, 800 pixels/inch
Bits/Sample: 1
Compression Scheme: None
Photometric Interpretation: min-is-white
Samples/Pixel: 1
Rows/Strip: 23418
Planar Configuration: single image plane
please mind the congruency of "Image Length" with "Rows/Strip". I could correct/reformat that later if it is to troublesome in the first place.
the longer edge/side of the output needs to be in the 800dpi direction!
2) the already hugh input file should first be upscaled 5 times (to preserve the details, single pixel lines overpainted etc.)
And yes, I'm aware of the output size of about 7 meters in the longer direction. It wouldn't be a problem if it where 14 meters if possible.
3) converted to cmyk with a profile e.g. ISOcoated_v2_300_eci.icc (or the printers four channel profile I'd provide)
4)rastered/dithered with e.g. error diffusion or something more appropriate to preserve geometric details
5) output to the four separation (cmyk) files 1-bit as defines in 1)
I've already tried quiet some parameter combinations but didn't achieve the result I'd need. The best approach I found until now was the following but also didn't work: https://poizan.dk/blog/2014/02/28/monoc ... agemagick/
ImageMagick version: 6.5.4-7 2012-04-10 Q16 OpenMP on Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
but could also provide version 7.0.3-1 Q16 x86_64 if preferred
Version: ImageMagick 7.0.3-1 Q16 x86_64 2016-09-20 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib jng jpeg lcms ltdl lzma pangocairo png ps tiff webp wmf x xml zlib
Thanks in advance four all your help
Magier0815
ps: wouldn't this be quiet a benchmark for ImageMagick?
this is my first post after trying to achieve it on my own. But I just don't get what I need.
A little help would be appreciated.
Here are the specs of my hugh source file:
TIFF Directory at offset 0xc8cd7352 (3368907602)
Image Width: 239286 Image Length: 4693
Resolution: 4616, 4616 pixels/inch
Bits/Sample: 8
Sample Format: unsigned integer
Compression Scheme: None
Photometric Interpretation: RGB color
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 3
Rows/Strip: 1
Planar Configuration: single image plane
SubIFD Offsets: 3368951976
The source file contains an image/scan of a cmyk ink jet printout with pure primary colors (no color mixing of any sort, quasi pure spot cmyk). Also the src file is nearly sRGB but false colors wouldn't really matter in the output. It's more a matter of geometry (preserving faint geometric details) and ideally preserving "pure" cmyk colors in the output, because of geometry considerations.
The output needed is defined in the following:
1) four files, one for each separation of CMYK with the following tiff spec (don't consider the actual size, it's just a format example, resolution is as needed/printed)
TIFF Directory at offset 0x3f45122 (66343202)
Subfile Type: (0 = 0x0)
Image Width: 22658 Image Length: 23418
Resolution: 600, 800 pixels/inch
Bits/Sample: 1
Compression Scheme: None
Photometric Interpretation: min-is-white
Samples/Pixel: 1
Rows/Strip: 23418
Planar Configuration: single image plane
please mind the congruency of "Image Length" with "Rows/Strip". I could correct/reformat that later if it is to troublesome in the first place.
the longer edge/side of the output needs to be in the 800dpi direction!
2) the already hugh input file should first be upscaled 5 times (to preserve the details, single pixel lines overpainted etc.)
And yes, I'm aware of the output size of about 7 meters in the longer direction. It wouldn't be a problem if it where 14 meters if possible.
3) converted to cmyk with a profile e.g. ISOcoated_v2_300_eci.icc (or the printers four channel profile I'd provide)
4)rastered/dithered with e.g. error diffusion or something more appropriate to preserve geometric details
5) output to the four separation (cmyk) files 1-bit as defines in 1)
I've already tried quiet some parameter combinations but didn't achieve the result I'd need. The best approach I found until now was the following but also didn't work: https://poizan.dk/blog/2014/02/28/monoc ... agemagick/
ImageMagick version: 6.5.4-7 2012-04-10 Q16 OpenMP on Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
but could also provide version 7.0.3-1 Q16 x86_64 if preferred
Version: ImageMagick 7.0.3-1 Q16 x86_64 2016-09-20 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib jng jpeg lcms ltdl lzma pangocairo png ps tiff webp wmf x xml zlib
Thanks in advance four all your help
Magier0815
ps: wouldn't this be quiet a benchmark for ImageMagick?