Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!uos-ee!ee86ccb From: ee86ccb@EE.Surrey.Ac.UK (BAILIFF Cris) Newsgroups: comp.graphics Subject: Re: PICT to Sun-Raster ? Message-ID: <1990May26.175416.19719@EE.Surrey.Ac.UK> Date: 26 May 90 17:54:16 GMT References: <90140.000955BRAUN@FRECP12.BITNET> Organization: University of Surrey, Guildford, Surrey, UK. GU2 5XH Lines: 31 I have just cobbled together a MacPaint to rasterfile converter - embarassingly easy once I had a few hex dumps and sample pictures to work on - This might be of use - I assume that as you require a rasterfile, you don't mind the fact that you are moving from a vector/object representation to a bit map - a more or less one way conversion. (Actually I also have a copy of rasterfile->pict converter as well - this produces strips of bitmaps as a PICT, not a PAINT image). Anyway - if you have SuperPaint, you can transfer a PICT image to the paint plane and save it out for conversion as a Paint document, or if you only want to convert screen sized images, you can load your draw image, fkey-3 to do a screen snapshot, then edit/convert the paint file. (If you have a Mac-II, you can do this for a bigger PICT, as the screen is bigger!) The program is complete and working in its role as a screen-dump to rasterfile converter for standard Mac screens (& HyperCard), but it actually converts the whole PAINT (8"x11") and then takes a bite out of the top corner - its a 30 second job to save the whole image - I might even add it as an command line option (its only a few dozen lines anyway) BTW - Its in C for Sun with Sunview - the rasterfile -> PICT I mentioned is a Mac application. Interested ? Cris Bailiff :-) ------------------------------------------------------------------- ee86ccb@ee.surrey.ac.uk - University of Surrey, Guildford, England.