Picture Compression

Hey guys so i have image.jpeg wish is 2.5 MB or bigger. i want to compress the picture so i can use it on web applications. I don’t even know how to approach it. Looked in to too imaging library but maybe i din’t look deep enough only saw options for cropping, blurred version and other options please help with a code sample or point me in the right direction. so i can do better research. thanks.

Will this do?

it did i was able to cut my file size in half without getting in much trouble. thanks i appreciate the help.
ended up using this “github.com/disintegration/imaging”. But thanks for pointing me in the right direction.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.