sharp-loader
sharp-loader copied to clipboard
webpack + sharp image processing.
Hi all, I am trying to optimize my media assets with webpack, I use [`image-minimizer-webpack-plugin`](https://github.com/webpack-contrib/image-minimizer-webpack-plugin/) to optimize the quality. I looked for a plugin that generates thumbnails and found this...
I'am getting a deprecation warning which should be related to sharp version: (node:27161) DeprecationWarning: crop(position) is deprecated, use resize({ fit: "cover", position }) instead I'am using sharp v0.21.3.
Setting the quality option has no impact on filesize e.g. JPEGs ```javascript preset: { width: 300, quality: 50 } ``` Also the format syntax has no effect. I'am using sharp:...
I'm working on a project in Gatsby and don't want to mess about with the canned webpack configuration it provides just to load a couple of images. So I want...
This would allow the user full access to sharp transformations, and would even allow the use of third party transformations (openCV, for instance).
This could enable the ability to add different output formats not normally supported by `sharp`. One may generate e.g. a `favicon` with: https://github.com/steambap/png-to-ico/blob/master/index.js
Added an ugly UI to the example. [Demo](//tedious-position.surge.sh)