Awesome
QOI Image Format Importer & Exporter for Unity
<!-- <br> <img align="left" src="https://raw.githubusercontent.com/LTMX/Banners-And-Buttons/main/Support%20Me%20Kofi%20Banner%20Shader%20Graph%20Mastery.png" width="140px"/> <br> -->Features
- 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
<table>
<tr>
<td>
<a href="selftitled.html">
<div class="imgWrap floatleft">
<h3>Context Menu Action</h3>
<img src="https://raw.githubusercontent.com/LTMX/Unity.QOI/main/.documentation/QOI%20Context%20Menu.png" height="128">
</div>
</a>
</td>
<td>
<a href="12x5.html">
<div class="imgWrap floatleft">
<h3>Output Folder</h3>
<img src="https://raw.githubusercontent.com/LTMX/Unity.QOI/main/.documentation/Qoi%20Output%20Folder.png" height="128">
</div>
</a>
</td>
</tr>
</table>
Importer Inspector Parameters
Most settings have been mapped from how unity imports other image formats, to ensure behaviour compatibility
<img width="300" src="https://raw.githubusercontent.com/LTMX/Unity.QOI/main/.documentation/LTMX%20Unity%20Qoi%20Importer%20Editor%20Inspector.png"> <!-- ### Editor Window <img height="170" src=".documentation/Qoi%20Editor%20Window.png"> <img height="170" src=".documentation/Find%20Qoi%20Editor%20Window.png"> -->Installation
UNITY PACKAGE MANAGER (recommended)
- 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
Zip Package From Releases
- Or manually download the latest .ZIP from Releases
and unzip to
/<your project folder>/Packages/com.ltmx.unity.qoi/
Contribute
- please post bug reports or (small) feature requests as an Issue
- Pull Requests are welcome and encouraged !
Credits
-
<a href="https://github.com/Ben1138/unity-qoi">Importer from Ben1138, though modified a lot</a>