Decodes PVR files and exports to Bitmap or image file.
- Loads a PVR texture from a file, a byte array or a stream.
- Transcodes pixel format of the texture to RGBA8888.
- Flips the texture vertically or horizontally.
- Exports the texture to a Bitmap object or an image file such as PNG.
- Windows 10
- .NET Framework 4.7.1
var pvr = Pvr.LoadFromFile("texture.pvr"); // Automatically transcoded
pvr.FlipVertical();
pvr.Export("export.png");
// pvr.Export("export.jpg", ImageFormat.Jpeg);
This library is released under the MIT license.
For details, please refer LICENSE.md
.
Please note that this contains Imagination Technologies' PVRTexLib library in PVRTexTool.
The license of the library is in LICENSE_POWERVR_TOOLS.txt
.