QOI (Quite OK Image) support

Here everybody can post his problems with PhotoLine
csanchez
Mitglied
Posts: 22
Joined: Tue 19 Jul 2022 06:00

QOI (Quite OK Image) support

Post by csanchez »

I discovered this format thanks to someone who implemented it in JPEGView (the best image viewer for Windows in my opinion).

According to its website:
QOI is fast. It losslessly compresses images to a similar size of PNG, while offering 20x-50x faster encoding and 3x-4x faster decoding.

This makes it an excellent optional alternative to PNG to use e.g. as an internal format for PhotoLine projects, especially if they include many images / large images.

QOI website
https://qoiformat.org/

JPEGView QOI implementation topic in github
https://github.com/sylikc/jpegview/pull/150
User avatar
shijan
Mitglied
Posts: 1675
Joined: Mon 23 Dec 2019 15:21
Location: Ukraine

Re: QOI (Quite OK Image) support

Post by shijan »

PLD needs support for 16-bit and 32-bit depth per channel. So if that QOI format only support 8-bit per channel, it makes no any sense as replacement for PNG compression in PLD files.
The Quite OK Image Format (QOI) is a specification for lossless image compression of 24-bit (8 bits per color RGB) or 32-bit (8 bits per color with 8-bit alpha channel RGBA) color raster (bitmapped) images, invented by Dominic Szablewski and first announced November 24th 2021.[1]
https://github.com/phoboslab/qoi/issues/108
QOI will remain at 8bit color depth.

For QOI-2 or whatever it will be called, I agree that supporting higher color-depths is probably a good idea. I'm not so sure about paletted or lower color-depths, though.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
csanchez
Mitglied
Posts: 22
Joined: Tue 19 Jul 2022 06:00

Re: QOI (Quite OK Image) support

Post by csanchez »

Oh, you're right shijan, thanks for the information :)
I guess it would still be okay if the read/write support is added anyway.