Skip to main content
Inspiring
April 29, 2011
Answered

JPG CMYK

  • April 29, 2011
  • 1 reply
  • 1640 views

Hi All

I am using DCT filter

I tried to implement JPG with CMYK into my PS application using image command with dictionary .

Here are  the correct parameterers

/ImageType 1

/Width  www

/Height hhh

/ImageMatrix  [ [Width  0 0 Height 0 Height]

/DataSource   currentfile  /DCTDecode filter

/BitsPerComponent  8

/Decode     [0 1 0 1 0 1 0 1 ]

It didn't work - it display the JPG as reverse balack

When I use the same way with slight different parameters to display JPG RGB and JPG grayscale  IT WORKS FINE.

Only CMYK is not .

Adobe claimed this DCTDecode filter  support the JPG format , but perhaps in CMYK format there was some development! and the DCT filter is not supporting the latest JPG with CMYK ?

here is the sample image and the result  output

Regards

Adam.

This topic has been closed for replies.
Correct answer Helge Blischke

The ink values of the image are inverted, so you have to specify

/Decode     [1 0 1 0 1 0 1 0 ]

to get the true image.

1 reply

Helge BlischkeCorrect answer
Participating Frequently
April 29, 2011

The ink values of the image are inverted, so you have to specify

/Decode     [1 0 1 0 1 0 1 0 ]

to get the true image.

Dr.AdamAuthor
Inspiring
May 13, 2011

Thanks It works