compressonator icon indicating copy to clipboard operation
compressonator copied to clipboard

Is it possible to convert uncompressed pixel data with Compressonator?

Open dmitri-fm opened this issue 2 years ago • 2 comments

i.e. from 32-bit RGBA to 16-bit RGBA. Or RGBA to R8.

dmitri-fm avatar Nov 26 '22 19:11 dmitri-fm

@vergol This feature is partially implemented, we will work on adding more in our transcoding option which converts one compressed format to another compressed format, or one image format to another image format.

Transcoding for these are available in current release and for v4.3: ARGB_8888
ARGB_16F
ARGB_32F
RGBA_1010102

The format you specified are not enabled in the source but has been coded. Its define under the definition CMP_ENABLE_TRANSCODECHANNEL_SUPPORT

which will do format conversions for:

ARGB_16
ARGB_2101010 R_8
R_16
R_16F
R_32F
RG_8
RG_16
RG_16F
RG_32F
RGB_888

They have been disabled due to a number of issues (data corruption in HDR to LDR or visa versa, missing channel data, etc.)

NPCompress avatar Jan 05 '23 16:01 NPCompress

This is pretty similar to #219

denislevesqueAMD avatar Jul 20 '23 19:07 denislevesqueAMD