On 18/11/01 at 1:53 pm, Lingo-L Digest <[EMAIL PROTECTED]> wrote:

> Date: Sun, 18 Nov 2001 01:59:26 -0500
> From: Colin Holgate <[EMAIL PROTECTED]>
> Subject: Re: <lingo-l> Diference between picture and image
> 
> >Could someone explain to me what is the difference between 
> >member(x).image and member(x).picture?
> 
> 
> Picture was brought in with Director 6 I think. It was a way to get 
> at the picture of something, like the stage for example. You can use 
> Image in the same way, but Image can also just be a variable that 
> contains an image, which you could then modify using the imaging 
> Lingo that came in with Director 8.

Terry Schussler wrote about this on DirectL in Novemeber 2000:

> There are a lot of difference between these two properties.
> 
> Getting the picture property requests Director to create a bitmap of the
> specified castmember at the screen depth of your display device.  This will
> be more time consuming than requesting the image property and possibly
> cause a significant amount of RAM to be required if you are in 65K or true
> color display mode.  This property is supported by #text, #field, #bitmap
> and #window objects.
> 
> Getting the image property requests Director to give you access to a cached
> copy of the (probably) already rastered bitmap of the specified castmember.
> This is much faster than getting the picture property.  The image will be
> at the color depth designated by the source media.  This property is
> supported by #text, #bitmap, #vectorshape, #flash and #window properties
> (albeit currently broken in the latest Shockwave build for #vectorShape and
> #flash media.)

Interesting? Perhaps. It's certainly good to know there's a way to go from field to 
bitmap without using a text member.

It would be interesting to see if there were a way to go from picture to image and/or 
back again without using a cast member.

Unfortunately the following two assignments fail:

new(#bitmap).image = member(1).picture
new(#bitmap).picture = member(1).image

...with the appropriate 'expecting...' error messages.


-- 
_____________

Brennan Young

Artist, Composer and Multimedia programmer

mailto:[EMAIL PROTECTED]

Knowledge is like a circle. Ignorance is the area outside it. With learning, the 
circle grows, and the boundary between knowledge and ignorance increases.

The more you know, the more you know you don't know.

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to