Postleaf / postleaf

Simple, beautiful publishing with Node.js.
https://www.postleaf.org/
MIT License
505 stars 204 forks source link

Replace GraphicsMagick with Sharp #68

Open claviska opened 6 years ago

claviska commented 6 years ago

This is a breaking change and removes some features of DynamicImages (mostly filters), but it's necessary for performance reasons. GraphicsMagick isn't nearly as performant as Sharp, which shows when an image-intensive page loads without cache.

Sharp is built for speed and also supports WEBP and SVG. It doesn't have certain features such as flip, blur, and various filters, but I don't see those being used that heavily in themes anyway. The performance boost is well worth the tradeoff.