aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorFranz Thoma <franz.thoma@tngtech.com>2015-12-20 07:06:43 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-12-20 07:06:43 +0000
commit1dd6464be99903b492994fb788c4f6334f5f58e8 (patch)
treea8b408f061a3c60ed52935687fd29bc59bd05bde /table.c
parentUpdate ChangeLog (diff)
downloadw3m-1dd6464be99903b492994fb788c4f6334f5f58e8.tar.gz
w3m-1dd6464be99903b492994fb788c4f6334f5f58e8.zip
Fix semi-transparent artifacts in w3m-img when used with 32-bit color (e.g. urxvt)
imlib_render_image_on_drawable_at_size() tended to leave nasty semi-transparent artifacts in 32-bit mode. Apparently, resizing an image in 32-bit mode affects the alpha channel even if there is no transparency in the image. With this patch, resizing is done in 24-bit mode (or whatever depth the original image has) before converting the image to 32-bit and rendering it on the display. Origin: https://gist.github.com/fmthoma/f76a1b44e00d5ca972bb cf. https://github.com/hut/ranger/issues/86#issuecomment-166027119
Diffstat (limited to 'table.c')
0 files changed, 0 insertions, 0 deletions