Search found 25 matches

by Roman80
2017-08-28T23:27:47-07:00
Forum: Users
Topic: How to correct inverted CMYK image
Replies: 14
Views: 14049

Re: How to correct inverted CMYK image

What i found out is that the embedded jpg image is encoded. So, the question is how I could decode it with ImageMagick? Here is the description from the PDF reference: If the image has three color components, transform RGB values to YUV before encoding and from YUV to RGB after decoding. If the imag...
by Roman80
2017-08-28T23:09:31-07:00
Forum: Users
Topic: How to correct inverted CMYK image
Replies: 14
Views: 14049

Re: How to correct inverted CMYK image

What we want is to 1.) extract the image and ICC from the pdf and 2.) convert or modify it afterwards with ImageMagick Step 1.) is done, the problem is the step 2.). With an RGB image/pdf it works like a charm. If I understand it correctly, then there is no way to directly convert the extracted CMYK...
by Roman80
2017-08-28T21:39:51-07:00
Forum: Users
Topic: How to correct inverted CMYK image
Replies: 14
Views: 14049

Re: How to correct inverted CMYK image

I've attached those pdf files. I extracted it with our lightweight pdf parser which reads the required things without transformation according to the pdf 1-7 reference. https://www.google.at/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiq0YXZz_vV...
by Roman80
2017-08-28T15:40:50-07:00
Forum: Users
Topic: How to correct inverted CMYK image
Replies: 14
Views: 14049

Re: How to correct inverted CMYK image

It comes from a photoshop PDF document, so the icc was embedded.
If I extract the same from an rgb image/PDF, then it works.
I will try the negate command

Regards
by Roman80
2017-08-28T12:29:16-07:00
Forum: Users
Topic: How to correct inverted CMYK image
Replies: 14
Views: 14049

How to correct inverted CMYK image

Hello,

i've extracted the jpg and icc profile from a pdf. The image seems to have inverted colors. How could i correct the image color?

Thanks in advance
Regards

https://www.dropbox.com/s/mbo7z95o1jgb1 ... k.jpg?dl=0
https://www.dropbox.com/s/7ispvjldpfvvb ... k.icc?dl=0
by Roman80
2017-08-04T08:47:57-07:00
Forum: Bugs
Topic: False Grayscale detection for CMYK image
Replies: 8
Views: 8487

Re: False Grayscale detection for CMYK image

When you call SetImageGray() it returns as Grayscale, and this is wrong. I narrowed it down to the function IsPixelGray(). See my first post

Regards
Roman
by Roman80
2017-08-04T07:58:53-07:00
Forum: Bugs
Topic: False Grayscale detection for CMYK image
Replies: 8
Views: 8487

Re: False Grayscale detection for CMYK image

You have uploaded two identical files, both encoded as sRGB. No, they are not identical. Have a look at the comparison: https://www.dropbox.com/s/qddet5vqwtgr911/compare_test_file.jpg?dl=0 The left image is the CMYK the right image is RGB. You can see the difference for example by the color green, ...
by Roman80
2017-08-03T23:09:12-07:00
Forum: Bugs
Topic: False Grayscale detection for CMYK image
Replies: 8
Views: 8487

Re: False Grayscale detection for CMYK image

Which free image hosting service could you recommend?
by Roman80
2017-08-03T21:39:24-07:00
Forum: Bugs
Topic: False Grayscale detection for CMYK image
Replies: 8
Views: 8487

False Grayscale detection for CMYK image

Hello, i tested a CMYK image with 7.0.6-4 version of IM under Windows. A RGB color image was detected as 24 bit RGB, the same image but with CMYK colorspace is detected as Grayscale. I could narrow down the problem to SetImageGray() -> IdentifyImageGray() -> IsPixelGray() -> this function should ret...