realbasic-nug
[Top] [All Lists]

Re: Displaying jpgs in a canvas

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Displaying jpgs in a canvas
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sat, 29 Jan 2005 19:22:46 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BE21E6A0 dot 6841%rovo at l4a dot info>
At 1:19 AM +0100 1/30/05, Ronald Vogelaar wrote:

 > All you have to do is either assign the picture to the .backdrop

...which is actually what I had intended/meant to advise, but I was unaware
Quicktime had anything to do with it.

Well it doesn't, unless it's an image format that is imported via Quicktime.

Oh wow, I just read the Lang.Ref on Backdrop. That suxx. My images have to be BMP or PICT. Both?

I'm not sure what you're saying here. Your images can be anything, as long as it's something that can be loaded. BMP is the native format on Windows and Linux; on the Mac, it really doesn't matter, since all Macs have QuickTime and QuickTime can read just about anything. I typically use JPEG for images that can use lossy compression, and PNG for others. Or if I want to run on Windows without QuickTime, I use BMP.

 Do you have to include images in both formats in a project?

No, if you include an image in your project, then it literally does not matter what format it is. Assuming you can see it in your project at all, REALbasic will convert it as needed when it compiles your project. The comments above only apply to FolderItem.OpenAsPicture.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>