是否可以使用imagemagick作为Adobe AIR的库引用?

时间:2021-08-28 08:59:27

I'm trying to load preview thumbnails of high resolution images and the application needs to be able to load 100 hi rez images at one time. The only way i know how to do this is if I use the Loader class and I have to load the ENTIRE file and then scale down the image and use the data as an image preview.

我正在尝试加载高分辨率图像的预览缩略图,并且应用程序需要能够一次加载100 hi rez图像。我知道如何做到这一点的唯一方法是,如果我使用Loader类,我必须加载ENTIRE文件,然后缩小图像并将数据用作图像预览。

what i'd like to do is use imagemagick (or some other efficient image manipulation lib) to compress the image and return that result (without saving it as a file first... that would be optimal) back to my AIR application so that i can use it as a preview. This would be AWESOME.

我想做的是使用imagemagick(或其他一些有效的图像处理库)来压缩图像并返回该结果(不首先将其保存为文件...这将是最佳的)回到我的AIR应用程序,以便我可以用它作为预览。这真是太棒了。

Thanks in advance.

提前致谢。

1 个解决方案

#1


CommandProxy by Mike Chambers. Look it up (http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/). This nifty trick allows you to have a conversation between AIR and non-AIR apps.

Mike Chambers的CommandProxy。查阅(http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/)。这个漂亮的技巧允许您在AIR和非AIR应用程序之间进行对话。

Still have questions? Let us know.

还有问题吗?让我们知道。

#1


CommandProxy by Mike Chambers. Look it up (http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/). This nifty trick allows you to have a conversation between AIR and non-AIR apps.

Mike Chambers的CommandProxy。查阅(http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/)。这个漂亮的技巧允许您在AIR和非AIR应用程序之间进行对话。

Still have questions? Let us know.

还有问题吗?让我们知道。