[Scribus] [announce] CMYK Patch gets image support
Thu Feb 10 12:58:21 CET 2005
On Thu, Feb 10, 2005 at 12:50:00PM +0100, Kai-Uwe Behrmann wrote:
> Am 10.02.05, 21:45 +1030 schrieb David Purton:
> > It might also be possible to pass TYPE_BGRA_8 to little CMS and leave
> > things in the QImage order. But in this case you must swap your loaded
> > tiff, so you still have messing around. *shrug*
> You can pass TYPE_CMYK_8/16 as input and TYPE_BGRA_8 as output to lcms
> for the CMYKtoRGB conversion. It should give an small speed advantage to
> touch data it in the first place and avoid the later Qt swab call.
I did consider doing things this way, but there are a lot of
combinations depending on whether the tiff is RGB or CMYK, whether
colour management is enabled, whether managed transforms are requested,
whether the image is in some other format handled by QImage directly,
There are already a lot of if() calls around the swapRGB() calls, and I
think I made a code readibility call on it, but I'll look again and see
if I can do it better.
dcpurton at chariot.net.au
For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
2 Chronicles 16:9a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: Digital signature
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050210/cd0b4ae0/attachment.pgp
More information about the scribus