Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use ImageMagick's `convert`.

  convert original.jpg -define jpeg:extent=2MB output.jpg
The result will be around 2MB in size (in both directions).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: