You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by "Sam Ruby (JIRA)" <ji...@apache.org> on 2019/07/31 20:31:00 UTC

[jira] [Commented] (WHIMSY-284) Error converting PNG to PDF

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

Sam Ruby commented on WHIMSY-284:
---------------------------------

I tried converting the image locally using img2pdf, and got the following:

$ img2pdf Screen\ Shot\ 2019-07-28\ at\ 13.43.25.png 
WARNING:root:Image contains transparency which cannot be retained in PDF.
WARNING:root:img2pdf will not perform a lossy operation.
WARNING:root:You can remove the alpha channel using imagemagick:
WARNING:root:  $ convert input.png -background white -alpha remove -alpha off output.png
ERROR:root:error: Refusing to work on images with alpha channel

Previously, we used imagemagick's convert, and that works fine on this image.

 

> Error converting PNG to PDF
> ---------------------------
>
>                 Key: WHIMSY-284
>                 URL: https://issues.apache.org/jira/browse/WHIMSY-284
>             Project: Whimsy
>          Issue Type: Bug
>          Components: SecMail
>            Reporter: Matt Sicker
>            Assignee: Craig L Russell
>            Priority: Major
>
> See https://whimsy.apache.org/secretary/workbench/201907/cede3a93bd/ and try to convert either to PDF.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)