I would look into RLE (very simple and should be fast enough for
actionscript, only really helps for images that contain areas of the
same color. If every pixel's a different color, it's not gonna
compress)

And possible LZSS (decompression is very fast, but compression can be slower)

-David R

On 8/21/05, Daniel Wabyick <[EMAIL PROTECTED]> wrote:
> 
> It may very well be slow, but it would be interesting to still try. One
> factor to consider is that the bitmap sizes for most applications would
> be relatively small, and this would reduce the amount of info to deflate.
> 
> That said - I would be open to other compression ideas, ideally ones
> that will be trivially simple for server applications to implement.
> 
> One might think Adobe might know a thing or two about this subject. ;-)
> 
> Max Herkender wrote:
> 
> >Nah, png compression uses DEFLATE, basically (a form of) zip
> >compression. It'd be astonishingly slow in Actionscript. Simpler forms
> >of compression might work well if you enabled low quality before
> >getting the snapshot though...
> >
> >On 8/21/05, . m a r c o s   a u g u s t o <[EMAIL PROTECTED]> 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
> >>>
> >>>
> >>>
> >>--
> >>. m a r c o s    a u g u s t o  ;
> >>
> >>_______________________________________________
> >>osflash mailing list
> >>[EMAIL PROTECTED]
> >>http://osflash.org/mailman/listinfo/osflash_osflash.org
> >>
> >>
> >>
> >
> >_______________________________________________
> >osflash mailing list
> >[EMAIL PROTECTED]
> >http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> 
> 
> _______________________________________________
> osflash mailing list
> [EMAIL PROTECTED]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>

_______________________________________________
osflash mailing list
[EMAIL PROTECTED]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to