Hi,
I'm currently trying to convert the attached images to astc.
The settings I have specified is 4x4 and linear LDR for "alpha1.jpg". The tool displays each pixel's value as R = G = B with A = 255, so I specify "Other Options" swizzling before encoding G = 0, B = 0, and A = 0 because I only care about the R channel. Unfortunately, I get "Commandline argument '-esw r000' not recognized". If I remove the "Other Options", it works.....I also tried 4x4 SRGB LDR with Other Options turned off, but I get "Compression stopped"
None of the above configurations work for "alpha11.jpg". Both images work with the solo option of HDR......which doesn't sound right to me. Am I misunderstanding how to use the tool?
Thank you.
Hi Stacy,
The astcenc.exe command line works
I'll use the GUI for testing only then.
I also encountered something odd: does the tool not support loading in ASTC files? The file format say whether the image is sRGB vs Linear, but maybe a prompt can be popped up to ask for options.
The tool is intended for compression, so there is little point in loading in ASTC files. Files can be decompressed in the command line, and you can even run in test mode, where a file is compressed and immediately decompressed by the command line tool, producing an image which contains the compressed result, but in a standard file format (such as PNG, which is lossless and therefore good for determining compression artifacts).
-Stacy