Loading images in Gray/CMYK color space

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading images in Gray/CMYK color space

F.J.Cruz
Hi everybody,

Which sould digiKam behaviour be if the user try to load an image in Gray or
CMYK color space?

Actually it seems to be this:

- 8 bits Gray/CMYK: the images are loaded properly, although digiKams "sees"
as an alpha layer the 4th channel of the cmyk image. Color management seems
to be used correctly with the Gray image, but not with CMYK one. This is
possible only in my machine with a modified IccTransform class.

- 16 Gray/CMYK: none of the images are handled correctly.

I have to know how digiKam have to handle images in this color spaces because
I want to polish and finish the code for color management stuff.


PD to Toma: I'll fix the lenght of the code lines and the other stuff on setup
dialog ;-).

PD: I'll try to upload some images on this color spaces to
http://digikam3rdparty.free.fr/Images_2_Test_DImg/TIFF/

Paco.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Loading images in Gray/CMYK color space

Gilles Caulier-2
Le Lundi 13 Février 2006 16:15, F.J.Cruz a écrit :
> Hi everybody,
>
> Which sould digiKam behaviour be if the user try to load an image in Gray
> or CMYK color space?
>
> Actually it seems to be this:
>
> - 8 bits Gray/CMYK: the images are loaded properly, although digiKams
> "sees" as an alpha layer the 4th channel of the cmyk image.

Witch file format you use ? TIFF, PNG, or JPEG ?

> Color
> management seems to be used correctly with the Gray image, but not with
> CMYK one. This is possible only in my machine with a modified IccTransform
> class.
>
> - 16 Gray/CMYK: none of the images are handled correctly.

PNG, TIFF ?

>
> I have to know how digiKam have to handle images in this color spaces
> because I want to polish and finish the code for color management stuff.
>
>
> PD to Toma: I'll fix the lenght of the code lines and the other stuff on
> setup dialog ;-).
>
> PD: I'll try to upload some images on this color spaces to
> http://digikam3rdparty.free.fr/Images_2_Test_DImg/TIFF/

Ok. let's me trying to play with these images. I have never tested CMYK images
with DImg::loader...

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Loading images in Gray/CMYK color space

F.J.Cruz
In reply to this post by F.J.Cruz
El Lunes, 13 de Febrero de 2006 16:15, F.J.Cruz escribió:

> Hi everybody,
>
> Which sould digiKam behaviour be if the user try to load an image in Gray
> or CMYK color space?
>
> Actually it seems to be this:
>
> - 8 bits Gray/CMYK: the images are loaded properly, although digiKams
> "sees" as an alpha layer the 4th channel of the cmyk image. Color
> management seems to be used correctly with the Gray image, but not with
> CMYK one. This is possible only in my machine with a modified IccTransform
> class.
>
> - 16 Gray/CMYK: none of the images are handled correctly.
>
> I have to know how digiKam have to handle images in this color spaces
> because I want to polish and finish the code for color management stuff.
>
>
> PD to Toma: I'll fix the lenght of the code lines and the other stuff on
> setup dialog ;-).
>
> PD: I'll try to upload some images on this color spaces to
> http://digikam3rdparty.free.fr/Images_2_Test_DImg/TIFF/
>
> Paco.
> _______________________________________________


 The images uploaded are:

- 8 bits: vps-cmyk.tif and vps-gray.tif

- 16 bits: vpscmyk-phs-16.tif and gray-16bit-noicc.tif


You have to remember that you must to avoid any transform using color profiles
(you can disabled color management in setup).

Paco.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Loading images in Gray/CMYK color space

F.J.Cruz
In reply to this post by Gilles Caulier-2
El Lunes, 13 de Febrero de 2006 16:15, Gilles Caulier escribió:

> Le Lundi 13 Février 2006 16:15, F.J.Cruz a écrit :
> > Hi everybody,
> >
> > Which sould digiKam behaviour be if the user try to load an image in Gray
> > or CMYK color space?
> >
> > Actually it seems to be this:
> >
> > - 8 bits Gray/CMYK: the images are loaded properly, although digiKams
> > "sees" as an alpha layer the 4th channel of the cmyk image.
>
> Witch file format you use ? TIFF, PNG, or JPEG ?
>
> > Color
> > management seems to be used correctly with the Gray image, but not with
> > CMYK one. This is possible only in my machine with a modified
> > IccTransform class.
> >
> > - 16 Gray/CMYK: none of the images are handled correctly.
>
> PNG, TIFF ?
>

Sorry, I forget to say all the images are tiff files.

Paco.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Loading images in Gray/CMYK color space

Gilles Caulier-2
In reply to this post by F.J.Cruz
Le Lundi 13 Février 2006 16:26, F.J.Cruz a écrit :

> El Lunes, 13 de Febrero de 2006 16:15, F.J.Cruz escribió:
> > Hi everybody,
> >
> > Which sould digiKam behaviour be if the user try to load an image in Gray
> > or CMYK color space?
> >
> > Actually it seems to be this:
> >
> > - 8 bits Gray/CMYK: the images are loaded properly, although digiKams
> > "sees" as an alpha layer the 4th channel of the cmyk image. Color
> > management seems to be used correctly with the Gray image, but not with
> > CMYK one. This is possible only in my machine with a modified
> > IccTransform class.
> >
> > - 16 Gray/CMYK: none of the images are handled correctly.
> >
> > I have to know how digiKam have to handle images in this color spaces
> > because I want to polish and finish the code for color management stuff.
> >
> >
> > PD to Toma: I'll fix the lenght of the code lines and the other stuff on
> > setup dialog ;-).
> >
> > PD: I'll try to upload some images on this color spaces to
> > http://digikam3rdparty.free.fr/Images_2_Test_DImg/TIFF/
> >
> > Paco.
> > _______________________________________________
>
>  The images uploaded are:
>
> - 8 bits: vps-cmyk.tif and vps-gray.tif
>
> - 16 bits: vpscmyk-phs-16.tif and gray-16bit-noicc.tif
>
>
> You have to remember that you must to avoid any transform using color
> profiles (you can disabled color management in setup).

OK. i can reproduce the problem. I will hack DImg with these files...

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel