Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Capture webcam snapshot as bitmap and send to server

New Here ,
Nov 07, 2007 Nov 07, 2007
I have a local webcam stream appearing on the stage in a movieclip.

When I click a "snapshot button", a still image from the webcam gets attached to a new movieclip on the stage with attachbitmap and then draw()

The snapshot shows up in the movieclip on the stage as a preview.

I want to know how to send the data of this bitmap in the movieclip to a server (php or coldfusion) to be saved as a JPEG.

I can't figure out how to access the bmp data and send it to a server... any answers?
TOPICS
ActionScript
8.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 07, 2007 Nov 07, 2007
in as2, check mario klingemann's bitmapexporter class: www.quasimondo.com

in as3, check the jpegencoder class: http://livedocs.adobe.com/labs/flex/3/langref/mx/graphics/codec/JPEGEncoder.html

(but searching google you'll get more helpful info on the jpegencoder class - esp. from kourantin
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 19, 2007 Dec 19, 2007
LATEST
Hello jspoon27,

I am working on a locally run flash application that is very similar to your post about wanting to save a snapshot of a local webcam. Could you share your code for doing that or explain your steps? I would like to have a webcam running then take a snapshot of the webcam with a button and then email the saved snapshot. My main interest is how you created the snapshot and button for it.

Thank you,

LeverLock2
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines