kcjoon / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

Standardize the API for image encoders #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The PNG encoder uses a static function "encode" while the JPG encoder 
requires an instance of JPGEncoder.  

It would be nice if one method was chosen and used for both for ease of 
switching between them.  This would then pave the way for future encoding 
formats and would support reflection.

Original issue reported on code.google.com by frozenan...@gmail.com on 4 Jun 2007 at 5:59

GoogleCodeExporter commented 8 years ago
We should use the same syntax that flex uses now, which is an instance method 
called
encode()

Original comment by mikechambers on 2 Jul 2008 at 4:54

GoogleCodeExporter commented 8 years ago

Original comment by mikechambers on 22 Sep 2009 at 7:55