12-28-05 10:46 PM
=EF=BB=BFthis link may help(for jpeg encoding)=0A=0Ahttp://www.kaouranti=
n.net/=0A=0Aregards,=0Aheisen.=0A=0A=0A=0A=0A=0AFrom: John Berzy[mailto:
=
passbad-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org]=0ASent: Wednesday, December
28, 2005 7:59 PM -08:00=
=0ATo: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=0ASubject
: [FlashComm] weird webc=
am idea=0A=0AI think RLE isn't the best soloution for encoding bitmapDat=
a. The reason I =0Asay that is because getPixel gives you an integer wit=
h an undetermined =0Alength for one pixel for example it might be 210222=
and another it would be =0A2221022 . so pretty much you would have to=
encode it pixel by pixel i.e.=0A=0A(210,32) <---- same size as 210222.=
both 6 characters in length.=0A=0Arather then concatnating a whole bunc=
h of the pixels which would give you =0Abetter compression i.e.=0A=0A210=
222 + 2221022 =3D 2102222221022 or using RLE 210,62 10,22=0A=0Abut then=
you would lose the length of the integer for each pixel. i.e. =0Athis=
can go both ways.=0A=0Apx1: 210222 px2: 2221022 or px1: 2102222 px2:=
221022=0A=0Athe only way I can think of a way around this would be when=
your looping =0Athrough the width and height of the image and using get=
Pixel you keep track =0Aof the length of each integer returned by pixel=
data and then encode that =0Ausing RLE aswell. and when your decoding=
the RLE values on the other end you =0Ahave an idea of how to devide=
up each pixel.=0A=0Aanyone have any thoughts about that, am I missing=
anything?=0A=0A=0A=0A=0A=0A>From: Beto A <astro_sk-/E1597aS9LQAvxtiuMwx3w@pu
blic.gmane.org>=0A>Reply-=
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@publi
c.gmane.org>=0A>To: Flas=
hComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org>=0A>Subject: Re: [Fl=
ashComm] weird webcam idea=0A>Date: Wed, 28 Dec 2005 11:07:08 -0800 (PST=
)=0A>=0A>here's a thread to get you started:=0A> http://chattyfig.figlea=
f.com/pipermail/flashcoders/2005-July/144943.html =0A>=0A> -Beto=0A>=0A>=
John Berzy <passbad-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:=0A> did
anyone manage to impleme=
nt jpeg or RLE in flash 8 yet?=0A>=0A>=0A>=0A>=0A> >From: Beto A=0A> >Re=
ply-To: FlashComm Mailing List=0A> >To: FlashComm Mailing List=0A> >Subj=
ect: Re: [FlashComm] weird webcam idea=0A> >Date: Wed, 28 Dec 2005 10:42
=
:16 -0800 (PST)=0A> >=0A> > >flash 8 is not able to send/receive binary=
data and interpret it=0A> >=0A> > From what I understand it is possible=
in 8 but not easily done. you can=0A> >encode binary data to form an=
image, but you will have to code the image=0A> >encoding/decoding funct=
ions in AScript. There is also the issue of how =0A>your=0A> >binary dat=
a is encoded, RLE or JPG(*rather difficult). To make it easier =0A>go=0A=
=0A>said=0A> >wait for 8.5.=0A> >=0A> > cheers=0A> > Beto=0A> >=0A> >Ge=
rard van den Elzen vde wrote:=0A> > Basically a good Idea but I think=
you have to wait till Flash 8.5 .=0A> >There is no method I am aware=
of to serialize bitmap data fast.=0A> >In Flash 8.5 you can use binary=
arrays and send those , flash 8 is not =0A>able=0A> >to send/receive=
binary data and interpret it=0A> >=0A> >=0A> >=0A> >=0A> >=0A> >Sch=C3=
=B6ne Gr=C3=BC=C3=9Fe aus K=C3=B6nigsborn=0A> >=0A> >G=C3=A9rard van den=
Elzen=0A> >FlashMX Programmierung&Seminare=0A> >Multimedia CD-Rom/Inter=
net=0A> >+49-(0)2303 962741=0A> >+49-(0)170-200 6291=0A> >----- Original=
Message -----=0A> >From: heisen=0A> >To: flash=0A> >Sent: Wednesday,=
December 28, 2005 6:48 PM=0A> >Subject: [FlashComm] weird webcam idea=
=0A> >=0A> >=0A> >hi,=0A> >=0A> >just a thought,=0A> >if i capture the=
webcam and serialize the output and send it to a xml=0A> >socket server=
,=0A> >and from a client side connect to the socket server and get the=
data,=0A> >and reconstruct the image using flash 8 bitmap class. is thi=
s =0A>possible...?=0A> >=0A> >regards,=0A> >heisen.=0A> >_______________=
___________________________=0A> >Get your own goowy now @ http://www.goo=
wy.com =0A> >=0A> >=3D--------------------------------------------------=
-------=0A> >Supported by Fig Leaf Software - http://www.figleaf.com =0A=[vbcol=seagreen]
//chattyfig.figleaf.com/mailman/listinfo/flashcomm =0A> >=0A> >=3D------=
-----------------------------------------------------=0A> >Supported by=
Fig Leaf Software - http://www.figleaf.com =0A> >=3D-------------------=
----------------------------------------=0A> >=0A> >To change your subsc=
ription options or search the archive:=0A> >http://chattyfig.figleaf.com=
/mailman/listinfo/flashcomm =0A> >=0A> >=0A> >=0A> >=0A> >--------------=
-------------------=0A> >Yahoo! for Good - Make a difference this year.=
=0A> >=0A> >=3D---------------------------------------------------------=
--=0A> >Supported by Fig Leaf Software - http://www.figleaf.com =0A> >=
=3D-----------------------------------------------------------=0A> >=0A>=[vbcol=seagreen]
>To change your subscription options or search the archive:=0A> >http:/=
/chattyfig.figleaf.com/mailman/listinfo/flashcomm =0A>=0A>______________=
________________________________________
___________=0A>Take charge with=
a pop-up guard built on patented Microsoft=C2=AE SmartScreen=0A>Technol=
ogy.=0A>http://join.msn.com/?pgmarket=3Den-...prem&xAPID=3D1=
994&DI=3D1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines=
=0A>Start enjoying all the benefits of MSN=C2=AE Premium right now and=
get the=0A>first two months FREE*.=0A>=0A>=0A>=3D----------------------=
-------------------------------------=0A>Supported by Fig Leaf Software=
- http://www.figleaf.com =0A>=3D---------------------------------------=
--------------------=0A>=0A>To change your subscription options or searc=
h the archive:=0A>http://chattyfig.figleaf.com/mailman/listinfo/flashcom=
m =0A>=0A>=0A>=0A>=0A>---------------------------------=0A> Yahoo! DSL=
Something to write home about. Just $16.99/mo. or less=0A>=0A>=3D------=
-----------------------------------------------------=0A>Supported by=
Fig Leaf Software - http://www.figleaf.com =0A>=3D---------------------=
--------------------------------------=0A>=0A>To change your subscriptio=
n options or search the archive:=0A>http://chattyfig.figleaf.com/mailman=
/listinfo/flashcomm =0A=0A__________________________________
____________=
___________________=0ATake charge with a pop-up guard built on patented=
Microsoft=C2=AE SmartScreen =0ATechnology =0Ahttp://join.msn.com/?pgmar=
ket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D1034&SU=3Dhttp://hotmail.=
com/enca&HL=3DMarket_MSNIS_Taglines =0AStart enjoying all the benefits=
of MSN=C2=AE Premium right now and get the =0Afirst two months FREE*.=
=0A=0A=0A=3D-----------------------------------------------------------=
=0ASupported by Fig Leaf Software - http://www.figleaf.com =0A=3D-------=
----------------------------------------------------=0A=0ATo change your=
subscription options or search the archive:=0Ahttp://chattyfig.figleaf.=
com/mailman/listinfo/flashcomm=20
________________________________________
__
Get your own goowy now @ http://www.goowy.com
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|