解答的帖子: http://bbs.csdn.net/topics/391850818 使用 pix.scaled(400,400) 之后需要将图片返回就可以了. 转载于:https://www.cnblogs.com/ourran/p/6867473.html