xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Bégnis <max...@neodoc.biz>
Subject Re: AW: AW: preprocessing of images
Date Tue, 05 Oct 2010 12:32:42 GMT
Ok, thanks for your answers.

Le 05/10/2010 14:23, Georg Datterl a écrit :
>
> Hi Maxine,
>
> We preprocess the images with ImageMagick and put the preprocessed 
> images into the PDF. I don't think there's another way nor will there 
> ever be (in FOP). Maybe you can call a function during the 
> transformation, but I'm no expert there.
>
> 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 <http://www.geneon.de>
>
> Weitere Mitglieder der Willmy MediaGroup:
>
> IRS Integrated Realization Services GmbH: www.irs-nbg.de 
> <http://www.irs-nbg.de>
>
> Willmy PrintMedia GmbH: www.willmy.de <http://www.willmy.de>
>
> Willmy Consult & Content GmbH: www.willmycc.de <http://www.willmycc.de>
>
> *Von:* Maxime Bégnis [mailto:maxime@neodoc.biz]
> *Gesendet:* Dienstag, 5. Oktober 2010 14:19
> *An:* fop-users@xmlgraphics.apache.org
> *Betreff:* Re: AW: preprocessing of images
>
> hi Georg,
>
> Thanks for your answer. My question wasn't very precise, sorry. I 
> would like to be able to convert the images referenced in the FO file 
> whatever the attributes. For example, if I have a PNG file referenced 
> in an fo:external-graphic element, I would like to convert the image 
> into JPEG format with a quality of 40% and limit the dimensions to 
> 400x400. This is mostly to provide control on the size of the 
> resulting PDF without having to change the FO file or the referenced 
> images.
>
> Thanks a lot.
>
> Maxime Bégnis
>
> Le 05/10/2010 14:03, Georg Datterl a écrit :
>
> Hi Maxime,
>
> Fop can work with quite a lot of image types. For resizing there are 
> img attributes.
>
> 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 <http://www.geneon.de>
>
> Weitere Mitglieder der Willmy MediaGroup:
>
> IRS Integrated Realization Services GmbH: www.irs-nbg.de 
> <http://www.irs-nbg.de>
>
> Willmy PrintMedia GmbH: www.willmy.de <http://www.willmy.de>
>
> Willmy Consult & Content GmbH: www.willmycc.de <http://www.willmycc.de>
>
> *Von:* Maxime Bégnis [mailto:maxime@neodoc.biz]
> *Gesendet:* Dienstag, 5. Oktober 2010 13:56
> *An:* fop-users@xmlgraphics.apache.org 
> <mailto:fop-users@xmlgraphics.apache.org>
> *Betreff:* preprocessing of images
>
> Hi all,
>
> I'm wondering if there is a standard way in the FOP API to pre-process 
> images, i.e. resizing, converting to a specific format, etc... before 
> they are included in the resulting PDF? I use FOP 1.0 embedded in a 
> java app.
>
> Thanks a lot for your help!
>
> Maxime Bégnis
>

Mime
View raw message