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

Comparison with other tools #46

Closed
mathpere opened this issue Oct 3, 2015 · 9 comments
Closed

Comparison with other tools #46

mathpere opened this issue Oct 3, 2015 · 9 comments

Comments

@mathpere
Copy link

mathpere commented Oct 3, 2015

Hello,

Could you provide some comparison / benchmarks with other tools like GraphicsMagick?

Best regards,

Mathieu

@brutyke
Copy link

brutyke commented Oct 3, 2015

Sorry,
I’m new to all this and haven’t used any other tools.
I’m looking for something to auto-resize photos uploaded via website by (logged in) visitors, otherwise I’ll end up with 50MB photos ! And, I have to use something compatible with Classic ASP on a Windows server ;-((

Regards
Dave

From: Mathieu Perez [mailto:notifications@github.com]
Sent: 03 October 2015 10:32
To: oliver-moran/jimp
Subject: [jimp] Comparison with other tools (#46)

Hello,
Could you provide some comparison / benchmarks with other tools like GraphicsMagick?
Best regards,
Mathieu

Reply to this email directly or view it on GitHub #46 .Image removed by sender.

@oliver-moran
Copy link
Collaborator

@mathpere, a related question is here:

#35

Performance isn't the primary goal of the library. Rather portability is. The goal of the project is to develop a production image library with no native dependencies.

ImageMagick, etc. require native applications to do the actual image processing. Jimp has no native dependencies. That means Jimp is easier installed and wholly portable. ImageMagick or another native-dependant library will be more performant but at a cost of ease of installation and portability.

Whether you go for Jimp or a native-dependent library will depend on your requirements.

Sharp added Jimp to their benchmark tests last week. They have yet to publish the results but from initial testing it looks like Jimp is comparable to lwip (native-based) library:

lovell/sharp#275 (comment)

If that's the case then the fastest native-dependant library is 14 times faster and ImageMigick is about 4-6 times faster than Jimp:

http://sharp.dimens.io/en/stable/performance/

@mathpere
Copy link
Author

mathpere commented Oct 4, 2015

Yes, I did understand the philosophy of Jimp. I'd like to know at what price is portability.

Thanks for pointing me these links.

@lovell
Copy link

lovell commented Oct 10, 2015

Hello, the performance results for a JPEG decode > bilinear resize > JPEG encode round-trip have now been updated to include jimp - see http://sharp.dimens.io/en/latest/performance/#results

In summary, the JavaScript jimp demonstrates performance comparable with the C++ CImg (via the lwip wrapper).

@oliver-moran
Copy link
Collaborator

@lovell thanks so much. Those are really interesting results.

@grantcarthew
Copy link

Hi @lovell , These performance links should be on your README. Everyone who investigates this library are going to want to know the cost of choosing Jimp over other native options.

@lovell
Copy link

lovell commented Mar 7, 2018

@grantcarthew If "your README" refers to sharp then did you see the "benchmark tests" link in https://github.com/lovell/sharp/blob/master/README.md#documentation ?

@grantcarthew
Copy link

This one mate: https://github.com/oliver-moran/jimp/blob/master/README.md
At least a link to the sharp documentation.
I had to search and find this closed issue to get performance details.

@lovell
Copy link

lovell commented Mar 8, 2018

@grantcarthew I don't maintain jimp. Perhaps you could submit a PR to jimp with the change you suggest?

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

5 participants