Skip to content

Commit

Permalink
Merge pull request #9 from Fil/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit authored Jul 13, 2024
2 parents 54c3b79 + d47d224 commit aca0926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This package uses a very similar LQIP approach to the one used by [Medium](https

We use `sharp` to resize input images to a max dimension of `16px` and output `webp` (default) or `jpeg` images with an encoding `quality` set to 20. The max dimension is a single, simple variable to tradeoff between encoded image size and visual fidelity.

This resuls in very efficient placeholder images that have noticeable artifacts due to the low quality encoding. These artifacts are then hidden in the browser using a simple blur filter.
This results in very efficient placeholder images that have noticeable artifacts due to the low quality encoding. These artifacts are then hidden in the browser using a simple blur filter.

```css
.placeholder {
Expand Down

0 comments on commit aca0926

Please sign in to comment.