3 ms·
I found the nginx native image library completely inadequate a few years ago, so I had to use the perl module to connect it to imagemagick libraries instead. M
by ck2 11y ago
I found the nginx native image library completely inadequate a few years ago, so I had to use the perl module to connect it to imagemagick libraries instead. Much higher quality results.
Not sure if they have improved the native library but I doubt it has the flexibility.
The important part is caching the results because of the expensive cpu time.
ps. googling about the current state of this came up with an interesting nginx module which talks to imagemagick (or gd) directly https://github.com/cubicdaiya/ngx_small_light https://github.com/cubicdaiya/ngx_small_light
- brightball 11y agoAgreed
- quicksilver03 11y agoI second this, for a recent e-commerce project we started using nginx's image_filter but the quality of the resized images was unacceptable. We ended up using Thumbor, which was able to give us much better looking images (but at the cost of being extremely difficult to deploy on the CentOS 6.x servers we had at that time).