FLASH 保存帧,到图像(tiff、bmp、jpg、gif、png) [英] FLASH save frame, to image (tiff, bmp, jpg, gif, png)

查看:41
本文介绍了FLASH 保存帧,到图像(tiff、bmp、jpg、gif、png)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题本身就说明了这一点.我正在用 Flash 制作一些生成"艺术品.现在我想在不制作屏幕截图的情况下保存框架.也许有一天我想保存一批帧.

The title sort of explains itself. I am making some 'genrative' artwork in flash. Now I want to save the frame without making a screenshot so-on and sofort. And perhaps one day i would like to save a batch of frames.

那里有可以帮助我的 AS3 类/库吗?

Is there an AS3 class/library out there that could help me out ?

推荐答案

其实用刚刚发布的Flash 10,就可以保存到HD!它非常方便,仅适用于这种情况.它非常安全,因为它只允许您在用户单击文件对话框中的保存"后保存文件,您不能随意编写文件.此外,已经编写了一些代码,允许您使用 BitmapData 拍摄快照,并压缩为 PNG 或 JPEG.我建议使用 PNG,因为它是无损的,非常适合您正在创作的艺术品.

Actually, using the just released Flash 10, you CAN save to the HD! It's very handy, for just this situation. It's perfectly secure, because it only lets you save a file after the user clicks 'Save' in the file dialog, you can't just go writing files willy-nilly. Also, there is code out there already written that allows you to take snapshots using BitmapData, and compress to PNG or JPEG. I'd recommend PNG because it's lossless, which is nice for artwork you're creating.

以下是一些相关链接:

这篇关于FLASH 保存帧,到图像(tiff、bmp、jpg、gif、png)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆