swap from avif to webp

This commit is contained in:
Jack Wines 2023-02-08 23:23:27 -08:00
parent b9cc69b5a0
commit f1e5ff2b86
5 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,9 @@
# image-triangles
### examples
![Sierra mountains original](examples/sierra.jpg)
![Sierra mountains post-filter](examples/sierra-result.avif)
![Sierra mountains post-filter](examples/sierra-result.webp)
![Dog original](examples/luna.jpeg)
![Dog post-filter](examples/luna-result.avif)
![Dog post-filter](examples/luna-result.webp)
### to run:
@ -11,5 +11,5 @@ Install [cabal & ghc](https://www.haskell.org/ghcup/) if you don't have them.
```
cabal update
cabal run image-triangles -- --cornerCount 1000 --input examples/sierra.jpg --output output.avif
cabal run image-triangles -- --cornerCount 1000 --input examples/sierra.jpg --output output.png
```

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

BIN
examples/luna-result.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 MiB

BIN
examples/sierra-result.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB