https://github.com/ltmx/unity.qoi
QOI Importer & Exporter for Unity
https://github.com/ltmx/unity.qoi
exporter image image-format importer jpg png qoi qoi-format qoi-sharp quite-ok-image-format unity unity-editor unity-qoi unity3d
Last synced: 4 months ago
JSON representation
QOI Importer & Exporter for Unity
- Host: GitHub
- URL: https://github.com/ltmx/unity.qoi
- Owner: ltmx
- License: mit
- Created: 2023-02-21T14:14:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T11:01:09.000Z (about 1 year ago)
- Last Synced: 2025-04-05T23:41:06.387Z (7 months ago)
- Topics: exporter, image, image-format, importer, jpg, png, qoi, qoi-format, qoi-sharp, quite-ok-image-format, unity, unity-editor, unity-qoi, unity3d
- Language: C#
- Homepage:
- Size: 2.31 MB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

## QOI Image Format Importer & Exporter for Unity




[](https://openupm.com/packages/com.ltmx.unity.qoi/)
[](https://unity3d.com)
## Features
- Supports RGB & RGBA Formats
```csharp
anyTexture2D.EncodeToQOI() // Returns a byte array of the encoded Texture2D
anyTexture2D.SaveToFile(TextureEncodingFormat.QOI) // Opens a native window to save your file
```
Context Menu Action
Output Folder
### Importer Inspector Parameters
Most settings have been mapped from how unity imports other image formats, to ensure behaviour compatibility

## Installation
### UNITY PACKAGE MANAGER (recommended)
1. Copy this URL: ``https://github.com/LTMX/Unity.QOI.git``
2. In Unity menu bar, go to ``Window > Package Manager`` [Help](https://docs.unity3d.com/Manual/Packages.html)
3. In Unity Package Manager, click ``(+ button) > Add package from Git URL...`` (info / troubleshooting Git URL packages in Unity)
4. Paste URL from step 1 into the URL box and click ``Add``
5. Unity.QOI will now automatically update from GitHub
### Zip Package From Releases
- Or manually download the latest .ZIP from [Releases](https://https://github.com/LTMX/Unity.QOI/releases)
and unzip to `//Packages/com.ltmx.unity.qoi/`
## Contribute
- please post bug reports or (small) feature requests as an [Issue](https://github.com/LTMX/Unity.QOI/issues)
- [Pull Requests](https://github.com/LTMX/Unity.QOI/pulls) are welcome and encouraged !
## Credits
- [QOI Image Format](https://github.com/phoboslab/qoi)
- [New Encoder : qoi.csharp](https://github.com/kroppt/qoi.csharp)
- [`Deprecated Encoder : QOISharp`)](https://github.com/alanmcgovern/QoiSharp)
- Importer from Ben1138, though modified a lot
## LICENSE
This project is licensed under the MIT License (License)