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 anyone have 
integrated it with coldfusion.


Thanks. 

~|
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:326252
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 anjorin_...@totco.org 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 java 
 class from coldfusion, i am having problem displaying the image from the byte 
 array.

 The fingerprint device is Secugen Hamster plus should anyone have 
 integrated it with coldfusion.


 Thanks.

 

~|
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:326253
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 rcam...@gmail.com wrote:


 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 anjorin_...@totco.org 
  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 java class from coldfusion, i am having problem  
 displaying the image from the byte array.

 The fingerprint device is Secugen Hamster plus should anyone  
 have integrated it with coldfusion.


 Thanks.



 

~|
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:326254
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Search emails dynamically from a cf8 app

2009-09-13 Thread Don L

I'm thinking about providing an ability to search all emails for a user (from 
his/her pop3 server) while performing a search for some texts from the current 
app/ current database.

Yes, understand the cfpop tag would allow one to connect to a pop3 server and 
retrieve emails dynamically.  But say, an average user's inbox would have ~800 
emails.  I'm not sure how efficient this approach of pulling out ~800 or more 
emails and then run a query against it.  Am thinking loud here, how about Event 
Gateway (have never used it though)?  Wouldn't it be a more direct hence more 
efficient approach?
app - connector -- event gateway setup and process (search against the 
entire inbox for the user for a keyword/phrase) -- pass results back to app ?
is it something like that?

Thanks for your time. 

~|
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:326255
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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


  

~|
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:326256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Is this possible with component methods in cf8?

2009-09-13 Thread denstar

If you have the files in a loopable deal, I don't see why you couldn't
loop over them, outputting the current index, and doing a cfflush
after each iteration?

It's corny and easy and not ajaxy, but theoretically workable.

-- 
There is nothing in which the birds differ more from man than the way
in which they can build and yet leave a landscape as it was before.
Robert Lynd

On Sat, Sep 12, 2009 at 3:55 AM, Rick Faircloth wrote:

 Hi, Barney...and thanks for the reply...

 I didn't actually want a loading progress indicator in terms of
 something that shows how much of a file has uploaded.

 I just want to return the info after each file has finished loading
 and processing, but doing so over and over until all the photos
 were processed.  I was thinking of something that would simply
 tell the user that photo xyz had finished uploading, various
 sizes had been created, etc., after the that process finishes
 for each photo.  Just some kind of running notifications to keep
 them in the loop on what's happening.  (And that something is
 *still* happening, so they don't bother the browser).

 After initiating a multiple photo uploading, the user would get
 something like this:

 (a few seconds pass, then, via ajax, display...)
 - photo01.jpg has been uploaded and thumbnails have been created

 (a few seconds pass, then, via ajax, display...)
 - photo02.jpg has been uploaded and thumbnails have been created

 (a few seconds pass, then, via ajax, display...)
 - photo03.jpg has been uploaded and thumbnails have been created

 etc., etc., until all submitted photos have been uploaded and processed.

 I just couldn't think of a way to return info such as the
 uploaded file name, etc., from a component method, *multiple times*.

 I thought perhaps I could somehow *loop* the image process routine,
 *including* the cfreturn, so I could get info back to the browser.
 I didn't know if that were possible, so I thought I'd just ask before
 starting trying to code a solution that might not even be possible.

 Perhaps I could somehow use a couple of processing methods that do the same
 thing, and when one is finished, have it return info for an image processed,
 and then trigger then second method to process an image and return info,
 which then triggers the first to process another photo, etc., until all the
 photos were processed.

 I don't know...just trying to think of a way to get this done using
 component
 methods or even another way.

 R

~|
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:326257
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Search emails dynamically from a cf8 app

2009-09-13 Thread Emmit Larson


  Am thinking loud here,


Excuse the intrusion into your loud thinking but that is not a question that
can be answered with out asking more questions.
Could you do me (and I assume others) a favor and ask a question that be
answered with out people having to asking questions in order to provide an
answer?

For instance. Read your question, and then ask the questions that you
would need to ask in order to provide an answer, and then ask THAT question.

That would help a lot.

Best regards,
Emmit


On Sun, Sep 13, 2009 at 5:44 PM, Don L do...@yahoo.com wrote:


 I'm thinking about providing an ability to search all emails for a user
 (from his/her pop3 server) while performing a search for some texts from the
 current app/ current database.

 Yes, understand the cfpop tag would allow one to connect to a pop3 server
 and retrieve emails dynamically.  But say, an average user's inbox would
 have ~800 emails.  I'm not sure how efficient this approach of pulling out
 ~800 or more emails and then run a query against it.  Am thinking loud here,
 how about Event Gateway (have never used it though)?  Wouldn't it be a more
 direct hence more efficient approach?
 app - connector -- event gateway setup and process (search against the
 entire inbox for the user for a keyword/phrase) -- pass results back to app
 ?
 is it something like that?

 Thanks for your time.

 

~|
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:326258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Search emails dynamically from a cf8 app

2009-09-13 Thread Dave Watts

 Yes, understand the cfpop tag would allow one to connect to a pop3 server and 
 retrieve emails dynamically.  But say, an average
 user's inbox would have ~800 emails.  I'm not sure how efficient this 
 approach of pulling out ~800 or more emails and then run a
 query against it.  Am thinking loud here, how about Event Gateway (have never 
 used it though)?  Wouldn't it be a more direct
 hence more efficient approach?
 app - connector -- event gateway setup and process (search against the 
 entire inbox for the user for a keyword/phrase) --
 pass results back to app ?
 is it something like that?

No, an event gateway wouldn't be any more direct. It would, in fact,
be less direct - instead of CF talking to the mail server, something
else would have to talk to the mail server.

I don't think that searching POP mailboxes from CF is an especially
good idea. If possible, I would fetch mail from the mailboxes
periodically, and index that using Verity (or Solr or whatever). Or
better yet, ditch the POP mailboxes entirely and switch to Google
Apps, which is in my opinion better in almost all respects to hosting
your own mailserver or using an ISPs server or whatever. Of course,
being a Google Apps reseller/implementer/trainer I may be slightly
biased. Google mail is easily searched, as you can imagine, and I
think it would be pretty easy to get CF to provide an interface for
that search if you want it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more informat

~|
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:326259
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Search emails dynamically from a cf8 app

2009-09-13 Thread Don L

  Yes, understand the cfpop tag would allow one to connect to a pop3 
...
  is it something like that?
 
 No, an event gateway wouldn't be any more direct. It would, in fact,
 be less direct - instead of CF talking to the mail server, something
 else would have to talk to the mail server.
 
 I don't think that searching POP mailboxes from CF is an especially
 good idea. If possible, I would fetch mail from the mailboxes
 periodically, and index that using Verity (or Solr or whatever). Or
 better yet, ditch the POP mailboxes entirely and switch to Google
 Apps, which is in my opinion better in almost all respects to hosting
 your own mailserver or using an ISPs server or whatever. Of course,
 being a Google Apps reseller/implementer/trainer I may be slightly
 biased. Google mail is easily searched, as you can imagine, and I
 think it would be pretty easy to get CF to provide an interface for
 that search if you want it.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 

Thank you for your thoughts, Dave.  I wouldn't have control of user's mail 
service, be it pop3 server for client (Outlook) or else.


~|
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:326260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4