项目作者: siketyan

项目描述 :
Decodes PVR files and exports to Bitmap or image file.
高级语言: Objective-C
项目地址: git://github.com/siketyan/DePvr.git
创建时间: 2018-08-12T04:40:30Z
项目社区:https://github.com/siketyan/DePvr

开源协议:Other

下载


DePvr

Decodes PVR files and exports to Bitmap or image file.

Features

  • 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.

Environment

  • Windows 10
  • .NET Framework 4.7.1

Example

  1. var pvr = Pvr.LoadFromFile("texture.pvr"); // Automatically transcoded
  2. pvr.FlipVertical();
  3. pvr.Export("export.png");
  4. // pvr.Export("export.jpg", ImageFormat.Jpeg);

License

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.