decoder: Use glycin for image loading expect SVG
This gives us sandboxed image decoding and others the option to extend Loupe with other image formats.
This commit is contained in:
parent
d690c0e2d8
commit
1b2dde79b6
18 changed files with 536 additions and 1416 deletions
|
|
@ -15,16 +15,16 @@
|
|||
//
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
///! Tiled renderer
|
||||
///!
|
||||
///! It is not always feasible or desiareble to store the complete decoded
|
||||
///! image in the VRAM. [`TiledImage`] allows to compose the parts of
|
||||
///! the image currently viewed, out of smaller [`Tiles`].
|
||||
///!
|
||||
///! This is especially important for SVGs where every the image has to
|
||||
///! be re-genearted for each zoom level. It can also be used to allow
|
||||
///! showing large JPEGs etc where the complete decoded image would not
|
||||
///! even fit in the VRAM.
|
||||
//! Tiled renderer
|
||||
//!
|
||||
//! It is not always feasible or desiareble to store the complete decoded
|
||||
//! image in the VRAM. [`TiledImage`] allows to compose the parts of
|
||||
//! the image currently viewed, out of smaller [`Tiles`].
|
||||
//!
|
||||
//! This is especially important for SVGs where every the image has to
|
||||
//! be re-genearted for each zoom level. It can also be used to allow
|
||||
//! showing large JPEGs etc where the complete decoded image would not
|
||||
//! even fit in the VRAM.
|
||||
use super::{DecoderUpdate, ImageDimensionDetails, UpdateSender};
|
||||
use crate::deps::*;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue