image-rs / image-png

PNG decoding and encoding library in pure Rust
https://docs.rs/png
Apache License 2.0
357 stars 140 forks source link

Remove unnecessary `encoding*` dependencies #312

Closed CryZe closed 2 years ago

CryZe commented 2 years ago

ISO-8859-1 is a subset of Unicode and ASCII is a subset of UTF-8. No dependencies are needed.

CryZe commented 2 years ago

Seems like there's an open question of whether this chunk is even ISO-8859-1 in practice. Seems like (some?, most?) programs use the similar Windows-1252 encoding instead.