aboutsummaryrefslogtreecommitdiff
path: root/devtools/convbdf.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2013-07-13 01:48:30 +0200
committerJohannes Schickel2013-07-13 01:57:23 +0200
commitadf8cee449b42debbdc6578538a78127ada74cec (patch)
tree54f1560d768dd6f272b1ac43b7e3c601c4443b56 /devtools/convbdf.cpp
parent57cc59356c14d516c128797e5a17b322ad90820c (diff)
downloadscummvm-rg350-adf8cee449b42debbdc6578538a78127ada74cec.tar.gz
scummvm-rg350-adf8cee449b42debbdc6578538a78127ada74cec.tar.bz2
scummvm-rg350-adf8cee449b42debbdc6578538a78127ada74cec.zip
GRAPHICS: Allow arbitrary input sizes for thumbnail scaling.
Instead of a fixed 1/2 or 1/4 scaling we do a two step scaling now: 1) Scale image to width < 160*2 && height < [100,120]*2 with 1/4 or 1/2 nearest-neighbor. 2) Use a bilinear scaler to scale aspect preserving to 160x[100,120] This fixes bug #3614568 "GRAPHICS: Odd thumbnail sizes crash".
Diffstat (limited to 'devtools/convbdf.cpp')
0 files changed, 0 insertions, 0 deletions