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
renderer mime=image/tiff
!--transparent-page-backgroundtrue/transparent-page-background--
!--compressionNONE/compression--
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:
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:
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 -
Yes Registar man is correct !
if your output is pdf, you can't use the renderer/tif I mentioned earlier.
However, you can remove the pdf image compression by using something similar to
( according to what your ultimate goal is ) : renderer
mime=application/pdf filterList
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
Thanks!
I
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
Hi I am including Tiff image in Pdf output.
The problem is that it is not rendering the image correctly. For example,
the original Tiff image has much stronger contrast (i.e. some very dark
sections, some very light sections), whilst the pdf output image appears
more greyish and noisy.
Is this a
Additional information - the input tiff image has the following properties:
Horizontal resolution: 96dpi
Vertical resolution: 96dpi
Bit depth: 16
Compression: Uncompressed
The image is grayscale type, there's no color.
Are there any special settings which should be applied to make it render
I had tried the following:
* Setting resolution to 96
* Trying out different values of scaling-method for fo:external-graphic
Configuration pages describe settings for tiff image renderer, but I assume
all those would NOT be used in my case, only pdf renderer...
2014-01-28 Valentina Cupac
Hi!
I do not agree with the colors, but these setting may can help for you:
Another (optional) setting specific to the PDF Renderer is an output color
profile, an ICC color profile which indicates the target color space the
PDF file is generated for. This setting is mainly used in conjunction
I'll try to find a suitable color profile.
In the meantime, a related question is whether it is possible to embed
images with pdf:embedded-file (displaying image, rather than link), to
bypass any effects in rendering, i.e. to render a tiff image as-is?
2014-01-28 szeak33 szea...@gmail.com
Hi!
Yes, by default JPEG CMYKs are converted to sRGB if the color profile is
embedded in the image (I had not tried with JPEG CMYKs embedded in SVG
but I think that also there the images are processed by FOP ). The
reason this is done is due to the fact that the standard Java JPEG
handling
Two questions about CMYK on the same day!
The JDK JPEG image handling functions cannot handle CMYK. If the images
include a color profile then FOP can convert the images to RGB. To get
FOP generate a PDF with images that preserve the CMYK colors you need to
use a ImageIO library like
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
Are you using trunk or 1.1? This example does not run with 1.1 as is.
On 1/28/14, 3:56 PM, edi4988 wrote:
Thank you for your help. I fixed the problem. You were right . I appreciate
your time and help.
Now, I use this example
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
That is what I would like to do to preserving the original image.
Just to clarify, you mentioned JDK JPEG image handling, is that what needs
to be used for Tiff image handling (in my report I have just Tiff images),
and if so, do any settings need to modified in the fop.xconf file?
18 matches
Mail list logo