h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.5k stars 455 forks source link

Set default width to image when `-set-default-width` is passed #389

Closed vaibsharma closed 2 years ago

vaibsharma commented 2 years ago

Hey @h2non,

This is to add default width field in the image options when -set-default-width is passed.

Please have a look at the PR

h2non commented 2 years ago

Why not just pass the width URL param?

vaibsharma commented 2 years ago

It could possible that someone just might want to change the format or quality of image but not height and width.

vaibsharma commented 2 years ago

@h2non looks like I can use /convert without providing external width param. Closing this PR.