A tough question, some of you might have some good idea...
the objective is to save pixels in a Form Textarea to an image file.
here's the process I'm taking to tackle it,
first,
form submission method="post" and enctype="multipart/form-data" or
form submission method="post" (without enctype)
second, determine the submitted {form}.{textareaElement} data type -- IsBinary()
and length -- Len()
/* currently, Len() of 0, and naturally IsBinary() result of NO */
Why the {form}.{textareaElement}.value has been evaluated to zero length by CF8?
Is the form not being sent correctly? (The {textarea} definitely has pixels)
then, use ImageNew to convert the pixels into an image file.
Thanks.
Chunshen Li (Don)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314062
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4