Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!uc!noc.MR.NET!news.stolaf.edu!skadi.physics.stolaf.edu!tgades From: tgades@stolaf.edu (Anthony M Gades) Newsgroups: comp.windows.x Subject: Help re-sizing an image........ Message-ID: <1991Mar11.145837.3495@news.stolaf.edu> Date: 11 Mar 91 14:58:37 GMT Sender: news@news.stolaf.edu Organization: St. Olaf College; Northfield, MN USA Lines: 24 Originator: tgades@skadi.physics.stolaf.edu I have mostly written a display program to analyze our geo-physical RADAR data using X-windows. What we have is a long datafile of waveforms that are 1024 bytes long. What I do is take each of the bytes, look at its relative magnitude, and then give it a color. Then to display I have created a window that is large enough so that I can dedicate a pixel to each of the 1024 bytes. This works fine and dandy. Here is the problem: I would like to take an arbitrary portion of the 1024 bytes, and expand them over the entire window. That is, I want to be able to blow up a region on the screen. The problem is that if I must exaggerate the image, it must be an orderly thing, as each pixel really means something in the real world. thanks in advance for any help...... tgades -- -------------------------------------------------------------- _________ Tony Gades St. Olaf College, / / Northfield, MN 55057 / / tel (507)-663-2725