Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-11T09:55:57.000Z (10 months ago)
- Last Synced: 2024-05-01T19:30:13.127Z (8 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.3 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![Unity.QOI Logo](https://github.com/LTMX/Unity.QOI/blob/main/.branding/LTMX_Unity_QOI_Github_Banner_Thin.png)
## QOI Image Format Importer & Exporter for Unity
![GitHub repo size](https://img.shields.io/github/repo-size/LTMX/Unity.QOI?style=for-the-badge)
![GitHub package.json version](https://img.shields.io/github/package-json/v/LTMX/Unity.QOI?style=for-the-badge&color=blueviolet)
![GitHub top language](https://img.shields.io/github/languages/top/LTMX/Unity.QOI?style=for-the-badge&color=success)
![GitHub](https://img.shields.io/github/license/LTMX/Unity.QOI?style=for-the-badge)
[![openupm](https://img.shields.io/npm/v/com.ltmx.unity.qoi?style=for-the-badge&label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.ltmx.unity.qoi/)
[![Made for Unity](https://img.shields.io/badge/Made%20for-Unity-57b9d3.svg?style=for-the-badge&logo=unity&color=blueviolet)](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)