I'll be the first to test it!
Steve
[EMAIL PROTECTED] wrote:
> In a message dated 3/21/00 12:56:27 AM Eastern Standard Time,
> [EMAIL PROTECTED] writes:
>
> > Mike,
> >
> > You need to create a file that describes the byte fields of the icon. It
> is
> > typically called "smallicon.r" and you just include it
> > right below the resource file in your project. The five lines below is
> all
> > that there are in the file. This is an example of it.
> >
> > data 'tAIB' (1001) {
> > $"0F00 0900 0200 0000 0000 0000 0000 0000"
> > $"7FFC 4004 5224 5574 5824 5004 5FF4 4004"
> > $"7FFC"
> > };
> >
> > The first line of eight, 16-bit hex codes is for the resource compiler and
> > don't change. The last nine, 16-bit hex codes describes
> > the small icon structure. The first word represents the top row of the
> > small icon. The MSB of each word represents the leftmost
> > bit in the row of that word going to the right. The LSB of the word is
> > ignored since the small icons are only 15 bits.
> >
> > The bad news: I ended up drawing a grid, filling in the squares and
> > calculating the hex codes myself. There may be shareware now
> > out there to help you since I did this over a year ago. If not, anyone
> who
> > wants to write it, I'll beta yesterday.
> >
> > Steve
>
> I'll bite!!! I've got a very stable icon image editor that can be extended
> through DLLs to support additional file formats. I could write a "Palm Pilot
> .r" file format DLL that could read and write 'tAIB' data (or any other
> palm-compatible files for that matter). Let me know if anyone is interested
> and I could start working on it this weekend. If someone does want this,
> please send me any additional information that you might have that is not
> included in this email and/or a sample file or two to test with. If you're
> interested in taking a look at it, you can find it at
> http://www.greatowl.com/editor/files/ice410.exe.
> Thanks, -Pete
>
> PS: You guys might be interested in this image editor anyway since it seems
> to be a pretty good match for Palm development. For example:
> 1. It allows you to define your own image sizes (15x9, 22x22, 32x32, ...).
> If you wanted to, you could redefine the set of image sizes to be only those
> used by the Palm OS.
> 2. It allows you to convert images from one size to another. You could use
> this as a shortcut when you need to create multiple icons of the same basic
> image.
> 3. It allows you to convert images from one image depth to another.
> 4. It supports a lot of different file formats, including XBM, XPM (which may
> be of interest to you Linux users out there), and Macintosh icons.
> 5. Images can have their color palettes saved to a 'palette' file. Any image
> can have its color palette redefined by reading in the 'palette' file.
> 6. Image sizes can range from 1x1 to 400x400, so its pretty good for pretty
> much any image that you intend to distribute with your Palm programs.
> 7. The current set of editing tools is very complete (area (cut, paste,
> copy), pencil, line, brush, spray can, eraser, text, flood fill, a->b color
> translation, screen capture, button maker, shadow, invert, antialiasing,
> brightness & contrast,...). In addition, the tools are extensible and
> 'Palm-specific' tools can be added to the tool list if necessary.
>
> PPS: Sorry to be such a capitalist and plug my own program, but I couldn't
> resist when I read the part about 'there may be shareware now'.
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html