🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #7310

Converting MacPaint into a Resource file.

#7310
From: Bill Roberts
Date: Wed, 24 Sep 1986 18:29
40 lines
2224 bytes
Someone told me not to long ago that I could convert a MacPaint file into PICT
resource by going into ResEdit, opening a new file as a PICT resource file,
and pasting, from the scrapbook, the MacPaint file that one cut and pasted into
the scrapbook earlier.  Then decompile it to create the resource file.  Well, 
this don't work!

	1) When pasting the portion of the MacPaint file into the scrapbook
	   (using the 'PaintCutter' application) only a small portion gets 
	   saved (since the scrapbook is tiny).
	2) I can't see how to paste the scrapbook into the new PICT resource 
	   file from ResEdit1.0D12.  I have to use REdit1.2.  
	3) When I try to "Decompile..." the file in REdit1.2 to create the
	   RMaker source file I don't get nothin substantial.  I get  something
	   like:

	  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
	      ...
	   /tmp:MyPict.rsrc

	   Type PICT
	     ,21345 (2)
	   * no representation given (or something like that).
	  
	  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

So, the questions remain:
	A) How does one convert a MacPaint file into a PICT resource so that 
	   the MacPaint file can be displayed in a window (in an application) 
	   at runtime?
	B) Where can I find out how to use ResEdit1.0D12?  Which software 
	   supplement documents it?  And what is the general address to write
	   too to get the various software supplements? 
	C) Or, do I have to right an application to convert MacPaint into a 
	   PICT resource file (or better yet, a bmap resource)?

  >Does anyone have any answers (and/or valid ideas) to these questions?

	If I get a reasonable response, I'll compile it a post it to the net.

--Bill
Technical Details
Message-ID: <232@hao.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!hao!bill

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!hao!bill
From: bill@hao.UUCP (Bill Roberts)
Newsgroups: net.micro.mac
Subject: Converting MacPaint into a Resource file.
Message-ID: <232@hao.UUCP>
Date: Wed, 24-Sep-86 14:29:44 EDT
Article-I.D.: hao.232
Posted: Wed Sep 24 14:29:44 1986
Date-Received: Wed, 24-Sep-86 22:13:56 EDT
Organization: High Altitude Obs./NCAR Boulder, CO
Lines: 40
Keywords: ResEdit1.0D12, REdit