Johannes, I think I've managed to fix the problem but I'm not sure. All JPEG images I usually test with work fine. Yours, too. I even managed to fix a problem for when GhostScript is used to process the PDF (CMYK JPEGs were almost black). I'd appreciate if you could verify that FOP Trunk (from Subversion) works as expected now for JPEG images containing ICC profiles.
On 22.03.2006 17:36:36 Johannes Becker wrote: > Hi, > > Thanks :) > > Cheers > Jonny > > > >From: Jeremias Maerki <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: Re: Invalid ICC profile: Problem with external graphic in 0.91beta > >Date: Wed, 22 Mar 2006 17:22:23 +0100 > > > >Don't bother with FOP Trunk, yet. I can reproduce it. Looks like a > >problem with the code that tries to do the byte alignment in > >org.apache.fop.images.JpegImage. Maybe I have time tomorrow to fix it. > >No promises. > > > >It wasn't a problem in this case, but if I say FO file, I mean FO file, > >because an XSLT file without an XML file doesn't help. > > > >On 22.03.2006 16:48:49 Johannes Becker wrote: > > > Hi, > > > > > > thanks for your quick response. Here the jpg and xsl. > > > > > > >In the meantime, would you please verify if the problem persists with > > > >FOP Trunk (from Subversion)? > > > I'll try this later. Don't have subversion installed at work. I'll give > >back > > > feedback when I get home. > > > > > > Cheers > > > Jonny > > > > > > > > > > > > > > > >From: Jeremias Maerki <[EMAIL PROTECTED]> > > > >Reply-To: [email protected] > > > >To: [email protected] > > > >Subject: Re: Invalid ICC profile: Problem with external graphic in > >0.91beta > > > >Date: Wed, 22 Mar 2006 16:36:09 +0100 > > > > > > > >If you provide everything that is necessary to reproduce the problem > >(FO > > > >file and JPEG) I'll look into it. > > > > > > > >In the meantime, would you please verify if the problem persists with > > > >FOP Trunk (from Subversion)? > > > > > > > >On 22.03.2006 16:24:03 Johannes Becker wrote: > > > > > Hi, > > > > > > > > > > I'm having a strange problem with embedding a jpg as an external > >graphic > > > >on > > > > > a Win System with JDK 1.4.x. This problem doesn't occour on a Linux > > > >mashine. > > > > > It also doesn't appear with FOP 0.25, both on the same Win and Linux > > > >system. > > > > > > > > > > I always get an: > > > > > "Invalid ICC profile: java.lang.IllegalArgumentException: Invalid > >ICC > > > > > Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile > > > >Data" > > > > > error. > > > > > > > > > > According to: > > > > > > > > > > >http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200510.mbox/[EMAIL > > > PROTECTED] > > > > > this isn't a FOP message. > > > > > > > > > > According to: > > > > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4377282 > > > > > "...Most likely it is due to running the win32 jre, which doesn't > >have > > > > > profiles installed." > > > > > > > > > > Since this error doesn't tell me a thing and I'm not a pro: > > > > > Is it a bug in 0.91 not to catch this error or ???? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
