Search found 2 matches

by Kazuhiko
2011-10-21T00:45:59-07:00
Forum: Bugs
Topic: convert transp. img to jpg with '-geometry' results black bg
Replies: 3
Views: 8770

Re: convert transp. img to jpg with '-geometry' results blac

Hi Anthony,

Thanks for your detailed reply.
Indeed, adding '-background white -flatten' makes white-background jpeg regardless the existence of '-resize' option. (Well, even only '-flatten' makes white-background jpeg).

BTW, I found this when I tried to convert a PDF that was generated by ...
by Kazuhiko
2011-10-20T06:28:51-07:00
Forum: Bugs
Topic: convert transp. img to jpg with '-geometry' results black bg
Replies: 3
Views: 8770

convert transp. img to jpg with '-geometry' results black bg

Hello.

When we convert a transparent image to jpeg, its background color differs depending on the existence of '-geometry' (or -resize) option.

Reproducible: Always

Steps to Reproduce:
1. convert transparent.png out.jpg => white background
2. convert -geometry 320x transparent.png out.jpg ...