Get a Real Studio and Xojo plugin for importing and exporting pictures.
FromEinhugur Software:GraphicsFormats is a REALbasic plugin to import and export pictures. The plugin currently supports PNG, Jpeg, Jpeg2000 and TGA file formats with the following features in both PNG, Jpeg, Jpeg2000 and Tga formats:
Importing from a file.
Importing from a string.
Importing from a IBinaryStreamReader.
Importing with Alpha channels (PNG and Jpeg2000 only)
Exporting to a file
Create split views in forms.
Discover who's using your software and how they're using it.
Object-oriented BASIC interpreter.