Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!mountn.dec.com!minow From: minow@mountn.dec.com (Martin Minow) Newsgroups: comp.sys.mac.programmer Subject: PICT hacking question Keywords: PICT Message-ID: <1732@mountn.dec.com> Date: 2 Jul 90 00:22:56 GMT Reply-To: minow@bolt.enet.dec.com (Martin Minow) Organization: Digital Equipment Corporation Lines: 21 I'm trying to clean up a scanned image that is stored in a PICT file. I read the image into an offscreen bitmap (using the picFrame to define the bitmap's size) and eventually write the cleaned up bitmap (noise filtered) to another PICT file. The original image was scanned at 300 dpi. When I look at the output image (even without processing), it is clearly at a coarser resolution (probably 72 dpi). Could anyone tell me how I get the actual image at its intended resolution (both into my program and out to a new PICT file)? Inside-Mac and the TechNotes stack don't seem to have anything relevant. Surely I don't have to parse the PICT internal format? Hopefully, I won't have to find the source to NCSA Image (which didn't do what I wanted, but I only tried for a half-hour). All suggestions are welcome. Thanks. Martin Minow minow@bolt.enet.dec.com