Comments (1)
Hi folks, pretty neat project, congrats!
I'm building an image cdn for my project. This image CDN is pretty similar to how imagekit and cloudflare images operate. I want to:
- Fetch an image from an external source (url) in png/jpeg format
- Resize/crop the image
- Encode into webp / avif depending on the brower's User Agent.
I can use photon for 1 and 2, however the step 3 is missing. I know Rust has support for this so it shouldn't be hard to add support for this in photon. My question is: Would you be interested in a contribution adding support for webp/avif?
Thanks!
I currently use a third party library https://github.com/ccbikai/cloudflare-worker-image
from photon.
Related Issues (20)
- open_image for panorama images on Safari throws InvalidStateError
- Why is there such a big difference in the processing time between photon_rs and photon? HOT 3
- Possibly flawed implementation of image blending HOT 6
- Uncaught RuntimeError: unreachable in Node on multiple functions HOT 7
- Compressing Image HOT 4
- Cloudflare Workers Tutorial Boilerplate WASM WASI HOT 3
- Speed issue with pure rust usage HOT 3
- Some filters are not working HOT 1
- How to use `open_image_from_bytes`? HOT 3
- Use without wasm HOT 4
- Watermark with opacity HOT 1
- Pixel Byte vs Bytes HOT 1
- web workers ? HOT 1
- Question: Any workflow to work with stereo image pairs?
- Can use photon with 16 bit grayscale images?
- Creating security.md HOT 1
- How to selectively convert alpha channel?
- Add LUT / Windowing for medical images
- Heif
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photon.