Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now


Beyond the Limits

The Missing Picture class

Issue: 3.5 (May/June 2005)
Author: Didier Barbas
Author Bio: Didier has been a dilettante programmer and linguist for more than 20 years. Unusual for a Frenchman, he speaks 11 languages, including Korean and PowerPC machine-language.
Article Description: No description available.
Article Length (in bytes): 7,795
Starting Page Number: 46
RBD Number: 3521
Resource File(s):

Download Icon 3521.sit Updated: Wednesday, May 18, 2005 at 11:41 AM
Download Icon 3521.zip Updated: Wednesday, May 18, 2005 at 11:41 AM

Related Web Link(s):


Known Limitations: None

Excerpt of article text...

When building console applications, we may not use instances of the Picture class. This restriction is imposed by some requirements that would make compiling Picture-enabled console applications a nightmare, or so I gather. Thus, until Mars Saxman and the other voodoo artists at REAL Software come up with a solution, we are out on a limb. So far, the best solution I have found is to use PIL, Python's Imaging Library. There are other solutions, like using ImageMagick (which I have used quite a bit, and like), but so far the only one I found that gave access to the innards of the image, while providing a fair number of manipulation functions, is PIL. Besides, all solutions are external and require us to install libraries (unless you want to write your own class in pure RB), so in the end, it's a matter of choice, really. So this column will be about integrating PIL within RB, at least on Mac OS X. PIL exists on Windows -- I understand the author is actually more Windows-oriented than I'll ever be -- so I suppose that the provided sample project is usable, with some modifications, on Windows. Linux users should be all right, although I have yet to test it.

...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