Skip to content

Resizing an index-paletted transparent PNG results in a black background #41

@GoogleCodeExporter

Description

@GoogleCodeExporter
I want to resize a png file in following code:
  Thumbnails.of(srcImg).size(width, height).toFile(optImg)

But all transparent background turns to black.
See the attach
What should I do?

thumbnailator-0.4.0 in sun/oracle jdk1.7

Thank you very much!

Original issue reported on code.google.com by Science...@gmail.com on 8 Nov 2012 at 4:27

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions