Help us understand the problem. What is going on with this article?

コマンド一発で透過 png を綺麗に非透過 png にする

More than 5 years have passed since last update.


convert HOGE.PNG -background white -alpha deactivate -flatten PIYO.PNG



convert HOGE.PNG  \( +clone -alpha opaque -fill white -colorize 100% \) +swap -geometry +0+0 -compose Over -composite -alpha off PIYO.png


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away