Image Resampling

Can someone recommend a good image resampler?  I need to reduce the size of several jpeg files to be display in an ASP.NET application.
Ray TurnerSenior ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
I'm imaging you're talking about an image compressor.

Each image type will have a optimal compressor.

If you'd like to only use a single tool with a common interface, use the ImageMagick convert command.

There is no... one size fits all way to do this... To determine what will work with each image normally requires running several recipes (strings of commands or compressor settings) to find a optimal setting for one image.

For sets of images, like photographs taken under same lighting conditions + camera settings you may be able to pick on group of settings which will work with a set of common photos.

Typically a human will be involved in this process.

You'll also likely have to build the best tools.

For example, https://github.com/mozilla/mozjpeg is hands down the best jpeg compressor + you'll likely have to build this from source, as very few OS Distros provide prepackaged versions.
0
Ray TurnerSenior ConsultantAuthor Commented:
I've downloaded ImageMagick.  I want to simply reduce the size of an image so as to a) reduce the amount of space the image takes up on the server and b) make the image load/render quicker.

To accomplish this what command line options should I use?

Thanks
0
Joe Winograd, Fellow&MVEDeveloperCommented:
Hi Ray,
I've downloaded ImageMagick. I want to simply reduce the size of an image so as to a) reduce the amount of space the image takes up on the server and b) make the image load/render quicker.
GraphicsMagick is a fork of ImageMagick. While the two products have gone down their own paths since the fork, they still have a lot in common, including the mogrify command that I mentioned in my answer to your other question.
To accomplish this what command line options should I use?
The commands are the same, except with magick.exe instead of gm.exe, that is:

magick mogrify -quality xxx input1.jpg input2.jpg input3.jpg
magick mogrify -quality xxx *.jpg

I thought you were looking for something different this time ("resample/resize"), but if all you want to do is "simply reduce the size of an image", the solution remains the same. Regards, Joe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray TurnerSenior ConsultantAuthor Commented:
Thanks!
0
Joe Winograd, Fellow&MVEDeveloperCommented:
Pleasure!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.