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

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

 [1/2] 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

 [2/2] from: rebol-list2::seznam::cz at: 9-Aug-2001 12:21

=?iso-8859-2?Q?ICO=20parser=2Fviewer=20=2D=20second=20version?=


Hi there, this is just to let you now, that i've just uploaded my new version of the *.ico files parser and a simle icon viever. new in this version: ico-parser: - the code in the %ico-parser2.r is much more clearer - now is able to parse icons in the 4 and 8 bit color depth as well ico-viewer: - still so simple, just puts the parsed icons to a face PS: if anybody replied to my previous email to this list, sorry I was not reading the list since the eScribe is not working. PPS: If you don't know, where to find some icons look at this page (for example): http://www.deviantart.com/browse/?section=winicons PPS: I'm leaving the firm I was working for in this moment, so I will finaly have the time for the Rebolution:) Cheers, Oldes ______________________________________________________________________ Co davaji v TV? http://tv.seznam.cz