User Tools

Site Tools


en:plugin:imageconverter

ImageConverter

Helper plugin for image conversion using ImageMagick.

The following table lists all of the configuration options available for ImageConverter.

OptionDescriptionValue
ImageConverter Options
create_thumbnail If set to true, create a thumbnail version of each image, and add Thumb, ThumbType, thumbicon, ThumbWidth, ThumbHeight metadata. Default: true
List
thumbnailsize Make thumbnails of size nxn. Default: 100 Range: 1,
thumbnailtype Make thumbnails in format 's'. Default: gif
noscaleup Don't scale up small images when making thumbnails.
create_screenview If set to true, create a screen sized image, and set Screen, ScreenType, screenicon, ScreenWidth, ScreenHeight metadata. Default: true
List
screenviewsize Make screenview images of size nxn. Default: 500 Range: 1,
screenviewtype Make screenview images in format 's'. Default: jpg
converttotype Convert main image to format 's'.
minimumsize Ignore images smaller than n bytes. Default: 100 Range: 1,
apply_aspectpad {ImageConverter.apply_aspectpad} Default: false
List
aspectpad_ratio {ImageConverter.aspectpad_ratio} Default: 2 Range: 1,
aspectpad_mode {ImageConverter.aspectpad_mode} Default: al
List
aspectpad_colour {ImageConverter.aspectpad_colour} Default: transparent
aspectpad_tolerance {ImageConverter.aspectpad_tolerance} Default: 0.0 Range: 0,
Options Inherited from BaseMediaConverter
enable_cache Cache automatically generated files (such as thumbnails and screen-size images) so they don't need to be repeatedly generated.

create_thumbnail option values

ValueDescription
truetrue
falsefalse

create_screenview option values

ValueDescription
truetrue
falsefalse

apply_aspectpad option values

ValueDescription
truetrue
falsefalse

aspectpad_mode option values

ValueDescription
al{aspectpad.al}
ap{aspectpad.ap}
l{aspectpad.l}
p{aspectpad.p}
en/plugin/imageconverter.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1