[ 
https://issues.apache.org/jira/browse/OFBIZ-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683983#comment-17683983
 ] 

Ingo Wolfmayr commented on OFBIZ-12750:
---------------------------------------

Hi 
Jacques,[|https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=GZ-1001]

go to product GZ-1001 --> Content tab

[https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductContent?productId=GZ-1001]

Upload the png file attached or any other png file with transparent background.

Problem is the following line:

BufferedImage sanitizedImage = new 
BufferedImage(initialSizedImage.getWidth(null), 
initialSizedImage.getHeight(null),BufferedImage.{color:#de350b}*TYPE_INT_RGB*{color});

> Product Image PNG - Black Background
> ------------------------------------
>
>                 Key: OFBIZ-12750
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12750
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: product/catalog
>    Affects Versions: Upcoming Branch
>            Reporter: Ingo Wolfmayr
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: Lyke CF SE.png, png.patch
>
>
> When uploading an png image to a product (default image), transparent 
> background becomes black.
> [https://demo-trunk.ofbiz.apache.org/catalog/control/UploadProductImage?productId=WG-9943-B3&upload_file_type=original]
> Uploading the same image as content or via image management works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to