image: Limit SVG zoom to RSVG limits

See <https://gitlab.gnome.org/GNOME/librsvg/-/issues/938>
for details about the problem.

Closes #88
This commit is contained in:
Sophie Herold 2023-03-09 21:27:51 +01:00 • committed by Christopher Davis
parent dfebfb7470
commit a0ce234946
4 changed files with 38 additions and 12 deletions

View file

@ -4,6 +4,6 @@ mod svg;
pub use heif::Heif;
pub use image_rs_other::ImageRsOther;
pub use svg::Svg;
pub use svg::{Svg, RSVG_MAX_SIZE};
use super::{Decoder, UpdateSender};