- Supports RGB & RGBA Formats
anyTexture2D.EncodeToQOI() // Returns a byte array of the encoded Texture2D
anyTexture2D.SaveToFile(TextureEncodingFormat.QOI) // Opens a native window to save your file
Most settings have been mapped from how unity imports other image formats, to ensure behaviour compatibility
- Copy this URL:
https://github.com/LTMX/Unity.QOI.git
- In Unity menu bar, go to
Window > Package Manager
Help - In Unity Package Manager, click
(+ button) > Add package from Git URL...
(info / troubleshooting Git URL packages in Unity) - Paste URL from step 1 into the URL box and click
Add
- Unity.QOI will now automatically update from GitHub
- Or manually download the latest .ZIP from Releases
and unzip to
/<your project folder>/Packages/com.ltmx.unity.qoi/
- please post bug reports or (small) feature requests as an Issue
- Pull Requests are welcome and encouraged !
This project is licensed under the MIT License (License)