Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] =?iso-8859-2?Q?ICO=20file=20parser=20=2B=20viewer?=

From: rebol-list2::seznam::cz at: 31-Jul-2001 11:30

Hi there, because I've wanted to use some images from the windows icons and I've no program to convert them, I created object ico-parser that is able to get data from the windows *.ico files. The image from the *.ico file can be used in rebol/view aps (desktops?) as well but I don't know, how to make transparent parts of the icon from the mask image (also included in the *.ico) yet. Anybody can help me please? And another question... if i have image:
>> img: make image! 2x2
== make image! [2x2 #{000000000000000000000000}]
>> img/size
== 2x2
>> img/colors
** Script Error: Invalid path value: colors ** Where: halt-view ** Near: img/colors
>>
HOW to access the binary colors representation from the image? Thanks Oldes PS: scripts (%ico-parser.r and %ico-view.r) are uploaded into rebol's library (check the history) ______________________________________________________________________ Poctenicko pro kazdy den: http://www.novinky.cz