My problem should be easy to solve as it isn't very complicated but everything I tried didn't work.
I have a image like this:
It has a transparent background and one solid color (white). The rounded borders have alpha transparency.
Now to my problem:
I want to "invert" the transparent and the white area so that the transparent area gets white and the white area gets transparent. The semi-transparent areas are my problem.
The things I tried:
Code: Select all
convert 1cut.png +level-colors red, out.png
Code: Select all
convert 1cut.png -transparent white out.png
Any hints how to solve this problem?
Thanks