开发者

Resize image and send to server in Air app

I'm trying to build an Air application where a user can drop in an image. That image needs to resize if it's bigger than 1024px 1024px.

What's the best practice for resizing an image in Air development? And what's the best practice if I want to send this to codeigniter amf server in Air 2.0, bytearray forma开发者_运维知识库t?

Thank you


For resizing the image see What is the best way to resize a BitmapData object? .
And if you want to send it quickly, i suggest to encode the image to PNG/JPG with ascorelib

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜