|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
color profiles in PNG and brighter images in PDFHi everybody,
I have a problem when inserting PNG files into a PDF using fop. My PNG file has a color profile "Dot Gain 15%". The PDF contains the same png file, but the color profile is suddenly "KODAK Grayscale Conversion - Gamma 1.0". And, as is clearly visible, the image in the PDF file ist brighter than the PNG. Can anybody on this list enlighten me on why the color profile is changing or how I can prevent it? The PNG file and PDF file are attached, if you want to recreate the PDF, here's the fo code: <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master page-height="1cm" page-width="1cm" master-name="main"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="main"> <fo:flow flow-name="xsl-region-body"> <fo:block> <fo:external-graphic content-width="1cm" content-height="1cm" src="imgTest.png"/> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> Regards, Georg Datterl ------ Kontakt ------ Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH: www.irs-nbg.de Willmy PrintMedia GmbH: www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@... For additional commands, e-mail: general-help@... |
|
|
Re: color profiles in PNG and brighter images in PDFAFAIK, color profile management is not supported by the current
version of FOP. Does your PNG contain transparent parts ? We had about the same problem, with cockpit screenshots appearing "dull" while the original PNG obviously had brighter colors. It is an extremely complex topic, I spent weeks trying to find a solution to such problems and at the end, on a suggestion by Jeremias Maerki, we simply removed the transparent parts and that solved our problem (but maybe it does not solve yours). I believe there is only one color profile in the PDFs generated by FOP, and IIRC the corresponding FO tags as specified by the standard are ignored. Le 23 juin 09 à 15:50, Georg Datterl a écrit : > Hi everybody, > > I have a problem when inserting PNG files into a PDF using fop. My > PNG file has a color profile "Dot Gain 15%". The PDF contains the > same png file, but the color profile is suddenly "KODAK Grayscale > Conversion - Gamma 1.0". And, as is clearly visible, the image in > the PDF file ist brighter than the PNG. Can anybody on this list > enlighten me on why the color profile is changing or how I can > prevent it? > > The PNG file and PDF file are attached, if you want to recreate the > PDF, here's the fo code: > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master page-height="1cm" page-width="1cm" master- > name="main"> > <fo:region-body/> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="main"> > <fo:flow flow-name="xsl-region-body"> > <fo:block> > <fo:external-graphic content-width="1cm" content-height="1cm" > src="imgTest.png"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > Regards, > > Georg Datterl > > ------ Kontakt ------ > > Georg Datterl > > Geneon media solutions gmbh > Gutenstetter Straße 8a > 90449 Nürnberg > > HRB Nürnberg: 17193 > Geschäftsführer: Yong-Harry Steiert > > Tel.: 0911/36 78 88 - 26 > Fax: 0911/36 78 88 - 20 > > www.geneon.de > > Weitere Mitglieder der Willmy MediaGroup: > > IRS Integrated Realization Services GmbH: www.irs-nbg.de > Willmy PrintMedia GmbH: www.willmy.de > Willmy Consult & Content GmbH: www.willmycc.de > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: general-unsubscribe@... > For additional commands, e-mail: general-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@... For additional commands, e-mail: general-help@... |
|
|
AW: color profiles in PNG and brighter images in PDFHi Jean-François,
Thanks for your answer. No, I don't have transparent parts. And I'm afraid I can't insert transparent parts to darken the images. Mit freundlichen Grüßen Georg Datterl ------ Kontakt ------ Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH: www.irs-nbg.de Willmy PrintMedia GmbH: www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -----Ursprüngliche Nachricht----- Von: Jean-François El Fouly [mailto:jean-francois@...] Gesendet: Dienstag, 23. Juni 2009 16:04 An: general@... Betreff: Re: color profiles in PNG and brighter images in PDF AFAIK, color profile management is not supported by the current version of FOP. Does your PNG contain transparent parts ? We had about the same problem, with cockpit screenshots appearing "dull" while the original PNG obviously had brighter colors. It is an extremely complex topic, I spent weeks trying to find a solution to such problems and at the end, on a suggestion by Jeremias Maerki, we simply removed the transparent parts and that solved our problem (but maybe it does not solve yours). I believe there is only one color profile in the PDFs generated by FOP, and IIRC the corresponding FO tags as specified by the standard are ignored. Le 23 juin 09 à 15:50, Georg Datterl a écrit : > Hi everybody, > > I have a problem when inserting PNG files into a PDF using fop. My PNG > file has a color profile "Dot Gain 15%". The PDF contains the same png > file, but the color profile is suddenly "KODAK Grayscale Conversion - > Gamma 1.0". And, as is clearly visible, the image in the PDF file ist > brighter than the PNG. Can anybody on this list enlighten me on why > the color profile is changing or how I can prevent it? > > The PNG file and PDF file are attached, if you want to recreate the > PDF, here's the fo code: > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master page-height="1cm" page-width="1cm" master- > name="main"> > <fo:region-body/> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="main"> > <fo:flow flow-name="xsl-region-body"> > <fo:block> > <fo:external-graphic content-width="1cm" content-height="1cm" > src="imgTest.png"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > Regards, > > Georg Datterl > > ------ Kontakt ------ > > Georg Datterl > > Geneon media solutions gmbh > Gutenstetter Straße 8a > 90449 Nürnberg > > HRB Nürnberg: 17193 > Geschäftsführer: Yong-Harry Steiert > > Tel.: 0911/36 78 88 - 26 > Fax: 0911/36 78 88 - 20 > > www.geneon.de > > Weitere Mitglieder der Willmy MediaGroup: > > IRS Integrated Realization Services GmbH: www.irs-nbg.de > Willmy PrintMedia GmbH: www.willmy.de > Willmy Consult & Content GmbH: www.willmycc.de > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: general-unsubscribe@... > For additional commands, e-mail: general-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@... For additional commands, e-mail: general-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@... For additional commands, e-mail: general-help@... |
|
|
Re: AW: color profiles in PNG and brighter images in PDFLe 24 juin 09 à 12:29, Georg Datterl a écrit : > Hi Jean-François, > > Thanks for your answer. No, I don't have transparent parts. And I'm > afraid I can't insert transparent parts to darken the images. > Maybe my point was not clear but that is probably good news. Having to manage transparent parts + color profiles would - I guess - make your problem even more tricky to solve. In fact we had to change transparent parts to background color (white) to solve our problem. And BTW having transparent parts does not make the image darker but duller (more flat, less bright, it's hard to describe). --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@... For additional commands, e-mail: general-help@... |
| Free embeddable forum powered by Nabble | Forum Help |