Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!uw-beaver!cornell!rochester!pt.cs.cmu.edu!dsl.pitt.edu!pitt!apollo.gl.pitt.edu!james From: james@apollo.gl.pitt.edu (Douglas James) Newsgroups: comp.graphics Subject: Image scaling Message-ID: <7829@pitt.UUCP> Date: 9 Jun 90 17:26:30 GMT Sender: news@pitt.UUCP Reply-To: james@apollo.gl.pitt.edu (Douglas James) Organization: Advanced Graphics Lab, Univ. of Pittsburgh Lines: 16 I need a routine to scale an image. An original image is displayed and the user selects an area to be scaled. A rubberband box will be opened for his selection of this area. The new scaled image will go into a seperate window, which will be a constant size. So far, I have only done scaling code to double the image or triple the image, but I want to expand this to make the program more useful to the average user. If anyone can give me a good algorithm or section of code to do this, it would be very helpful. Please send any replies to : james@apollo.gl.pitt.edu Thanks, Douglas