This release features improved support for common mobile image formats and encodings. A command-line operation for swizzling and setting image channels has been added. Image colour-profile detection is improved and the results are shown in the details panel.
Improvements for Mobile
- The .atc file extension may be used for ASTC files.
- ETC1, ETC2 (RGB, RGBA, RGB1A), and EAC (R and RG) pixel encodings are all supported.
- PKM file viewing supported with all of the ETC-encoding variants.
- Viewing of DDS files that contain ETC/ETC2 data.
- Viewing of KTX/KTX2 files that contain ETC/ETC2/EAC data.
- Auto gamma correction available for ASTC, PKM, DDS, KTX, and KTX2 files. Ability to override the correction for any of these types.
- More robust detection of image colour profile.
Command Line
To use the new swizzle operation:
--op swizzle[rgba*]
The swizzle operation allows you to manipulate the RGBA channels of an image
and swap, duplicate, clear or set them. You can basically take the existing
channels and rearrange them as you see fit.
rgba: This is the destination mapping used by the swizzle. It is always in
the order RGBA. It is made of the characters R, G, B, A, 0, 1, and *.
The characters are case-insensitive so r, g, b, and a may also be used.
The asterisk means automatic channel selection. 0 means the channel is
set to 0 for all pixels. 1 means the channel is set to full for all
pixels. R means the destiniation channel is taken from the original red
channel. Similarly for G, B, and A. You do not need to specify all four
characters if you want the remaining ones to be defaulted to their
corresponding source channel. This is what the asterisk does.
The default is **** which is the same as RGBA, both of which leave the
image unmodified.
Example 1: --op swizzle[BGR] will swap the red and the blue channels. In
order, the new red channel gets the original blue channel, the green gets
green, and the new blue channel gets red. This is the same as swizzle[B*R]
and is also the same as swizzle[B*R*]. The asterisks just grab the
corresponding original channel.
Example 2: --op swizzle[***1] keeps the colours the same but sets the alpha
to full for all pixels. This is the same as swizzle[RGB1].
Example 3: --op swizzle[0] clears the red channel. Same as [0GBA] and [0***]
Example 4: --op swizzle[GGG1] places the original green channel in the new
red, green and blue channels. It also sets the alpha to full (opaque).
Summary of Changes
Full Changelog: v1.0.37...v1.0.38