|
Post by iamjag on Sept 17, 2021 17:00:40 GMT
Hi all,
Anyone here have an experience using png image with a trasparent background?
I've been trying Gimp and Photoshop, but whenever I crop and export the image as png it does not match with original image anymore.
I think that I read in the references section that ankulua does not compare trasparent pixel. So I was thinking that the issue is the tool I'm using.
I would love to read your recomendations of an app tha can crop eregular shape and save as a png image.
|
|
|
Post by AnkuLua on Sept 18, 2021 0:01:02 GMT
Now AnkuLua support transparent pixel comparison. There are three ways to do it. 1. images with four channels, aka RGB and alpha channels Pattern("4Channel.png"):mask() 2. images with three channels. All black pixels will be masked. Pattern("3ChannelWithBlack.png"):mask() 3. dedicate mask image. Both images must be the same size. Pattern("normal.png"):mask("mask.png")
|
|
|
Post by iamjag on Sept 18, 2021 0:30:15 GMT
Ohhhh!!! I forgot that part, you need to mask. Ok I will try it. Thanks!
|
|
|
Post by iamjag on Sept 18, 2021 9:03:49 GMT
|
|