Yep to both. This allows you to add text, centered in a text box placed at
the relevant dimensions
<CFX_IMAGE ACTION="IML"
FILE="#Expandpath('#THEIMAGE#')#"
COMMANDS="
setfont 7,0,0,NORMAL,Verdana
## center it in rect
setfontalign HCENTER,VCENTER
## write the text rect (2,2,max width - 2, max height - 2 ),
color 3300FF, your text
text #textWidth#,#textHeight#,-2,-2,FF0000,#blurb#
write #Expandpath('#THEIMAGE#')#
">
And this 'pastes' an image, I used a combination of GIFGF and IMAGE, can't
remember why now....
<CFX_GIFGD ACTION="PASTE"
FILE="#ExpandPath('.\server.gif')#"
TO_FILE="#ExpandPath('#THEIMAGE#')#"
x="#piccyX#"
y="#piccyY#"
OUTPUT="#ExpandPath('#THEIMAGE#')#"
COMMENT="A paste
example">
But as the guys have mentioned, there's eg's and docs with the download.
-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 16:49
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] Creating images on the Fly
Hey Kev,
With CFX_Image do you have the option to say add text to an image? or even
embed another image into another?
-----Original Message-----
From: Kevin Faulkner [mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 16:07
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] Creating images on the Fly
CFX_Image and CFX_gifgd are both around and allow pretty complex image
manipulation. drwaing shapes, pasting images on to canvas, text etc etc
Uses an M$ object so limited to Windows boxes at present I think.
Not the quickest tags in the world, but then it could be my query!
-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 15:58
To: '[EMAIL PROTECTED]'
Subject: [ cf-dev ] Creating images on the Fly
Anyone good any good resources of creating images on the fly? What the
limitations are and what the possibilities are etc...obviously in
ColdFusion, and I would assume via a CFX tag.
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
DISCLAIMER: This e-mail is confidential and may also be legally privileged.
If you are not the intended recipient, use of the information contained in
this e-mail (including disclosure, copying or distribution) is prohibited
and may be unlawful. Please inform the sender and delete the message
immediately from your system. This e-mail is attributed to the sender and
may not necessarily reflect the views of the Patsystems Group and no member
of the Patsystems Group accepts any liability for any action taken in
reliance on the contents of this e-mail (other than where it has a legal or
regulatory obligation to do so) or for the consequences of any computer
viruses which may have been transmitted by this e-mail. The Patsystems Group
comprises Patsystems plc and its subsidiary group of companies.
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
DISCLAIMER: This e-mail is confidential and may also be legally privileged.
If you are not the intended recipient, use of the information contained in
this e-mail (including disclosure, copying or distribution) is prohibited
and may be unlawful. Please inform the sender and delete the message
immediately from your system. This e-mail is attributed to the sender and
may not necessarily reflect the views of the Patsystems Group and no member
of the Patsystems Group accepts any liability for any action taken in
reliance on the contents of this e-mail (other than where it has a legal or
regulatory obligation to do so) or for the consequences of any computer
viruses which may have been transmitted by this e-mail. The Patsystems Group
comprises Patsystems plc and its subsidiary group of companies.
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]