>Is it a Java buffered image? If so you can pass it to ImageNew(). Have
>you tried that?
>
>
>>

Thanks, i have actually tried it. i just discovered that the problem isn't 
displaying the image. it is most likely that cf does not support the format of 
the image in the byte array.

The byte array is actually generated by a function in the java sdk of a secugen 
fingerprint device( which i am integrating into my application). in the java 
program that accompanied the device, the byte array was written to a raw file. 
I then tried to read the raw file directly but it still didn't work, cf said 
its an invalid file.
The test code is
<cffile action = "readBinary"   file="C:\fpjava\left1.raw" variable = 
"aBinaryObj">
<cfset myImage = ImageNew(aBinaryObj)>

so my problem is about the format. i really dont know what to do now.

any help? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326264
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to