Commit Graph

338 Commits

Author SHA1 Message Date
Surma
fae5959392 Minor refactor 2024-09-06 20:04:42 +01:00
Surma
53fc922870 Port rotate codec to nix 2024-09-06 18:09:43 +01:00
Surma
4f93abb105 Update resize codec build 2024-09-06 17:54:54 +01:00
Surma
738d07d98a Move away from subflakes 2024-09-06 17:42:48 +01:00
Surma
7e564e240a Update mozjpeg flake 2024-09-06 15:00:10 +01:00
Surma
ee61b9fb18 Make rust library work 2024-08-14 15:12:06 +01:00
Surma
6d061d8fa2 WIP 2024-08-14 14:07:21 +01:00
Surma
d278efb148 Make cross compiling work with vendoring 2024-08-14 10:20:02 +01:00
Surma
e4cec57fe3 Properly install wasm-bindgen 2024-08-14 00:35:27 +01:00
Surma
a9c16df263 Properly build wasm-bindgen 2024-08-14 00:14:53 +01:00
Surma
15df976a8c Making wasm-bindgen work 2024-08-13 18:26:31 +01:00
Surma
9bbfac62e8 Trying to do a wasm-bindgen build 2024-08-08 00:28:21 +01:00
Surma
13cbf8ddb1 First attempt at rust 2024-08-07 23:40:38 +01:00
Surma
b5bd766a4e Build webp 2024-08-07 18:48:23 +01:00
Surma
a0f9fea679 Make webp compile 2024-08-07 16:05:03 +01:00
Surma
dd290accc1 Better caching 2024-08-07 15:08:13 +01:00
Surma
ba01d36c20 Types were handwritten 2024-08-07 14:42:22 +01:00
Surma
8c76d43a68 Have a proper install script 2024-08-07 13:05:26 +01:00
Surma
c308108279 Simplify 2024-08-07 12:31:09 +01:00
Surma
2bd1eeceb8 Work on all systems 2024-08-07 10:34:05 +01:00
Surma
95a16e3919 nixfmt 2024-08-07 01:08:23 +01:00
Surma
ec2a05ec33 It finally compiles 2024-08-07 01:08:17 +01:00
Surma
11cd02c87b Slightly more progress 2024-08-07 00:50:25 +01:00
Surma
9ce5da7531 Attempt at Nix’ing mozjpeg 2024-08-06 18:30:17 +01:00
Andrew
9db572e446 Rebuild oxipng 2024-03-16 19:05:59 +13:00
Andrew
42ef430cee Use oxipng raw api 2024-03-16 19:05:50 +13:00
Andrew
df7b622413 Build oxipng 2024-03-16 17:35:50 +13:00
Andrew
5649427670 Update wasm-pack 2024-03-16 17:35:50 +13:00
Andrew
1b24d2f3fa Update oxipng rust (nightly-buster-slim) 2024-03-16 17:35:50 +13:00
Andrew
e4322bcbc3 Update oxipng to v9 2024-03-16 17:35:50 +13:00
Aryan Pingle
e217740e53 Update libavif (#1381)
* Update libavif (v1.0.0-main)

* Update libavif for improved compression and speed
* v1.0.0 deprecates usage of min and max-quantizers; we use `quality` and `qualityAlpha` instead
* Renamed `maxSpeed` to `MAX_EFFORT` for better readability

* Update libavif (v1.0.1-main)

* Refactor variable names for clarity

* Update libaom (v3.7.0)

* Add checks for API return values

* Rename variables for readability

Changes `cqlevel` to `quality`, and `cqAlphaLevel` to `qualityAlpha`

* Minor patches in logic

* Minor patches in lossless calculation

* Add chroma subsampling options to AVIF

* Add skeleton for sharp downsampling param

* Try to use libsharpyuv

* Encoder working, decoder isnt

* Make sure sharpyuv is disabled for decoder

* Add AVIF_LOCAL flags for sharp yuv

* Get AVIF sharp YUV working

* Clean up AVIF makefiles

* AVIF: Make sharpyuv conditional on subsample

* AVIF: Flags to speed up sharpyuv build

* AVIF: Minor refactoring in enc.cpp

* AVIF: Minor refactoring & renaming

* AVIF: Use smart pointers to prevent memory leaks

* AVIF: Minor refactoring

* AVIF: Revert defaultoptions logic change

---------

Co-authored-by: Surma <surma@surma.dev>
Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
2024-01-24 08:04:33 +00:00
Aryan Pingle
d87eff7645 Adding the Quite OK Image (QOI) Codec (#1384) 2023-10-20 09:28:59 +01:00
André R
cd336909fc Update libavif (v0.12-main) and AOM (3.6) for improved compression and speed (#1334)
* Update libavif and AOM (3.6) for improved compression and speed

* Minor fixes to package-lock done by NPM, also trigger new build

* Update AVIF version

---------

Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
2023-03-10 10:24:15 +00:00
Ziemowit Zabawa
18b53e2b8a JPEG XL: Add lossy Modular option (#1136)
* Improve .gitattributes

* Add disabled checkbox style

* Update Makefile

* Update jxl_enc.cpp

* add -O3 flag to skia compilation for optimization's sake

* Bump libjxl revision to 9f544641ec83f6abd9da598bdd08178ee8a003e0

Change use of EncodeFile from `EncodeFile(cparams, &io, &passes_enc_state, &bytes, /*aux=*/nullptr, pool_ptr)` to `EncodeFile(cparams, &io, &passes_enc_state, &bytes, /*cms=*/nullptr, /*aux=*/jxl::GetJxlCms(), pool_ptr)`

* JPEG XL: Add lossy Modular option

Co-authored-by: CanadianBaconBoi <beamconnor@gmail.com>
Co-authored-by: CanadianBaconBoi <bc.bacon.bits@gmail.com>
2022-01-21 12:42:27 +00:00
Jake Archibald
023304803f JPEG-XL: Better 'effort' and adding noise synth (#1039) 2021-08-27 14:18:54 +01:00
Jake Archibald
a547491146 Maintain DC_SCAN_OPT_MODE if subsampling is > 2. Fixes #1129 (#1130) 2021-08-26 14:29:13 +01:00
Luca Versari
35b8c56f1a Bump JPEG XL to v0.5. 2021-08-13 23:27:44 +02:00
Luca Versari
a040c47047 Update JPEG XL to latest version.
Also update repositories.
2021-07-21 18:55:52 +02:00
Surma
bf95eb39c2 Fix handling of PNGs that are not 8 bit 2021-07-21 16:16:44 +01:00
Surma
9b36c3f9af Merge remote-tracking branch 'origin/dev' into opt-visdif-codec 2021-07-20 19:14:54 +01:00
Surma
490fe2aace Add build instructions 2021-07-20 19:14:23 +01:00
Surma
cd20082e5d Build wasm 2021-07-19 12:36:43 +01:00
MaxGraey
8262c79bb6 fix 2021-07-13 22:38:30 +03:00
MaxGraey
ef176d7565 optimize more 2021-07-13 22:38:10 +03:00
MaxGraey
3b0b7dbdb1 fix 2021-07-13 19:00:26 +03:00
MaxGraey
cc9a887386 optimize srgb -> linear preparation by using lookup table 2021-07-13 18:33:15 +03:00
Surma
d12b040bd3 Add threaded AVIF encoder for node 2021-06-24 17:07:57 +01:00
Surma
1e52837931 Oooops. Old files 2021-06-16 17:02:54 +01:00
Surma
5bc80e66ec Merge remote-tracking branch 'origin/dev' into visdif-error 2021-06-16 13:54:49 +01:00
Surma
14a715e952 Add test files for now 2021-06-16 12:56:37 +01:00