Skip to content

Smaller images 2 (electric boogaloo)#6

Open
obj-obj wants to merge 3 commits into
ComplementaryDevelopment:mainfrom
obj-obj:main
Open

Smaller images 2 (electric boogaloo)#6
obj-obj wants to merge 3 commits into
ComplementaryDevelopment:mainfrom
obj-obj:main

Conversation

@obj-obj

@obj-obj obj-obj commented Jan 24, 2023

Copy link
Copy Markdown

Uses https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture to fallback to regular jpegs if the browser doesn't support JPEG-XL

@obj-obj

obj-obj commented Jan 24, 2023

Copy link
Copy Markdown
Author

I also made jpeg-xl versions of all the other images for future use (there isn't really a way to fallback to regular jpegs in background-image or on icons)

@EminGT

EminGT commented Jan 28, 2023

Copy link
Copy Markdown
Member

This is pretty cool, but JPEG-XL is so unsupported by every browser right now that I don't think it's worth it to even add them with fallbacks. This may be quite nice in the future though

@obj-obj

obj-obj commented Jan 28, 2023

Copy link
Copy Markdown
Author

This is pretty cool, but JPEG-XL is so unsupported by every browser right now that I don't think it's worth it to even add them with fallbacks. This may be quite nice in the future though

Yeah it doesn't even work with the experimental support in firefox right now (I guess that's why the support is experimental)

@obj-obj

obj-obj commented Jun 11, 2023

Copy link
Copy Markdown
Author

Safari is adding jpeg-xl support, maybe this will get Chrome/Firefox to also consider support (google removed jpeg-xl from chrome a while back)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants