PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Saturday the 3rd of January, 2015

(Back to #pil overview) (Back to channel listing) (Animate logs)
[00:02:00] <McLive> hey guys
[00:02:07] <McLive> can anyone help me with the thumbnail function?
[00:15:09] <aclark> McLive: e.g. http://pillow.readthedocs.org/en/latest/reference/Image.html#create-thumbnails ?
[00:17:55] <McLive> yeah
[00:18:14] <McLive> I need to downscale an image but I need to keep the aspect ratio
[00:18:52] <McLive> so because I don't want the image to get blurred, I have to use the thumbnail function
[00:22:01] <McLive> right, let me show you a screenshot: http://img.mclive.eu/20150103011854.png On the right, you see how it has to look, on the left you see my result
[00:26:45] <McLive> best goal is to keep the aspect ratio with Image.NEAREST but that seems to be impossible
[00:47:24] <McLive> so I'm out of ideas
[00:47:44] <McLive> maybe it's impossible with python or a bug with the latest pillow version from github
[12:44:33] <aclark> McLive: ask wiredfool if/when you see him in here and/or open a stack overflow q