Posted by Robert S on 01/26/07 07:41
I am writing an image viewer. I want to be able to resize the image so that it always fits within a window of given height and width. I've tried a couple of these from the web, but the don't seem to take into account both the image dimensions AND the window dimensions. Are there any algorithms out there? I'm not keen on reinventing the wheel here.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming