Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert jpg to a fixed size #219

Closed
sarovin opened this issue Dec 10, 2019 · 2 comments
Closed

Convert jpg to a fixed size #219

sarovin opened this issue Dec 10, 2019 · 2 comments

Comments

@sarovin
Copy link

sarovin commented Dec 10, 2019

Hi,
how can I run this task with this library?
convert original.jpeg -define jpeg:extent=300kb output.jpg

I want to restrict the resulting image to a maximum file size.

@justinfx
Copy link
Member

Try MagickWand.SetOption()?

@justinfx
Copy link
Member

justinfx commented Jan 3, 2020

Closing for inactivity. Hopefully my previous reply solved your problem

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

No branches or pull requests

2 participants