Subject: Re: This makes no sense
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Fri, 14 Nov 2003 16:05:38 -0600
At 4:19 PM -0500 11/14/03, Peter Gatti wrote
Here's the thing, when I examined the rowpictures in the debugger,
the pictures show a bit depth of zero with a mask bit depth of 8.
Zero means there's no bitmap, so how come the imagewell recognizes
it and rowpicture recognizes it, but programmatically the resource
file and the clipboard do not??
Joe replied: Because it's not a PICT. It's a JPEG -- or more
generically, an opaque QuickTime image. This will need to be converted
to a PICT if you want to store it in a PICT resource. OK Joe, that is
exactly what I need to know. How do I convert JPEG to PICT
programmatically? I looked everywhere and I can't find out how.
----------------------------------------------------------------------
On Nov 14, 2003, at 1:19 PM, Peter Gatti wrote:
Here's the set-up, I'm working on a database for DVD movies. I have a
listbox of text and rowpictures that are hidden using a mask. Clicking
on a row displays the rowpicture in an imagewell. This works fine.
Seth replied:
This might have something to do with your problem, but I'm not so sure.
Anyway, why use the rowpicture with a mask? That's more work and gives
more room for error than simply making an array for them.
Good point Seth. Though this part works fine, I could eliminate the mask by
using an array. I'm learning. :)
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|