certainly can be done, but it might not be quick.
On a very related topic does anyone know about other null byte avoidance
techniques with data encoding.
I know about base64 (http://en.wikipedia.org/wiki/Base64) but the
overhead (about 30%) could actually outweigh the compression advantages
in some cases.
I guess developing a series of strategies could be a good approach.
1. if there are no null bytes in the compressed byte stream, then just
send it.
2. if there are null bytes then encode it and inform the receiver that
its encoded
also it would be interesting to see how fast an actionscript compressor
would run (a good case for flasm maybe ?)
although i doubt we'll be seeing a PAQ based AS2 compressor anytime soon :)
martin
. m a r c o s a u g u s t o wrote:
Yup.. I made it using imagemagick and amfphp...
You can expect around 500kb for a 150x150px image....
I was thinking about using some kind of LRE compression, and try to
find patterns..
But PNG sound more interesting...
Can it be done ?
On 8/21/05, David Rorex <[EMAIL PROTECTED]> wrote:
On 8/21/05, Carl-Alexandre Malartre <[EMAIL PROTECTED]> wrote:
Hi,
I was wondering, can FP8 take screenshot of the user's activity and send
them to the server?
With the new pixel access, can FP8 send bitmap data to the server?
This would be incredible for crash reporting. In one of our apps, we have a
button where people can complain. Maybe it could attach a screenshot of the
app at the same time.
Thanks
You could take a 'screenshot', but ONLY of whats running inside your
particular instance of flash.
The only problem is, there is no image compression routines built into
flash. Also there are issues with sending raw data to the server. So
the screen capture first of all would be pretty slow (you have to read
each pixel one at a time), and then the data to upload would be pretty
big (several megabytes...unless you implemented PNG compression in
actionscript or something)
-David R
_______________________________________________
osflash mailing list
[EMAIL PROTECTED]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
want to know what i think? probably not
http://relivethefuture.com/choronzon
_______________________________________________
osflash mailing list
[EMAIL PROTECTED]
http://osflash.org/mailman/listinfo/osflash_osflash.org