You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Neeraj <ne...@gmail.com> on 2013/02/13 07:25:51 UTC
FOP 1.1 - Use Transparent image as Non-Transparent
Hi,
I am using FOP 1.1, Command line to generate PDF file.
I am having a transparent GIF image and want FOP to treat it as non
transparent image (Just like FOP 0.20.5). Is there any setting in FOP
configuration file which can provide this functionality?
I already tried following settings for PNG transparent images, but it
is not working.
<renderer mime="image/png">
<transparent-page-background>false</transparent-page-background>
</renderer>
Any suggestions will be appreciated.
Thanks
Neeraj
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP 1.1 - Use Transparent image as Non-Transparent
Posted by Rob Sargent <rs...@xmission.com>.
Put it on top of a white background using the z-axis.
On 02/13/2013 12:30 PM, Luis Bernardo wrote:
>
> I am not familiar with that feature but I would expect that if your
> image is GIF and the feature is for PNG then it will not work. Why not
> convert the image to one without transparency outside FOP? If FOP
> 0.20.5 was not not handling transparency it is probably because it had
> not been implemented.
>
> On 2/13/13 6:25 AM, Neeraj wrote:
>> Hi,
>>
>> I am using FOP 1.1, Command line to generate PDF file.
>>
>> I am having a transparent GIF image and want FOP to treat it as non
>> transparent image (Just like FOP 0.20.5). Is there any setting in FOP
>> configuration file which can provide this functionality?
>>
>> I already tried following settings for PNG transparent images, but it
>> is not working.
>>
>> <renderer mime="image/png">
>> <transparent-page-background>false</transparent-page-background>
>> </renderer>
>>
>> Any suggestions will be appreciated.
>>
>> Thanks
>> Neeraj
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP 1.1 - Use Transparent image as Non-Transparent
Posted by Luis Bernardo <lm...@gmail.com>.
I am not familiar with that feature but I would expect that if your
image is GIF and the feature is for PNG then it will not work. Why not
convert the image to one without transparency outside FOP? If FOP 0.20.5
was not not handling transparency it is probably because it had not been
implemented.
On 2/13/13 6:25 AM, Neeraj wrote:
> Hi,
>
> I am using FOP 1.1, Command line to generate PDF file.
>
> I am having a transparent GIF image and want FOP to treat it as non
> transparent image (Just like FOP 0.20.5). Is there any setting in FOP
> configuration file which can provide this functionality?
>
> I already tried following settings for PNG transparent images, but it
> is not working.
>
> <renderer mime="image/png">
> <transparent-page-background>false</transparent-page-background>
> </renderer>
>
> Any suggestions will be appreciated.
>
> Thanks
> Neeraj
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org