Hi sistr,
The reason for this is the version of imagemagick that comes bundled with the Mali Texture Compression Tool is an older version that is dependent upon libtiff4. This is not available on Ubuntu 14.04, only libtiff5. You can check if this is the problem by manually running the included convert binary from Mali_Texture_Compression_Tool_v4.2.0.445f5f1_Linux_x64/bin, such as ./convert <pic>.png <pic>.ppm and it should give you an error saying that libtiff.so.4 cannot be found.
There are a number of fixes that you can use.
First, install imagemagick using sudo apt-get install imagemagick; this should also pull in libtiff5 as a dependency if not already installed. Then remove convert from Mali_Texture_Compression_Tool_v4.2.0.445f5f1_Linux_x64/bin and providing the installed convert binary is available in the path, Mali Texture Compression tool will fall back to use this. Alternatively you can also change the binary to use for convert under tools > preferences, and change the ImageMagick convert executable path to /usr/bin/convert.
Alternatively, just install libtiff5, and symlink libtiff.so.4 to point to libtiff.so which will in turn point to the latest version installed on your system, in my case libtiff.so.5.2.0.
I have tested and these all work for me having seen the same issue you described.
Hope this Helps,
Rich
Hello Rich,
Thank you very much for the crystal clear explanation.
As soon as I get 20 minutes free I'll check your solution and let you know.
Have a nice day,
Damien
On Mon Nov 17 2014 at 15:23:50 ARM Connected Community Admin <
Hello,
Just wanted to confirm that the fix partially works.
I can now enconde an image in ETC2.0 without issue (after installing imagemagick and removing the convert binary in bin folder, as explained above).
But once compressed, I can't open the generated pkm in the software, it warn about an error during the opening of the file:
Cannot load the image image.:xxxxxx.pkm
But still, it's great to be able to compress the image on linux.
Thank you for your support.