Awww crap, I just put the -alpha background in the wrong place... anyway, this way works:
convert s2.png s1.png -compose change-mask -composite -background white -alpha background d1-2.png
Search found 2 matches
- 2011-06-05T15:56:37-07:00
- Forum: Users
- Topic: [SOLVED] Huge PNG file when using change-mask
- Replies: 3
- Views: 6587
- 2011-06-05T13:31:15-07:00
- Forum: Users
- Topic: [SOLVED] Huge PNG file when using change-mask
- Replies: 3
- Views: 6587
[SOLVED] Huge PNG file when using change-mask
I want to store a series of screenshots more efficiently by only storing their difference. Therefore I want to produce a PNG file that is fully transparent except for the parts that are different between two images. This command basically has the desired effect (d1-2.png containing the difference ...