Comments (1)
Hi Dima,
We use a dirty hack for the similar need (fixed width, various height): specify the desired width and an "impossible" height with fit
resize algorithm. 300x9999999 for example. If the image doesn't have a huge aspect ratio, it will always be resized to the width of 300. In your case, you should specify desired height and "impossible" width.
Anyway, if you have a solution for this, I'd like to check it out. PRs are always welcome :)
from imgproxy.
Related Issues (20)
- Provide a more detailed error message why local:// is not available when IMGPROXY_LOCAL_FILESYSTEM_ROOT is not set
- GIF gint is invalid or out of range HOT 2
- Can't connect to firebase local emulator
- Priority of /format: %format/ and @ HOT 1
- Crop Area with focus point HOT 5
- Im Confused on how to code HOT 4
- ThumbHash support HOT 3
- Can warning logs `Recursive preset usage is detected: default` be suppressed? HOT 2
- Memory not being returned correctly HOT 3
- video thumbnail extraction: some videos reset back to 0? seconds for image returned HOT 2
- Issue with opentelemetry endpoint that contains a path HOT 2
- Documentation does not mention that presets should be used with a `preset:` prefix in the Presets Guide HOT 1
- SVG source format doesn't work with WEBP_DETECTION and AVIF_DETECTION HOT 2
- Only first 10 parameters are pulled from AWS parameter store HOT 3
- Support deploying to Deta Space HOT 4
- Allow original image if new content-length is larger than origin content length HOT 8
- Feature request: send more data to Sentry HOT 1
- Resize images HOT 4
- Publish docker images to github container registry (ghcr.io) HOT 4
- Inconsistent status code HOT 4
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 imgproxy.