andismith / grunt-responsive-images

Produce images at different sizes for responsive websites.
http://www.andismith.com/grunt-responsive-images/
MIT License
719 stars 96 forks source link

Jimp support #119

Closed ArmorDarks closed 6 years ago

ArmorDarks commented 7 years ago

Hi

First of all, thanks for great task! We're happy to use it in Kotsu for quite a while.

It seems that finally Node community got alternative for external dependencies like GraphicsMagick or ImageMagick in form of Jimp

Are there any chances to see support of it?

andismith commented 7 years ago

If there's interest in support for this, sure. Please let me know by upvoting this issue!

I'm not sure if Jimp has all the features we currently support though?

ArmorDarks commented 7 years ago

I'm not sure if Jimp has all the features we currently support though?

Can't tell for sure for now, have to study it closer. However, I'm quite doubtful that it will ever support all GM features, but set of current features should be enough.

Most important, a lot of people will trade off some non-crucial features for absence of need to install external dependency.

andismith commented 7 years ago

JIMP doesn't support GIFs. How do people feel about this?

ArmorDarks commented 7 years ago

We didn't use in our projects gif for years (png FTW), but I think some people might be upset with it.

Jimp could be regarded only as alternative engine, since it's anyway not as powerful as GraphicsMagick. Though, in most project nobody will need all capabilities of GraphicsMagick.

However, I have some concerns about well being of Jimp. During last month there were very little development in their repository...

ArmorDarks commented 7 years ago

There seems to be js implementation of gif encoder/decoder called omggif, so I've opened issue about it in Jimp repo. Maybe eventually Jimp will get gif support too.

Ref https://github.com/oliver-moran/jimp/issues/166

andismith commented 6 years ago

Please consider using https://www.npmjs.com/package/grunt-jimp for JIMP support

ArmorDarks commented 6 years ago

Not exactly what I meant.

grunt-jimp isn't that good adapted for image scaling and related to it nice features. But whatever :)