Imagination PowerVR SDK Blog

How do you use saveFileLegacyPVR() : ETC2 or ETC2A format ?


#1

hello.

i want to make PVR version 2 file use savefileLegacyPVR function.

but

Transcode(texture, ePVRTPF_ETC2_RGBA,ePVRTVarTypeUnsignedByteNorm, ePVRTCSpacelRGB, eETCSlow);

texture.saveFileLegacyPVR(“temp.etc”, eOGLES2);

I always get false as response.


#2

Hi Gylee,



PVR version 2 does not support ETC2. For a complete list of pixel formats supported by this legacy file format, please check out the PVR File Format.Specification.Legacy.pdf document included in our latest SDK.



Thanks,

Lawrence