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

sharp alternative? #203

Closed
coolzilj opened this issue Dec 18, 2015 · 11 comments
Closed

sharp alternative? #203

coolzilj opened this issue Dec 18, 2015 · 11 comments

Comments

@coolzilj
Copy link

Is it possible to replace sharp with some lightweight image processing library?
It's just painful when updating sharp, it took me half an hour to install and compile all the dependencies.

==> Upgrading 1 outdated package, with result:
homebrew/science/vips 8.1.1
==> Upgrading homebrew/science/vips
==> Installing dependencies for homebrew/science/vips: pkg-config, libpng, glib, orc, cairo, gobject-introspection, icu4c, harfbuzz, pango, pygobject3, sqlite, python, graphicsmagick,
==> Installing homebrew/science/vips dependency: pkg-config
@bruno12mota
Copy link
Member

Can be an option at least for dev environment. Do you know some?

@magalhas
Copy link
Member

It it's as good as sharp but lighter it should be an option for production as well.

@coolzilj
Copy link
Author

I found these days ago, but have never used them.

  • lwip written in C/C++, no external runtime dependencies
  • jimp written in JavaScript, with zero external or native dependencies.

@coolzilj
Copy link
Author

I found the benchmark results.
http://sharp.dimens.io/en/stable/performance/
It seems like sharp is 20x faster than others, option for dev would be great.

@bruno12mota
Copy link
Member

Nice @coolzilj! Yes, having an option for dev only seems ideal

@lovell
Copy link
Contributor

lovell commented Jan 23, 2016

Hello, for anyone interested in the dependency-less install of sharp on OS X, please subscribe to lovell/sharp#312

@rsilvestre
Copy link

A good idea could be to use directly cloudinary

@lovell
Copy link
Contributor

lovell commented Jun 18, 2016

Experimental support for a runtime dependency-free version of sharp on OS X is now available to test - please see lovell/sharp#312 (comment)

@dzcpy
Copy link

dzcpy commented Aug 19, 2016

https://www.npmjs.com/package/images
This one seems to be a nice lightweight alternative of sharp. It has prebult binaries for many platforms so in most cases there's no need to compile anything.

@lovell
Copy link
Contributor

lovell commented Aug 19, 2016

v0.16.0 of sharp no longer requires the installation of the libvips dependency on OS X. This means all Windows (x64), Linux (x64, ARM) and now OS X users are dependency-less at runtime.

The remaining work to also remove the compilation step via the use of node-pre-gyp is being tracked at lovell/sharp#186.

@lovell
Copy link
Contributor

lovell commented Mar 5, 2018

Quick follow up for issues linked to lovell/sharp#186 - prebuilt sharp.node binaries are now available in v0.20.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants