Skip to content

Commit ae2f08b

Browse files
committed
release: 0.7.5
2 parents 324c482 + 87558ed commit ae2f08b

4 files changed

Lines changed: 23 additions & 43 deletions

File tree

CREDITS.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Project Dependencies
22
Package: pxsum
3-
Version: 0.7.4
3+
Version: 0.7.5
44
Target: x86_64-unknown-linux-gnu
5-
Generated: 2026-03-06 05:20:53 UTC
5+
Generated: 2026-03-23 03:42:44 UTC
66

77
| Package | Version | Author(s) | License |
88
| ---- | ---- | ---- | ---- |
@@ -14,12 +14,12 @@
1414
| [autocfg](https://github.com/cuviper/autocfg) ⚒️ | 1.5.0 | [Josh Stone](mailto:cuviper@gmail.com) | Apache-2.0 OR MIT |
1515
| [bitflags](https://github.com/bitflags/bitflags) | 2.11.0 | The Rust Project Developers | MIT OR Apache-2.0 |
1616
| [**blake3**](https://github.com/BLAKE3-team/BLAKE3) | 1.8.3 | [Jack O'Connor](mailto:oconnor663@gmail.com) and Samuel Neves | CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception |
17-
| [bon](https://github.com/elastio/bon) | 3.9.0 | | MIT OR Apache-2.0 |
18-
| [bon-macros](https://github.com/elastio/bon) | 3.9.0 | | MIT OR Apache-2.0 |
17+
| [bon](https://github.com/elastio/bon) | 3.9.1 | | MIT OR Apache-2.0 |
18+
| [bon-macros](https://github.com/elastio/bon) | 3.9.1 | | MIT OR Apache-2.0 |
1919
| [bytemuck](https://github.com/Lokathor/bytemuck) | 1.25.0 | [Lokathor](mailto:zefria@gmail.com) | Zlib OR Apache-2.0 OR MIT |
2020
| [byteorder](https://github.com/BurntSushi/byteorder) | 1.5.0 | [Andrew Gallant](mailto:jamslam@gmail.com) | Unlicense OR MIT |
2121
| [byteorder-lite](https://github.com/image-rs/byteorder-lite) | 0.1.0 | | Unlicense OR MIT |
22-
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.56 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
22+
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.57 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
2323
| [cfg-if](https://github.com/rust-lang/cfg-if) | 1.0.4 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
2424
| [cmake](https://github.com/rust-lang/cmake-rs) ⚒️ | 0.1.57 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
2525
| [color_quant](https://github.com/image-rs/color_quant.git) | 1.1.0 | [nwin](mailto:nwin@users.noreply.github.com) | MIT |
@@ -42,20 +42,20 @@
4242
| [gif](https://github.com/image-rs/image-gif) | 0.14.1 | The image-rs Developers | MIT OR Apache-2.0 |
4343
| [half](https://github.com/VoidStarKat/half-rs) | 2.7.1 | [Kathryn Long](mailto:squeeself@gmail.com) | MIT OR Apache-2.0 |
4444
| [ident_case](https://github.com/TedDriggs/ident_case) | 1.0.1 | [Ted Driggs](mailto:ted.driggs@outlook.com) | MIT OR Apache-2.0 |
45-
| [**image**](https://github.com/image-rs/image) | 0.25.9 | The image-rs Developers | MIT OR Apache-2.0 |
45+
| [**image**](https://github.com/image-rs/image) | 0.25.10 | The image-rs Developers | MIT OR Apache-2.0 |
4646
| [image-webp](https://github.com/image-rs/image-webp) | 0.2.4 | | MIT OR Apache-2.0 |
4747
| [**jpeg2k**](https://github.com/Neopallium/jpeg2k) | 0.10.1 | [Robert G. Jakabosky](mailto:rjakabosky+neopallium@neoawareness.com) | MIT OR Apache-2.0 |
48-
| [**jpegxl-rs**](https://github.com/inflation/jpegxl-rs) | 0.13.1+libjxl-0.11.2 | | GPL-3.0-or-later |
48+
| [**jpegxl-rs**](https://github.com/inflation/jpegxl-rs) | 0.14.0+libjxl-0.11.2 | | GPL-3.0-or-later |
4949
| [jpegxl-src](https://github.com/inflation/jpegxl-rs) ⚒️ | 0.11.4 | | BSD-3-Clause |
5050
| [jpegxl-sys](https://github.com/inflation/jpegxl-rs) | 0.12.1+libjxl-0.11.2 | | GPL-3.0-or-later |
5151
| [**libavif**](https://github.com/njaard/libavif-rs) | 0.14.0 | [Charles Samuels](mailto:ks@ks.ax) and [Paolo Barbolini](mailto:paolo@paolo565.org) | BSD-2-Clause |
5252
| [libavif-sys](https://github.com/njaard/libavif-rs) | 0.17.0+libavif.1.0.4 | [Charles Samuels](mailto:ks@ks.ax) and [Paolo Barbolini](mailto:paolo@paolo565.org) | BSD-2-Clause |
53-
| [libc](https://github.com/rust-lang/libc) | 0.2.182 | The Rust Project Developers | MIT OR Apache-2.0 |
53+
| [libc](https://github.com/rust-lang/libc) | 0.2.183 | The Rust Project Developers | MIT OR Apache-2.0 |
5454
| [libdav1d-sys](https://github.com/njaard/libavif-rs) | 0.7.1+libdav1d.1.4.3 | [Charles Samuels](mailto:ks@ks.ax), [Paolo Barbolini](mailto:paolo@paolo565.org), and [Kornel](mailto:kornel@geekhood.net) | BSD-2-Clause |
5555
| [lock_api](https://github.com/Amanieu/parking_lot) | 0.4.14 | [Amanieu d'Antras](mailto:amanieu@gmail.com) | MIT OR Apache-2.0 |
5656
| [log](https://github.com/rust-lang/log) | 0.4.29 | The Rust Project Developers | MIT OR Apache-2.0 |
5757
| [miniz_oxide](https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide) | 0.8.9 | [Frommi](mailto:daniil.liferenko@gmail.com), [oyvindln](mailto:oyvindln@users.noreply.github.com), and Rich Geldreich richgel99@gmail.com | MIT OR Zlib OR Apache-2.0 |
58-
| [moxcms](https://github.com/awxkee/moxcms.git) | 0.7.11 | Radzivon Bartoshyk | BSD-3-Clause OR Apache-2.0 |
58+
| [moxcms](https://github.com/awxkee/moxcms.git) | 0.8.1 | Radzivon Bartoshyk | BSD-3-Clause OR Apache-2.0 |
5959
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.19 | The Rust Project Developers | MIT OR Apache-2.0 |
6060
| [openjpeg-sys](https://github.com/Enet4/openjpeg-sys) | 1.0.12 | [Kornel](mailto:kornel@geekhood.net) and [Eduardo Pinho](mailto:enet4mikeenet@gmail.com) | BSD-2-Clause |
6161
| [pkg-config](https://github.com/rust-lang/pkg-config-rs) ⚒️ | 0.3.32 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
@@ -77,17 +77,15 @@
7777
| [thiserror](https://github.com/dtolnay/thiserror) | 2.0.18 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
7878
| [thiserror-impl](https://github.com/dtolnay/thiserror) | 1.0.69 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
7979
| [thiserror-impl](https://github.com/dtolnay/thiserror) | 2.0.18 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
80-
| [tiff](https://github.com/image-rs/image-tiff) | 0.10.3 | The image-rs Developers | MIT |
80+
| [tiff](https://github.com/image-rs/image-tiff) | 0.11.3 | The image-rs Developers | MIT |
8181
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.9.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
8282
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.24 | [David Tolnay](mailto:dtolnay@gmail.com) | (MIT OR Apache-2.0) AND Unicode-3.0 |
8383
| [**walkdir**](https://github.com/BurntSushi/walkdir) | 2.5.0 | [Andrew Gallant](mailto:jamslam@gmail.com) | Unlicense OR MIT |
8484
| [weezl](https://github.com/image-rs/weezl) | 0.1.12 | The image-rs Developers | MIT OR Apache-2.0 |
85-
| [zerocopy](https://github.com/google/zerocopy) | 0.8.40 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) and [Jack Wrenn](mailto:jswrenn@amazon.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
86-
| [zerocopy-derive](https://github.com/google/zerocopy) | 0.8.40 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) and [Jack Wrenn](mailto:jswrenn@amazon.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
87-
| zune-core | 0.4.12 | | MIT OR Apache-2.0 OR Zlib |
85+
| [zerocopy](https://github.com/google/zerocopy) | 0.8.47 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) and [Jack Wrenn](mailto:jswrenn@amazon.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
86+
| [zerocopy-derive](https://github.com/google/zerocopy) | 0.8.47 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) and [Jack Wrenn](mailto:jswrenn@amazon.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
8887
| [zune-core](https://github.com/etemesi254/zune-image) | 0.5.1 | | MIT OR Apache-2.0 OR Zlib |
89-
| [zune-jpeg](https://github.com/etemesi254/zune-image/tree/dev/crates/zune-jpeg) | 0.4.21 | [caleb](mailto:etemesicaleb@gmail.com) | MIT OR Apache-2.0 OR Zlib |
90-
| [zune-jpeg](https://github.com/etemesi254/zune-image/tree/dev/crates/zune-jpeg) | 0.5.12 | [caleb](mailto:etemesicaleb@gmail.com) | MIT OR Apache-2.0 OR Zlib |
88+
| [zune-jpeg](https://github.com/etemesi254/zune-image/tree/dev/crates/zune-jpeg) | 0.5.14 | [caleb](mailto:etemesicaleb@gmail.com) | MIT OR Apache-2.0 OR Zlib |
9189

9290
### Legend
9391

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pxsum"
3-
version = "0.7.4"
3+
version = "0.7.5"
44
license = "WTFPL"
55
authors = ["Josh Stoik <josh@blobfolio.com>"]
66
edition = "2024"
@@ -120,9 +120,9 @@ default-features = false
120120
features = [ "image", "openjpeg-sys"]
121121

122122
[dependencies.jpegxl-rs]
123-
version = "=0.13.1"
123+
version = "=0.14.0"
124124
default-features = false
125-
features = [ "vendored" ]
125+
features = [ "image", "vendored" ]
126126

127127
[dependencies.libavif]
128128
version = "=0.14.0"

release/man/pxsum.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH "PXSUM" "1" "March 2026" "pxsum v0.7.4" "User Commands"
1+
.TH "PXSUM" "1" "March 2026" "pxsum v0.7.5" "User Commands"
22
.SH NAME
3-
PXSUM \- Manual page for pxsum v0.7.4.
3+
PXSUM \- Manual page for pxsum v0.7.5.
44
.SH DESCRIPTION
55
Calculate and verify checksums for decoded image pixel data.
66
.SS USAGE:

src/img.rs

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -121,30 +121,12 @@ impl PxKind {
121121
///
122122
/// Not a popular format, hence cold.
123123
fn decode_jpegxl(src: &[u8]) -> Result<DynamicImage, PxsumError> {
124-
use image::ImageBuffer;
125-
use jpegxl_rs::{
126-
Endianness,
127-
decode::{
128-
Metadata,
129-
PixelFormat,
130-
},
131-
};
132-
133-
// TODO: prefer jpegxl-rs built-in helper for this if/when it stops
134-
// overriding our workspace image crate version.
135-
let (Metadata { width, height, ..}, pixels) = jpegxl_rs::decoder_builder()
136-
// Force a normal-ass output format. Haha.
137-
.pixel_format(PixelFormat {
138-
num_channels: 4,
139-
endianness: Endianness::Big,
140-
align: 8,
141-
})
124+
use jpegxl_rs::image::ToDynamic;
125+
jpegxl_rs::decoder_builder()
142126
.build()
143-
.and_then(|dec| dec.decode_with::<u8>(src))
144-
.map_err(|_| PxsumError::Decode)?;
145-
146-
ImageBuffer::from_vec(width, height, pixels)
147-
.map(DynamicImage::ImageRgba8)
127+
.and_then(|dec| dec.decode_to_image(src))
128+
.ok()
129+
.flatten()
148130
.ok_or(PxsumError::Decode)
149131
}
150132

0 commit comments

Comments
 (0)