probably better -
with imaging lingo, all the font, style & anti-aliasing aspects can
be incorporated
IL = member("bitmap").image
tI = member("text").image
IL.copypixels(tI, tI.rect, IL.rect)
a = new(#bitmap) -- make a new bitmap so you don't destroy your original
a.image = IL
hth
-Buzz
At 4:35 PM +0200 8/30/02, you wrote:
>By the way, is it possible to add text, i mean pasting the content
>of another textfield on a member #bitmap jpg as in php?
>like this
><?
>dl("php_gd.dll");
>Header("Content-type: image/jpeg");
>$im = imageCreatetruecolor(100,50);
>$white = ImageColorAllocate($im,255,255,255);
>$black = ImageColorAllocate($im,0,0,0);
>ImageString($im,5,10,10,"would be",$black);
>ImageString($im,5,24,18,"very",$black);
>ImageString($im,5,16,24,"nice",$black);
>ImageJpeg($im);
>ImageDestroy($im);
>?>
>
>Fabrice
>
>Charlie Fiskeaux II heeft op woensdag 28 augustus 2002 om 19:59 het
>volgende geschreven:
>
>>On this topic, I've noticed that there's an xtra included with Director
>>called JPG Export. Does this actually let you export a JPG, either at
>>runtime or during authoring? Or is it to support something else?
>>
>>Charlie Fiskeaux II
>>Media Designer
>>The Creative Group
>>www.cre8tivegroup.com
>>859/858-9054x29
>>
>>
>>----- Original Message -----
>>From: "Buzz Kettles" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Wednesday, August 28, 2002 1:35 PM
>>Subject: Re: <lingo-l> xtra for writing image files
>>
>>
>>At 12:04 PM +0200 8/28/02, you wrote:
>>>Could anyone recommend me an xtra for writing image files?
>>>It needs to be cross platform and robust (must be able to handle large
>>>files)
>>>
>>>Thanks,
>>>
>>>Chris
>>
>>DirectImage (formerly known as DirectXport) is a cross-platform, easy
>>to use Scripting Xtra for Macromedia Director and Shockwave that
>>provides applications with the ability to export, import, capture and
>>manipulate images.
>>
>>http://www.directxtras.com
>>
>>-Buzz
>>[To remove yourself from this list, or to change to digest mode, go to
>>http://www.penworks.com/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!]
>>
>>[To remove yourself from this list, or to change to digest mode, go
>>to http://www.penworks.com/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!]
>>
>
>[To remove yourself from this list, or to change to digest mode, go
>to http://www.penworks.com/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!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]