1 | initial version |
Resizewindow only changes the size of the displaying window, not the image that it displays. If you want to resize the image, call resize again with your size variable modified to the new dimensions. Although I fail to see the reason behind that... increasing an image from 8x4 to 260x150 and changing the aspect ratio.