[scribus-dev] cmyk(a) from krita and 1.3.3.x

Pierre Marchand pierremarc at oep-h.com
Wed Jul 2 12:54:06 CEST 2008


This morning I’ve faced an irritating problem. Was willing to finally get rid 
of these out-of-gamut colors I finally decided to convert the rgb jpegs 
provided by the client into cmyk tiff. Fired up Krita, saved to tiff, 
conerted to cmyk according to Fogra, etc. Sorfar, so good, but when I loaded 
thes new images into my document, roll drum, they were still considered as 
RGB and then appeared as almost dark greyed squares :S
Here is what ImageMagick says about the file
=========================================================
Image: avdfn.tiff
  Format: TIFF (Tagged Image File Format)
  Class: DirectClass
  Geometry: 2592x1944+0+0
  Type: ColorSeparationMatte
  Endianess: MSB
  Colorspace: CMYK
  Depth: 8-bit
  Channel depth:
    Cyan: 8-bit
    Magenta: 8-bit
    Yellow: 8-bit
    Black: 8-bit
    Alpha: 1-bit
  Channel statistics:
    Cyan:
      Min: 0 (0)
      Max: 234 (0.917647)
      Mean: 106.776 (0.418728)
      Standard deviation: 55.1866 (0.216418)
    Magenta:
      Min: 0 (0)
      Max: 243 (0.952941)
      Mean: 89.7909 (0.352121)
      Standard deviation: 48.0209 (0.188317)
    Yellow:
      Min: 0 (0)
      Max: 245 (0.960784)
      Mean: 110.431 (0.433063)
      Standard deviation: 58.3253 (0.228727)
    Black:
      Min: 0 (0)
      Max: 228 (0.894118)
      Mean: 100.268 (0.393209)
      Standard deviation: 70.4906 (0.276434)
    Opacity:
      Min: 0 (0)
      Max: 0 (0)
      Mean: 0 (0)
      Standard deviation: 0 (0)
  Total ink density: 247%
  Rendering intent: Undefined
  Resolution: 72x72
  Units: PixelsPerInch
  Filesize: 24.2577mb
  Interlace: None
  Background color: white
  Border color: cmyk(223,223,223,0)
  Matte color: grey74
  Transparent color: none
  Page geometry: 2592x1944+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: None
  Orientation: TopLeft
  Signature: d15817ec07ff02d1d56c652000ddfa542a89a75f1a443534c59309ea8a883cb6
  Tiff:artist: Pierre Marchand
  Tiff:document: avdfn.tiff
  Tiff:rows-per-strip: 1
  Tiff:software: ImageMagick 6.3.5 05/26/08 Q16 http://www.imagemagick.org
  Profile-icc: 225824 bytes
    Offset printing, according to ISO/DIS 12647-2:2004, OFCOM, paper type 1 or 
2 = coated art, 115 g/m2, screen                                              
ruling 60 cm-1, positive-acting plates
  Tainted: False
  Version: ImageMagick 6.3.5 05/26/08 Q16 http://www.imagemagick.org
=========================================================

I’m not at all versed in color management, just understand enough to survive:) 
but quickly discovered that the problem was elsewhere, namely "Alpha: 1-bit" 
which leads scribus to delegate loading to libTIFF after the 
fatal "if(samplesperpixel>4)". So I made a Quick&Dirty®™ hack to finish my 
job which I’d like to know if someone could expand to a proper fix :)


-- 
Pierre Marchand
http://www.oep-h.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmjka_133-qd.diff
Type: text/x-diff
Size: 1613 bytes
Desc: not available
Url : http://lists.scribus.net/pipermail/scribus-dev/attachments/20080702/e33ea137/attachment.diff 


More information about the scribus-dev mailing list