Image Resizing Library (work in progress, but let me know what you think)