How can I set PremultipliedAlpha false?
Any help will be appreciated!
This is my command line.
etcpack "$src" "$dest" -c etc1 -as -s fast -e perceptual -progress
I don't want RGB to multiply alpha value.
Hi,
I've used Mali Texture Compression Tool GUI and etcpack with the options you specified to compress an image with an alpha channel.In both cases the RGB values in the resulting image were nearly identical to the ones in the original image, so no sign of premultiplied alpha.
Could you please upload an image that we could use to reproduce the problem?
Thanks,
Jacek
Hi, I think I got the reason of my matter.
There are much difference between mac and windows.
Below is compress by windows MALI.
Below is compress by macos MALI.
Have you seen the difference? The origin image is below
The spider web compressed by macos mali is indistinct.
I'm happy to hear that this is not a premultiplied alpha/etcpack issue.
The difference between images converted with Mali Texture Compression Tool on MacOS X and Windows is something we are already aware of and is caused by a slightly different version of convert tool from ImageMagick toolkit being used by Mali Texture Compression Tool on MacOS X.
As a workaround you could try to replace bin/convert in Mali Texture Compression Tool directory with the latest version available on ImageMagick web page.
Hope that helps,