save CMYK image into JPEG format

555 views1 repliesLast post: 12/6/2005
Hi guys,

I've a problem with CMYK e JPEG file format:

I'm using python for develop a program which generate an image file from a PIL RGB image.

the problem is when i must save my image CMYK into a JPEG file. well, the result is that my new image is only black!
but if I save my file in a .tif file, I'll see it well.

I don't know why! I'm desperate! Please help me!!

thx
#1
In article ,
wrote:

the problem is when i must save my image CMYK into a JPEG file. well, the result is that my new image is only black!
but if I save my file in a .tif file, I'll see it well.

I don't know why! I'm desperate! Please help me!!

There isn't really a standard way to save a CMYK JPEG; the original JPEG standard supported only RGB color. Adobe extended the standard to include CMYK with a semi-private APP13 tag; you might try taking apart a Photoshop CMYK JPEG and comparing it to the JPEG you're writing.

Note that a CMYK JPEG can not be displayed in Web browsers and most other programs.

--
Art, photography, shareware, polyamory, literature, kink: all at http://www.xeromag.com/franklin.html
#2