|
AS3 GIF Animation Encoding Class |
|
|
|
Everything is encoded through the player. Then you know the story, the GIF stream is sent through AMFPHP to a server to download it, and then save it to your hard disk. Any kind of images can be included in the final GIF, each frame is a flash.display.BitmapData object.
http://www.bytearray.org/?p=93 |
With this new GIFPlayer class, everything is handled, I have added some methods as you would call on a traditional flash.display.MovieClip
http://www.bytearray.org/?p=95 |
So you may wonder, why the hell would I need a JPEG decoder in AS3 ? The Flash Player does it natively and supports it, its not like decoding animated GIFs, or BMP, etc. Well, for my part, I needed a JPEG decoding class for AlivePDF in order to make the addImageStream method work, which basically embed any JPEG file (any dpi) into any page of the PDF created.
http://www.bytearray.org/?p=1089 |
AS3 Scale9 Bitmap is helper class that lets you create scale9 sprites with bitmap data fill – originally this was not possible in Flash 9. The helper class creates a “fake” scale 9 sprite containing 9 shapes that scale according to user-defined scaling matrix. Extremely useful for user interface work (creating buttons, scalable UI elements etc.).
http://www.uza.lt/blog/2009/02/as3-scale9-bitmap-new-in-codex/ |
I've just begun to write a Raster class which provides some drawing methods onto BitmapData instances (pixel per pixel)
http://www.bytearray.org/?p=67 |
AS3 ported version of ARToolKit. Actually, FLARToolKit is based on NyARToolkit, Java ported version of ARToolKit. FLARToolKit recognize the marker from input image. and calculate its orientation and position in 3D world. You should draw 3D graphics by your own. Helper classes for major flash 3D engines (Papervision3D, Away3D, Sandy, Alternativa3D) are included.
http://www.libspark.org/wiki/saqoosha/FLARToolKit/en |
Does this sound familiar: You're loading a JPG file, and want to know what size it is before it has loaded? This can be useful if you're for example drawing a border/background, which will contain the image. If you don't know what size the image is, you don't know what size the box should be. I'm sure there are better & more common uses to this, but i know for sure it can be really useful.
http://www.anttikupila.com/flash/getting-jpg-dimensions-with-as3-without-loading-the-entire-file/ |
Here is an application i had to develop in Actionscript 3, it lets you capture any content into a JPEG file (JPEG Encoding corelib class) with quality settings and size infos, you can choose between two modes, that lets you save the file on the server or your hard-disk.
http://www.bytearray.org/?p=26 |
|
Live JPG Encoder AMFPHP Version |
|
|
|
Now that AMFPHP 1.9 supports ByteArray transfer, I updated the "Live JPEG Encoder" so that it uses Flash Remoting technology with AMFPHP and FileReference.
http://www.bytearray.org/?p=90 |
I have just finished a simple class which allows you to resize dynamically any Bitmap (just like the MovieClip.scale9Grid feature).
http://www.bytearray.org/?p=118 |
|
|
|
Seite 1 von 2 |