Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!integral!dhare From: dhare%integral@Sun.COM (Dwight Hare) Newsgroups: comp.sys.mac.programmer Subject: Re: Saving a PICTURE to a file Keywords: PICT QuickDraw MacDraw Message-ID: <77234@sun.uucp> Date: 11 Nov 88 19:36:47 GMT References: <971@ccnysci.UUCP> <205@internal.Apple.COM> Sender: news@sun.uucp Reply-To: dhare@sun.UUCP (Dwight Hare) Organization: Sun Microsystems, Mountain View Lines: 16 I have a related question about PICT files. I've written code to read a PICT file by skipping the first 512 bytes and then slurping the rest of the file into a handle, and calling it a pichandle. When I do a DrawPicture on it, using the pichandle and the picframe in the handle, it displays a very small version of the picture in the upper left of the window. The picframe is much larger than the picture which is drawn. I'm assuming that it is doing this because the picture is at 300dpi resolution and since the screen is 72dpi, it has to shrink it in order to present it at the right size. How do I get it displayed full size? I tried changing the hRes and vRes fields of the pichandle but that caused a crash. Thanks, Dwight dhare@sun.com, sun!dhare