summaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2015-11-29 20:38:49 +0100
committerStefan Pöschel <github@basicmaster.de>2015-11-29 20:38:49 +0100
commit3c6bffdede22fcebb62bac5abf11feb9ea7333e1 (patch)
treede07d54cb2be33a91c8b9541357f0a8eaad7e692 /src/utils.h
parent5fcfec4c1a51be35ebeeca88cc0633ff996ef71d (diff)
downloadODR-AudioEnc-3c6bffdede22fcebb62bac5abf11feb9ea7333e1.tar.gz
ODR-AudioEnc-3c6bffdede22fcebb62bac5abf11feb9ea7333e1.tar.bz2
ODR-AudioEnc-3c6bffdede22fcebb62bac5abf11feb9ea7333e1.zip
MOT encoder: fix possible odd target image size
The method MagickBorderImage adds the same amount of border on left/right resp. top/bottom side. Thus if the source image has an odd size (e.g. 201x200 px), the resulting size gets odd, too (here 319x240 px). To prevent this, the border is added by inserting the resized image centered into a black background of 320x240 px.
Diffstat (limited to 'src/utils.h')
0 files changed, 0 insertions, 0 deletions