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 Harshini Madurapperuma <ha...@ifs.lk> on 2008/01/29 12:58:21 UTC

Bitmap support in FOP?

Hi All

Does FOP support Bitmap? Is there anything that we can do to display a
bitmap in FOP? I tried .bmp [24, 16 , 256] but didn't visible.

Thanks in advance
Harshini

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Bitmap support in FOP?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
In that case, you'll have to upgrade to FOP 0.94 where your images work
just fine.

On 30.01.2008 05:13:06 Harshini Madurapperuma wrote:
> Hi
> 
> I'm using FOP 0.20.5, and the out put format is PDF (there the images are
> visible), but I'm using the following code, there the images are not visible
> . I have attached my sample image of bmp (24 & 16) which I have tried.
>  
> private JLabel imageLabel = new JLabel();
> private AWTRenderer renderer = new AWTRenderer(null);
> renderer.setComponent(this);
> BufferedImage pageImage = renderer.getLastRenderedPage();
> imageLabel.setIcon(new ImageIcon(pageImage));
> JScrollPane jsp = new JScrollPane(imageLabel);
> 
> Regards
> Harshini
> 
>          
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> Sent: Tuesday, January 29, 2008 6:10 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Bitmap support in FOP?
> 
> I have no trouble with BMP files in FOP 0.94. Can you post such an image and
> state what FOP version you are using and what output format (PDF, PS
> etc.) you're trying to produce?
> 
> On 29.01.2008 12:58:21 Harshini Madurapperuma wrote:
> > 
> > Hi All
> > 
> > Does FOP support Bitmap? Is there anything that we can do to display a 
> > bitmap in FOP? I tried .bmp [24, 16 , 256] but didn't visible.
> > 
> > Thanks in advance
> > Harshini
> 
> 
> 
> Jeremias Maerki
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Bitmap support in FOP?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
I have no trouble with BMP files in FOP 0.94. Can you post such an image
and state what FOP version you are using and what output format (PDF, PS
etc.) you're trying to produce?

On 29.01.2008 12:58:21 Harshini Madurapperuma wrote:
> 
> Hi All
> 
> Does FOP support Bitmap? Is there anything that we can do to display a
> bitmap in FOP? I tried .bmp [24, 16 , 256] but didn't visible.
> 
> Thanks in advance
> Harshini



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org