At 2:33 AM -0400 9/6/00, grimmwerks wrote:
>I'm ready about the new imaging lingo and just tooling around a tad....I
>know that depth can be tested but not set -- however, is there a way to
>change the depth of a member some other way?
>
>My guess is something along the lines of creating an image at a lower
>depth and then copyPixels to that one from the higher depth.......er......
srcImage = (member "bitmapExample").image
newImageBuffer = image(srcImage.width, srcImage.height, 8)
newImageBuffer.copyPixels(srcImage, srcImage.rect, srcImage.rect, [#dither
: TRUE])
(member "bitmapExample").image = newImageBuffer
(This example requires that your bitmap castmember is already 16 or higher
bit depth)
Regards,
Terry
--
...---===| Terry R. Schussler |===---...
...---===| DIA Chief Investigator |===---...
on visitWebsite yourSelection
coolSites = [ \
#greatSeminars : "http://www.macromediaSEMINARS.com/", \
#directorIntelligenceAgency: "http://www.director8.com", \
#freeBehaviors : "http://www.behaviors.com/"]
gotoNetPage coolSites[yourSelection]
end visitWebsite
[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!]