[09:05:20] <w0rp> What is the briefest way you can resize an image so it fits inside of a rectangle without changing its aspect ratio?
[09:06:54] <w0rp> So if you have 200 x 150 and 256 x 256, it centres inside a 256 x 256 box with white space around it. If it's 300 x 300, it scales down to 256 x 256.
[09:13:59] <w0rp> Hmm, .thumbnail appears to get the scaling right. Now I just need the whitespace with the thumbnail centred.
[09:28:38] <w0rp> I did it by drawing a background image and using the .paste method to move the thumbnail to the centre of it.
[12:38:06] <TeraJL> is there any way to generate an ico image with multiple sizes?