Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!sun-barr!newstop!texsun!texbell!nuchat!buster!cshotton From: cshotton@buster.irby.com (Chuck Shotton) Newsgroups: comp.sys.mac.programmer Subject: Re: How do you get an SICN from an ICON/ICN# Resource? Keywords: Resource, Resource Editor, SICN, ICON, ICN# Message-ID: <625@buster.irby.com> Date: 8 Jan 90 03:06:56 GMT References: <132@merrimac.edsdrd.eds.com> Organization: Buster Irby, Stafford, Tx Lines: 15 ceg@edsdrd.eds.com (Carlos Galarce) writes: >Hello fellow netters, >When editing ICN# resources using the Resource Editor(v1.2), the >editor shows a picture of the ICN in its SICN form in under the >fatbits area. >If it is not possible, does anybody know an algorithm to "shrink" the >32x32 icon bits into a 16x16 small icon bits. ResEd does it, so there >must be one. Plot the full-sized ICON to an off-screen bitmap, then use CopyBits with a 16x16 destination Rect to display the bitmap on the screen. Voila! 16x16 version of the ICON, courtesy of CopyBits.