realbasic-nug
[Top] [All Lists]

Should MacPICTValue in a REALdb work under Win32?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Should MacPICTValue in a REALdb work under Win32?
From: "Hadley, Joshua" <joshua dot hadley at agfamonotype dot com>
Date: Wed, 27 Feb 2002 21:08:08 -0600
Should MacPICT in a REALdb work under Win32? By that I mean, if I were to
store a Picture in a REALdb as a MacPictColumn, and then retrieve that data
under Win32 and display it on a Canvas, should it work?

Not surprisingly I guess, my initial tests indicate "no" -- but before I
completely abandon the idea, I wanted to see if it "should" work, and/or if
anyone has managed to get it working. RB docs don't say much, except that
MacPICT is one of the supported datatypes in REALdb -- but my guess is that
it is NOT supported in Win32 apps built with RB.

Reason for the fuss: I require cross-platform support of relatively small
(max 32x32 pixels), simple (b/w), graphics in a REALdb. JPEG is completely
out of the question because I cannot assume (or require) QuickTime in order
to get the JPEG support. I was hoping that maybe MacPict would work, but
it's looking like I'm either going to have to figure out how to decode
MacPICT under Win32(?) -- or maybe easier, just come up with my own storage
format.

Any ideas? I'm not necessarily tied to REALdb, but I'm not sure it matters.
I've been using it because there's no additional cost; any replacement would
need to be the same.

Josh


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