xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentina <valent...@tp.rs>
Subject Re: Tiff image - color distortion
Date Tue, 28 Jan 2014 21:34:16 GMT
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 <szeak33@gmail.com>

> 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
> with the PDF/X <http://xmlgraphics.apache.org/fop/1.1/pdfx.html> feature.
> An example:
>
> <renderer mime="application/pdf">
>   <filterList...
>
>   <output-profile>C:\FOP\Color\EuropeISOCoatedFOGRA27.icc</output-profile>
>
>   <fonts....
>
> </renderer>"
>
>
> 2014-01-28 Valentina <valentina@tp.rs>
>
> 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 <valentina.cupac@tp.rs>
>>
>> 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
>>> correctly in a pdf report?
>>>
>>>
>>> 2014-01-28 Valentina <valentina@tp.rs>
>>>
>>> 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 known issue?
>>>>
>>>> Also I looked here:
>>>> http://xmlgraphics.apache.org/fop/1.1/graphics.html#tiff
>>>>
>>>> "FOP can embed TIFF images without decompression into PDF, PostScript
>>>> and AFP if they have either CCITT T.4, CCITT T.6, or JPEG compression.
>>>> Otherwise, a TIFF-capable Image I/O codec is necessary for decoding the
>>>> image.
>>>>
>>>> There may be some limitation concerning images in the CMYK color space."
>>>>
>>>> Could someone explain the meaning of those sentences. Thanks.
>>>>
>>>
>>>
>>
>

Mime
View raw message