Skip to content

Commit

Permalink
⬆️ Upgrade libjxl to v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
inflation committed Feb 27, 2024
1 parent 5a8e09a commit 17fc8fd
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "libjxl"]
path = jpegxl-src/libjxl
url = https://github.com/libjxl/libjxl
branch = tags/v0.9.2
branch = tags/v0.10.0
13 changes: 5 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@

### Changed

- ⬆️ Upgrade libjxl v0.9.0 ([#32](https://github.com/inflation/jpegxl-rs/issues/32)) [[0fd2388](https://github.com/inflation/jpegxl-rs/commit/0fd238801acf9409329426b38730d31bd69026b2)]
- ⬆️ Upgrade libjxl v0.9.0 [[f4498b1](https://github.com/inflation/jpegxl-rs/commit/f4498b178534512888492fa66fa353383d0ea674)]
- ♻️ Add back derived traits for `JxlBitDepth` [[a72176a](https://github.com/inflation/jpegxl-rs/commit/a72176ae03eb47ed957b5e4f19d8fa7e1c093a8d)]
- ♻️ Use [lints] in Cargo.toml [[ff1bc74](https://github.com/inflation/jpegxl-rs/commit/ff1bc74e513e23179d444d11ebe3f536c120a06d)]
- ⬆️ Upgrade libjxl v0.9.0
- ♻️ Add back derived traits for `JxlBitDepth`

### Fixed

- 💚 Update coverage attribute [[59a7cf1](https://github.com/inflation/jpegxl-rs/commit/59a7cf17b18deba5cded4712f1655c21c5cce618)]
- 💚 Update coverage attribute

### Miscellaneous

- 🔀 : Bump actions/cache from 3 to 4 ([#33](https://github.com/inflation/jpegxl-rs/issues/33)) [[c609f18](https://github.com/inflation/jpegxl-rs/commit/c609f18d54b9c7f4899839a35a42cf65e366cda6)]
- ️👷 (deps): Bump actions/cache from 3 to 4 [[eff742e](https://github.com/inflation/jpegxl-rs/commit/eff742e21f5df614074725dd5db2d93b7126d27e)]
- ⚰️ Remove unused color encoding setup when encoding JPEG [[8d285be](https://github.com/inflation/jpegxl-rs/commit/8d285be2260a24c7fdf2c2da50cd665c7342e1eb)]
- 👷 (deps): Bump actions/cache from 3 to 4
- ⚰️ Remove unused color encoding setup when encoding JPEG


<a name="0.8.3"></a>
Expand Down
8 changes: 4 additions & 4 deletions jpegxl-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later"
name = "jpegxl-rs"
readme = "README.md"
repository = "https://github.com/inflation/jpegxl-rs"
version = "0.9.1+libjxl-0.9.2"
version = "0.10.0+libjxl-0.10.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -30,19 +30,19 @@ bench = []
derive_builder = "0.20.0"
image = { version = "0.24.8", optional = true, default-features = false }
thiserror = "1.0.56"
half = "2.3.1"
half = "2.4.0"
byteorder = "1.5.0"

[dependencies.jpegxl-sys]
version = "0.9.1"
version = "0.10.0"
path = "../jpegxl-sys"

[dev-dependencies]
image = { version = "0.24.8", default-features = false, features = [
"jpeg",
"png",
] }
lcms2 = "6.0.4"
lcms2 = "6.1.0"
pretty_assertions.workspace = true
testresult = "0.3.0"

Expand Down
2 changes: 1 addition & 1 deletion jpegxl-src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "BSD-3-Clause"
name = "jpegxl-src"
readme = "README.md"
repository = "https://github.com/inflation/jpegxl-rs"
version = "0.9.2"
version = "0.10.0"
exclude = [
"libjxl/third_party/libpng",
"libjxl/third_party/sjpeg",
Expand Down
2 changes: 1 addition & 1 deletion jpegxl-src/libjxl
Submodule libjxl updated 384 files
4 changes: 2 additions & 2 deletions jpegxl-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ links = "jxl"
name = "jpegxl-sys"
readme = "README.md"
repository = "https://github.com/inflation/jpegxl-rs"
version = "0.9.1+libjxl-0.9.2"
version = "0.10.0+libjxl-0.10.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -24,7 +24,7 @@ features = ["docs"]
pkg-config = "0.3.29"

[build-dependencies.jpegxl-src]
version = "0.9.2"
version = "0.10.0"
path = "../jpegxl-src"
optional = true

Expand Down
4 changes: 3 additions & 1 deletion jpegxl-sys/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ extern "C" {
decompressed: JxlBool,
) -> JxlDecoderStatus;

pub fn JxlDecoderGetBoxSizeRaw(dec: *mut JxlDecoder, size: *mut usize) -> JxlDecoderStatus;
pub fn JxlDecoderGetBoxSizeRaw(dec: *mut JxlDecoder, size: *mut u64) -> JxlDecoderStatus;

pub fn JxlDecoderGetBoxSizeContents(dec: *mut JxlDecoder, size: *mut u64) -> JxlDecoderStatus;

pub fn JxlDecoderSetProgressiveDetail(
dec: *mut JxlDecoder,
Expand Down
1 change: 1 addition & 0 deletions jpegxl-sys/src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pub enum FrameSetting {
JpegKeepExif = 35,
JpegKeepXmp = 36,
JpegKeepJumbf = 37,
UseFullImageHeuristics = 38,
FillEnum = 65535,
}

Expand Down

0 comments on commit 17fc8fd

Please sign in to comment.