I meet problem when using command line tool "etcpack". I have succeed to use it on Windows. But when I use same options to convert the file on Mac, it failed.
The error message was "conver: command not found"
I have already make the working dir to Mali..../bin, And use ./etcpack as the command.
The command line is:
./etcpack /XXX/a.png /XXX -c etc1 -ext PNG -as
The result is:
sh: convert: command not found
Error: Could not convert input image /XXX/a.png to .ppm
the files in bin fold are:
astcenc composite convert etcpack
It sounds like the convert utility is failing for some reason. If you run "convert" directly, does it work?
If it doesn't you could try and download a Mac version from ImageMagick.org and replace the convert binary in the install directory.
Thank you for help.
I guess the problem is "etcpack" use "convert" to transform .png to .ppm. So i use "./convert" to change image format first, then I use "./etcpack" to make .pkm file. This will avoid etcpack to call convert.
I don`t know why "etcpack" will call "convert" directly, it maybe should call "./convert" on mac bash.
Glad that helped. I'll raise the original issue with the Mali tools team so we can get it fixed in a future tool release. Thanks for the bug report.
Can you just confirm what Mac device / OS version you are using - will help us reproduce it if it is Mac version sensitive?
Thanks, Pete
The OS version is OS X Yosemite 10.10.5(14F27) and kernel version is Darwin 14.5.0.
I hope the information is helpful, thank you
Hi,
Thanks for the report, I was able to reproduce the problem on MacOSX 10.10.4 with Mali Texture Compression Tool v4.3 and I will raise a ticket to track this issue.
Here are possible workarounds:
Hope that helps,
Jacek
Thank you. It works!
I forget to add the bin folder to the PATH. After I add it, I can call convert directly.
And sorry topeterharris, it`s my mistake.