Support the QOI format #17

Open
opened 2022-03-20 09:45:59 +01:00 by Massena · 2 comments

Hello !

That would be very interesting if gint could use the QOI image format as an alternative to PNG.

QOI images are lighter and faster, and we could make image-heavy programs with it (like a visual novel...), or just have slighty better performances.

Thanks :)

Hello ! That would be very interesting if gint could use the [QOI image format](https://qoiformat.org/) as an alternative to PNG. QOI images are lighter and faster, and we could make image-heavy programs with it (like a visual novel...), or just have slighty better performances. Thanks :)
Owner

As a reminder, PNG images never get to the calculator; they are converted to the bopti format first, which is a bitmap.

QOI images would therefore be lighter in an add-in, but clearly not faster. It seems likely that decoding them in real-time would be edgy in terms of performance, and the safest option might be to unpack them into the bopti format in RAM. Still, the compromise is interesting.

To fully exploit the format I think a 16-bit variation would help quite a bit. The basic format is 24-bit which is a waste of space for us.

As a reminder, PNG images never get to the calculator; they are converted to the bopti format first, which is a bitmap. QOI images would therefore be lighter in an add-in, but clearly not faster. It seems likely that decoding them in real-time would be edgy in terms of performance, and the safest option might be to unpack them into the bopti format in RAM. Still, the compromise is interesting. To fully exploit the format I think a 16-bit variation would help quite a bit. The basic format is 24-bit which is a waste of space for us.
Author

Oh, that's right. Thanks x3

Oh, that's right. Thanks x3
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Lephenixnoir/gint#17
No description provided.