Re: Resizing a image
- Posted by Moggie <moggie at INTERLOG.COM> Nov 19, 1998
- 573 views
On Thu, 19 Nov 1998, Thomas Parslow wrote: > Hello, > Does any1 know of a good way to resize an image? > I am using a very large image which I want to fill the screen at the > beginning, then the user would be able to zoom in on specific bits. > Probably the best way to do it is found in most of the older paint programs like Neopaint. What they do is scale up a segment bordered by the mouse pointer by multiplying a factor. For example, if you want to zoom in on a segment in your picture by a factor of 4, a red pixel in that segment would end up filling 4 pixel positions in your zoomed up view. The problem with this approach is that the area being magnified would appear coarse around the edges. David Gay http://www.geocities.com/SiliconValley/Vista/4346 A Beginner's Guide To Euphoria