How do mx.graphics.codec.JPEGEncoder and com.adobe.images.JPGEncoder relate to each other?

你。 提交于 2019-12-11 16:56:57

问题


Basically that's the question - how do mx.graphics.codec.JPEGEncoder and com.adobe.images.JPGEncoder relate to each other?


回答1:


The former is included in the Flash Player 10.1 ActionScript core library, while the latter is part of as3corelib, an open source ActionScript library.

Both are developed and distributed by Adobe, and the API seems to be identical (at least at first glance) so my guess is they compiled the functionality of the as3corelib class into the core library. Have a look at this demo project comparing both classes (and some more codecs)



来源:https://stackoverflow.com/questions/4723079/how-do-mx-graphics-codec-jpegencoder-and-com-adobe-images-jpgencoder-relate-to-e

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!