RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-26 Thread A Gian
Hello, Which Fop-version are you using (!.0 1,1 trunk etc)? Can you provide the configuration and xsl-fo file you have been using so far to generate the pdf? Have you tried out this setting http://xmlgraphics.apache.org/fop/1.1/output.html#bitmap ? The more information you provide th

RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Valentina
I am using FOP version 1.1. I tried the following configurations, listed below. Let me know if any further information is required. Variant 1 Variant 2 NONE Variant 3 PackBits Variant 4 rgba PackBit

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Registar Man
Hi! The image/tiff renderer configuration settings only works when you generate tiff output not pdf. For PDF rendering settings you must configure in the pdf renderer section. Bye, Csaba - To unsubscribe, e-mail: fop-users-un

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Registar Man
Hi! Some more information from how to compress images in PDF can see here: http://xmlgraphics.apache.org/fop/1.1/configuration.html#pdf-renderer Bye, Szeak - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.or

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Valentina Cupac
Thanks! I wasn't exactly sure what should be configured in the pdf rendering settings. (The goal is to have no compression applied to tiff images which are included in pdf output), so I tried some possible changes, listed below. My raw images are about 200KB. The generated pdf file (images - tiff

RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread A Gian
on a example pdf with a simple tif (with LZW comp), the pdf's size went up from 40 kb to more than 600kb.Thanasis > Date: Tue, 28 Jan 2014 12:52:12 +0100 > From: szea...@gmail.com > To: fop-users@xmlgraphics.apache.org > Subject: Re: Changes in pdf tiff compression configur

RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread A Gian
Ignore my previous message I haven't seen your last email when posted. Thanasis Date: Tue, 28 Jan 2014 14:10:35 +0100 Subject: Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated From: valentina.cu...@tp.rs To: fop-users@xmlgraphics.apache.org Than

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Szeak (Register Man)
Hi Valentina! Try these documented settings in a PDF renderer section. flate ascii-85 Bye, Szeak - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h..

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Szeak (Register Man)
Hi! So, I think the FOP working mechanism is: By rendering the output it uncompress and rendering the images into the document. Because of you need to define the PDF settings i sent before for recompresing used images in the pdf. I don't use these settings ever, i just think it working as i w

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Luis Bernardo
Note that the images use compression internally. If the image loader selected by FOP to process your image is the default ImageIO one (i.e., not a native FOP image loader) the image will be uncompressed. If then you turn off PDF stream compression, then yes, you should end up with a much larg

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Valentina
The reason I didn't want compression is as follows: * My external Tiff image (96dpi, Bit-depth: 16, Compression: Uncompressed) wasn't rendering correctly, so I thought a possible reason could be compression * The next possible reason could be something about color profiles, which was the motivation

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-29 Thread Luis Bernardo
If the image is CMYK and you get gray scale output it means the image had no color profile embedded. If you embed one FOP should convert it to RGB unless you have an ImageIO library that can handle CMYK. On Wed, Jan 29, 2014 at 7:06 AM, Valentina wrote: > The reason I didn't want compression is

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-29 Thread Valentina Cupac
My original image is in fact grayscale, but the grayscale original and the rendered grayscale look different, that's the issue. In that case, is it related to CMYK or something else? 2014-01-29 Luis Bernardo > If the image is CMYK and you get gray scale output it means the image had > no color