A compilation of image manipulation functions (crop, scale, etc) that I often use. A more robust solution would be ImageResizing.net, but I find myself writing these basics functions often.