https://github.com/siketyan/depvr
Decodes PVR files and exports to Bitmap or image file.
https://github.com/siketyan/depvr
bitmap csharp-library dotnet-framework pvr windows
Last synced: about 2 months ago
JSON representation
Decodes PVR files and exports to Bitmap or image file.
- Host: GitHub
- URL: https://github.com/siketyan/depvr
- Owner: siketyan
- License: mit
- Created: 2018-08-12T04:40:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T03:56:16.000Z (almost 8 years ago)
- Last Synced: 2025-09-28T19:34:26.059Z (9 months ago)
- Topics: bitmap, csharp-library, dotnet-framework, pvr, windows
- Language: Objective-C
- Homepage:
- Size: 1.75 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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
```cs
var pvr = Pvr.LoadFromFile("texture.pvr"); // Automatically transcoded
pvr.FlipVertical();
pvr.Export("export.png");
// 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](https://community.imgtec.com/developers/powervr/tools/pvrtextool/)**.
The license of the library is in `LICENSE_POWERVR_TOOLS.txt`.