Search found 2 matches

by Duwgati
2017-04-04T05:20:12-07:00
Forum: Users
Topic: Create white rectangle with transparent cutout on transparent BG
Replies: 2
Views: 2984

Re: Create white rectangle with transparent cutout on transparent BG

I found the solution myself: exec('c:\imagemagick\convert.exe -size 1366x768 xc:"rgba(255,215,0,0)" -fill white -draw "rectangle 555,143 811,625" \(-size 216,442 xc:none -fill black -draw "roundrectangle 575,163 791,605 25,25"\) -alpha Set -compose Dst_Out -composite test/product-mask.png ');
by Duwgati
2017-04-04T02:09:08-07:00
Forum: Users
Topic: Create white rectangle with transparent cutout on transparent BG
Replies: 2
Views: 2984

Create white rectangle with transparent cutout on transparent BG

I need to create a PNG like this: (www.duwgati.nl/product-mask.jpg) http://www.duwgati.nl/product-mask.jpg I have managed to create this image except for the transparent cutout: (www.duwgati.nl/product-mask.png) http://www.duwgati.nl/product-mask.png As you can see, it creates the transparent ...