-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thoughts and ideas about the growing size of (image) data #49
Comments
yeah I think we could add support for avif like how we did for jpeg and png |
Probably DDS is a better solution as it's hardware supported, so no need to unpack them in video memory. |
I would still not disregard AVIF. Short test:
|
a rough implementation of loading avif textures. the APIs in libavif are simple enough only CelestiaProject/Celestia#1129 |
I have created an AppImage (Linux) with the AVIF patch for testing. With AVIF (~135M ) Without AVIF (~ 268M) JPGs and PNGs have been converted under The conversion itself takes place during the package build and can be examined in https://build.opensuse.org/package/view_file/home:munix9:test/celestia-data/celestia-data.spec?expand=1 starting with the line avifenc options
|
I will change the "official" unstable openSUSE packages and the AppImage to avif soon - maybe there will be some feedback from the users. |
That's done (for now). There are additional packages, for now only for openSUSE: I will probably deactivate These now overwrite the original, unconverted images of the package The AppImage uses the package Maybe I can somehow manage to use github-actions to do the conversion and then you can download the finished packages as zip and/or xz packages, let's see. |
While looking at updating planet textures to a better resolution and with a clear and open source license, I've found this site where high resolution textures are available under CC-BY-4.0. |
I'm thinking about the growing size of the (image) data.
Has any thought been given to possibly trying a more efficient image format?
I'm currently playing around a bit with AVIF and the compression and quality are astounding.
Example:
textures/hires/earth.png ~ 11M
After conversion using
avifenc earth.png earth.avif
earth.avif ~ 1,7M
See also:
https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF)
https://github.com/AOMediaCodec/libavif/tree/master/examples
The text was updated successfully, but these errors were encountered: