Jpeg with ICC profile appears yellow

View: New views
5 Messages — Rating Filter:   Alert me  

Jpeg with ICC profile appears yellow

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi list,

When I use attached Jpeg file in XSL-FO to get a PDF, the result show
the picture with yellow dominant color.
The file is saved under Photoshop with adobe RVB profile (1998).

Checked with FOP 0.95beta, latest SVN 0.95 branch, latest SVN trunk.
Both Adobe and Foxit readers show same result.
I use JDK 1.6.0_06.

I get the same result:
 - whatever the value of <disable-srgb-colorspace> (true or false)
 - when using ICC CoatedFOGRA27.icc (from
C:\WINDOWS\system32\spool\drivers\color on windows machine) in config
file
 - when enabling PDF/X

Note that I get a expected result if I remove ICC profile from file.

Unfortunately, I cannot remove the profile in the production
environment.

The test image is an alteration of the following image, free of charge:
http://wir.free.fr/Wir/images/street_life/des_gens___people/dscf4369.jpg

Any idea?

Pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

dscf.jpg (175K) Download Attachment

Re: Jpeg with ICC profile appears yellow

by Peter Coppens :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Any idea?

This might be the same problem I discussed in a private exchange with
Jeremias a few weeks back. There is a problem with how color profiles are
copied. Conclusion at that time was

"Apparently the embedded ICC profile in the pdf file that FOP creates
is wrong. The last four bytes are nul iso the correct values. This is
the Z component of the BlueColorant Tag. The result is a yellow shift."

Now, I thought issue was fixed in trunk, but it might be the trunk or latest
of xmlgraphics. Don't have the details on that.

Hth,

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Parent Message unknown RE: Jpeg with ICC profile appears yellow

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Message d'origine-----
> De : Peter Coppens [mailto:pc.subscriptions@...]
> Envoyé : mercredi 25 juin 2008 12:14
>
> > Any idea?
>
> This might be the same problem I discussed in a private exchange with
> Jeremias a few weeks back. There is a problem with how color
> profiles are
> copied. Conclusion at that time was
>
> "Apparently the embedded ICC profile in the pdf file that FOP creates
> is wrong. The last four bytes are nul iso the correct values. This is
> the Z component of the BlueColorant Tag. The result is a
> yellow shift."
>
> Now, I thought issue was fixed in trunk, but it might be the
> trunk or latest
> of xmlgraphics. Don't have the details on that.
>
> Hth,
>
> Peter

Thx, Peter.
As I said, I've checked it against the latest trunk (rev 671127), and I get same issue.

Pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: Jpeg with ICC profile appears yellow

by Jeremias Maerki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pascal, please update xmlgraphics-commons.jar to version 1.3.1:
http://xmlgraphics.apache.org/commons/changes.html#version_1.3.1

I haven't updated the JAR in SVN, yet. I'll do that ASAP.

On 25.06.2008 13:14:16 Pascal Sancho wrote:

> > -----Message d'origine-----
> > De : Peter Coppens [mailto:pc.subscriptions@...]
> > Envoyé : mercredi 25 juin 2008 12:14
> >
> > > Any idea?
> >
> > This might be the same problem I discussed in a private exchange with
> > Jeremias a few weeks back. There is a problem with how color
> > profiles are
> > copied. Conclusion at that time was
> >
> > "Apparently the embedded ICC profile in the pdf file that FOP creates
> > is wrong. The last four bytes are nul iso the correct values. This is
> > the Z component of the BlueColorant Tag. The result is a
> > yellow shift."
> >
> > Now, I thought issue was fixed in trunk, but it might be the
> > trunk or latest
> > of xmlgraphics. Don't have the details on that.
> >
> > Hth,
> >
> > Peter
>
> Thx, Peter.
> As I said, I've checked it against the latest trunk (rev 671127), and I get same issue.
>
> Pascal
>



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Parent Message unknown RE: Jpeg with ICC profile appears yellow

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

THX, Jeremias,
Works fine now either with FOP 0.95beta or FOP trunk.
Pascal

> -----Message d'origine-----
> De : Jeremias Maerki [mailto:dev@...]
> Envoyé : jeudi 26 juin 2008 08:25
>
> Pascal, please update xmlgraphics-commons.jar to version 1.3.1:
> http://xmlgraphics.apache.org/commons/changes.html#version_1.3.1
>
> I haven't updated the JAR in SVN, yet. I'll do that ASAP.
>
> On 25.06.2008 13:14:16 Pascal Sancho wrote:
> > > -----Message d'origine-----
> > > De : Peter Coppens [mailto:pc.subscriptions@...]
> > > Envoyé : mercredi 25 juin 2008 12:14
> > >
> > > > Any idea?
> > >
> > > This might be the same problem I discussed in a private
> exchange with
> > > Jeremias a few weeks back. There is a problem with how color
> > > profiles are
> > > copied. Conclusion at that time was
> > >
> > > "Apparently the embedded ICC profile in the pdf file that
> FOP creates
> > > is wrong. The last four bytes are nul iso the correct
> values. This is
> > > the Z component of the BlueColorant Tag. The result is a
> > > yellow shift."
> > >
> > > Now, I thought issue was fixed in trunk, but it might be the
> > > trunk or latest
> > > of xmlgraphics. Don't have the details on that.
> > >
> > > Hth,
> > >
> > > Peter
> >
> > Thx, Peter.
> > As I said, I've checked it against the latest trunk (rev
> 671127), and I get same issue.
> >
> > Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

LightInTheBox - Buy quality products at wholesale price