-
Notifications
You must be signed in to change notification settings - Fork 21
Description
At present we have single size image resizing: 7. Resizing/compressing files
This is a very good starting point, 👍
but it sets and artificial constraint
that ends up looking "meh" on most devices.
Story
As a person using multiple devices to view the App - that features image content -
I want images to conform to the device/screen size
So that they always look their best.
As noted in #91 our friend has created https://github.com/jupiter/rust-image-worker
which appears to be well-documented and tested and runs on Cloudflare with CDN caching. 🏎️
While it currently does not have support for certain formats jupiter/rust-image-worker#3
But the underlying library does support GIF and Webp: https://docs.rs/image/latest/image/enum.ImageFormat.html#variant.Gif
Todo
- Follow the deployment instructions in the repo: https://github.com/jupiter/rust-image-worker#how-to-use
- Create a new file to document our setup/deployment in _even _more detail:
dynamic-resizing.md
- Create a new file to document our setup/deployment in _even _more detail:
- Bonus Level: Create Pull Request extending the image support: Project Maintained? jupiter/rust-image-worker#3 (comment)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
