Re: Displaying image from a byte array

2009-09-15 Thread Leigh
> where i dnt get is, how is BufferedImage populated with the > imageBuffer1 ? Short answer: imageBuffer1 is just a pointer. The array is still connected to the BufferedImage object. So when the function modifies imageBuffer1, it has the effect of also modifying the parent image. Longer answ

Re: Displaying image from a byte array

2009-09-15 Thread Omotola Anjorin
Leigh, you are the best! My problem is solved. am really really grateful and also excited. u wont believe i have spent nights and day on this thing. But there is a part i dnt understand. .. .. i then passed imageBuffer1 to the function.. where i dnt get is, how is BufferedImage populated

Re: Displaying image from a byte array

2009-09-15 Thread Leigh
> because in the sample java code the bytearray wasn't used > directly. they used it as follows > ... > the bytearray imageBuffer1 was created this way before > passed to the function to capture the image. Hmm.. if all the function does is populate a supplied byte array, then it sounds like you

Re: Displaying image from a byte array

2009-09-14 Thread Omotola Anjorin
> > The documentation doesnt say much except ... > > ... > > The captured fingerprint is a 256 gray-level image. > > Are you looking at the java documentation/api? It seems odd they would > not provide more detailed information, or at least a few code examples. > > > I am just guessing here.

Re: Displaying image from a byte array

2009-09-14 Thread Leigh
> The documentation doesnt say much except ... > ... > The captured fingerprint is a 256 gray-level image. Are you looking at the java documentation/api? It seems odd they would not provide more detailed information, or at least a few code examples. I am just guessing here. But that sounds li

Re: Displaying image from a byte array

2009-09-14 Thread Omotola Anjorin
>Go to the documentation for the fingerprint device, then, to determine what >the file format is. There are a number of formats that browsers can't >handle (not CF, but the browsers themselves), such as progressive JPEG and >CMYK JPEG. If it's one of those, then you may need a 3rd party conve

Re: Displaying image from a byte array

2009-09-14 Thread Leigh
> Go to the documentation for the fingerprint device, then, to determine > what the file format is. There are a number of formats that browsers > can't handle (not CF, but the browsers themselves), ... Also, check the documentation for an example of converting the device output to an image (j

Re: Displaying image from a byte array

2009-09-14 Thread Jason Fisher
Go to the documentation for the fingerprint device, then, to determine what the file format is. There are a number of formats that browsers can't handle (not CF, but the browsers themselves), such as progressive JPEG and CMYK JPEG. If it's one of those, then you may need a 3rd party converter

Re: Displaying image from a byte array

2009-09-14 Thread Omotola Anjorin
>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

Re: Displaying image from a byte array

2009-09-13 Thread Leigh
> Is it a Java buffered image? If so you can pass it to > ImageNew(). Have you tried that? Apparently you can also pass in the image bytes directly, without using a Bufferedimage. ie ImageNew(byteArray) I cannot believe I never knew that one. -Leigh ~~~

Re: Displaying image from a byte array

2009-09-13 Thread lists
Ray should be right. I've passed raw image byte data from flex to coldfusionjedi with no problem. If you're receiving the data in a cfc just type the argument as binary. On Sep 13, 2009, at 9:40 AM, Raymond Camden wrote: > > Is it a Java buffered image? If so you can pass it to ImageNew().

Re: Displaying image from a byte array

2009-09-13 Thread Raymond Camden
Is it a Java buffered image? If so you can pass it to ImageNew(). Have you tried that? On Sun, Sep 13, 2009 at 5:44 AM, Omotola Anjorin wrote: > > Please i need display an image from a byte array. The byte array contains a > fingerprint image captured from the fingerprint device. I am using the

Displaying image from a byte array

2009-09-13 Thread Omotola Anjorin
Please i need display an image from a byte array. The byte array contains a fingerprint image captured from the fingerprint device. I am using the java class from coldfusion, i am having problem displaying the image from the byte array. The fingerprint device is Secugen Hamster plus should