Jump to content

Graphics2DExport with transparent PNG (RGB)


elenaguandalini

Recommended Posts

Hi,

 

I'm trying to export a report to jpeg using JRGraphics2DExporter. 

I have to insert two overlapping png 8-bit images with alpha transparency.

Exporting the report to PDF, transparency is preserved while exporting to jpeg, transparency is replaced by the background color.

Seems to be related to PNG's with RGB color table. RGB's with RGBA works correctly (See attached example)

 

I tried also JasperPrintManager but result is the same.

 

Can someone help me to find a solution or tell me if this feature can be implemented?

 

Thank you

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...