Article View: net.micro.mac
Article #7460Re: Converting MacPaint into a Resource file.
From: DMB
Date: Thu, 02 Oct 1986 03:06
Date: Thu, 02 Oct 1986 03:06
39 lines
2297 bytes
2297 bytes
I'm one of the num nums who translates macpaint files to pict resources, for
display in a program window. I think the following description is what i do
precisely, and it works all the time. I usually want a RMAKER hex file for
permanent storage, in case the application gets trashed, so i'll include those
steps too.
-> Doodle in Macpaint until you get the desired picture
-> "Square Lasso" the portion you want to be your picture
-> Copy it (using copy under the edit menu)
-> Open the scrap book
-> Paste it in the scrapbook ( using past under the edit menu )
-> Note: the picture might be to big for the scrapbook window but it is
still there in entirety.
-> Quite MacPaint.
-> Run Resedit : make sure that if you switch systems you switch scrapbooks
so that the right scrapbook is with the resedit system
-> Open a new file
-> Open a new pict resource
-> Open a new pict resource number
-> Open the scrapbook
-> Copy (using the copy under edit) the picture
-> Close the scrapbook
-> Paste (using the paste under edit menu) the picture into the resource
-> Close the top window, so that a list of pict resource numbers shows
-> Click on the appropriate pict resource number
-> Choose open general under the file menu
-> Open Mockwrite, or someother word processer da
-> Copy the hex codes from the pict resource into the blank text file
-> close and save all windows
-> In your RMAKER text file, add the lines
-> TYPE PICT = GNRL
-> ,<resourceid>
-> .H
-> and then all the hex codes go here.
I think this is exactly what i do to create the pict resource, and it works
all the time. I hope this works, it should.
dave
Technical Details
Message-ID:
<7660DMB@PSUVMA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!elbereth!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!burdvax!psuvax1!psuvm.bitnet!dmbReferences:
232@hao.UUCPShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!elbereth!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!burdvax!psuvax1!psuvm.bitnet!dmb From: DMB@PSUVMA.BITNET Newsgroups: net.micro.mac Subject: Re: Converting MacPaint into a Resource file. Message-ID: <7660DMB@PSUVMA> Date: Wed, 1-Oct-86 23:06:36 EDT Article-I.D.: PSUVMA.7660DMB Posted: Wed Oct 1 23:06:36 1986 Date-Received: Sat, 4-Oct-86 10:29:39 EDT References: 232@hao.UUCP Lines: 39