Skip to content

Commit

Permalink
feat: add avif & jxl support
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdawn committed Dec 16, 2023
1 parent 03aa87c commit 378b5bc
Show file tree
Hide file tree
Showing 6 changed files with 1,085 additions and 632 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ example pattern `himg c -f './*.jpg' -t -o ':dir/compressed/:name.:ext'`

</details>

## Which codec & quality should I choose ?

See

- https://tsev.dev/posts/2023-11-10-should-avif-be-the-dominant-image-format/
- AND /~https://github.com/magicdawn/magicdawn/issues/170#issuecomment-1858817900

## Changelog

[CHANGELOG.md](CHANGELOG.md)
Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,43 +42,43 @@
"homepage": "/~https://github.com/magicdawn/handy-img#readme",
"dependencies": {
"@magicdawn/finder-sort": "^0.3.4",
"@magicdawn/x-args": "^0.2.0",
"@magicdawn/x-args": "^1.0.0",
"bytes": "^3.1.2",
"chalk": "5",
"clipanion": "3.2.1",
"esm-utils": "^4.1.2",
"fast-glob": "^3.3.1",
"figures": "^5.0.0",
"fs-extra": "11.1.1",
"humanize-duration": "^3.29.0",
"log-symbols": "^5.1.0",
"mac-helper": "^0.1.1",
"esm-utils": "^4.2.1",
"fast-glob": "^3.3.2",
"figures": "^6.0.1",
"fs-extra": "11.2.0",
"humanize-duration": "^3.31.0",
"log-symbols": "^6.0.0",
"mac-helper": "^0.1.2",
"node-mozjpeg": "^1.0.1",
"os-locale": "6",
"promise.map": "^0.5.0",
"sharp": "0.32.5",
"sharp": "0.33.0",
"typanion": "^3.14.0"
},
"devDependencies": {
"@magicdawn/eslint-config": "^0.1.0",
"@magicdawn/prettier-config": "^0.0.2",
"@swc/core": "^1.3.78",
"@swc/helpers": "^0.5.1",
"@types/bytes": "^3.1.1",
"@types/eslint": "^8.44.2",
"@types/fs-extra": "^11.0.1",
"@types/humanize-duration": "^3.27.1",
"@types/node": "^20.5.4",
"@vitest/coverage-v8": "^0.34.2",
"eslint": "8.47.0",
"@magicdawn/prettier-config": "^0.0.3",
"@swc/core": "^1.3.100",
"@swc/helpers": "^0.5.3",
"@types/bytes": "^3.1.4",
"@types/eslint": "^8.44.9",
"@types/fs-extra": "^11.0.4",
"@types/humanize-duration": "^3.27.3",
"@types/node": "^20.10.4",
"@vitest/coverage-v8": "^1.0.4",
"eslint": "8.56.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"type-fest": "^4.2.0",
"typescript": "^5.1.6",
"vitest": "^0.34.2"
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"type-fest": "^4.8.3",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
},
"lint-staged": {
"*.{ts,tsx,json,yml,md}": [
Expand Down
Loading

0 comments on commit 378b5bc

Please sign in to comment.