Using the image crate how do I retrieve the dpi of an image?
⚓ Rust 📅 2026-03-28 👤 surdeus 👁️ 2I want to convert px to pt (pdf points). Afaik I need to know the dpi of an image, if an image has been created and manipulated using the image: crates.io: Rust Package Registry how would I retrieve its dpi so I can scale it appropriately using the printpdf crate: printpdf - Rust
2 posts - 2 participants
🏷️ Rust_feed