Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Recent issues

Article Preview


Buy Now

PDF:

Feature

Picture Packer

An easier way to embed graphics in your REALbasic projects

Issue: 6.5 (July/August 2008)
Author: Marc Zeedar
Article Description: No description available.
Article Length (in bytes): 12,890
Starting Page Number: 11
RBD Number: 6508
Resource File(s):

Download Icon 6508.zip Updated: Tuesday, July 1, 2008 at 11:42 AM

Related Web Link(s):

http://developer.chaoticbox.com/
http://www.truenorthsoftware.com/Realbasic/FormattedText.html

Known Limitations: None

Excerpt of article text...

Recently I was working on a personal project that included lots of pictures (icons and other graphics). Because I wasn't sure what I was doing, I first created temporary placeholder graphics. I figured it would be an easy matter to replace them with the real graphics later. Boy, was I wrong!

As I got into the project, I realized the icons needed to support transparency, which meant I had to save a separate mask file for each graphic as REALbasic can't import pre-masked pictures. Masks doubled the number of pictures in the project. Later, I kept thinking of additional graphics I needed. Each additional graphic needed to be dragged into my project file (along with its mask) and I had to add code to apply the mask to the first graphic to create the final masked picture object for use in my project. That was a lot of busy work and every time I made changes a lot of it had to be redone.

Throughout this project, for various reasons (most of them stupidity and short-thinking on my part), I had to completely redo my graphics several times. As I updated the graphics, I grew extremely frustrated with picture management. For instance, renaming or moving pictures broke REALbasic's link to them. Couldn't there be an easier way?

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com