History log of /dokuwiki/vendor/splitbrain/slika/src/ImageMagickAdapter.php (Results 1 – 3 of 3)
Revision Date Author Comments
# c3a14f67 06-Jul-2026 Andreas Gohr <gohr@cosmocode.de>

fix(media): don't upscale small images in the detail previews

The detail page, media manager and media diff requested a bounding-box
resize at the full box size, so an image smaller than the box was

fix(media): don't upscale small images in the detail previews

The detail page, media manager and media diff requested a bounding-box
resize at the full box size, so an image smaller than the box was enlarged
and fetch.php generated and cached the upscaled copy.

slika 1.2 adds an $upscale option to resize/crop. getDisplayDimensions()
now takes a $fit flag mirroring fetch.php one to one and predicts the
matching no-upscale dimensions, media_resize_image()/media_mod_image()
forward $upscale, and fetch.php disables upscaling for fit=1 requests.
In-page image scaling is unchanged.

show more ...


# 5c25a071 04-Feb-2022 Andreas Gohr <andi@splitbrain.org>

updated slika to fix error in cropping


# 92a8473a 06-May-2020 Andreas Gohr <andi@splitbrain.org>

added Slika as dependency