FLASH保存帧,图像(TIFF,BMP,JPG,GIF,PNG) [英] FLASH save frame, to image (tiff, bmp, jpg, gif, png)

查看:326
本文介绍了FLASH保存帧,图像(TIFF,BMP,JPG,GIF,PNG)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题之类的解释本身。我想提出闪光灯一些genrative艺术品。现在,我要保存框架而不进行截图等等,并sofort。也许有一天,我想挽救了一批帧。

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,你可以保存到高清!这是非常方便的,只是这种情况。这是完全安全的,因为它只让你在用户点击保存在文件对话框中保存文件时,你不能随便去写文件慎之又慎。此外,还有code在那里已经写,可让您使用更多的BitmapData快照,和COM preSS为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.

下面是一些相关链接:

  • Example creating and saving a JPEG to local harddrive
  • Video tutorial about loading & saving files
  • Another example, this time with text files
  • API docs for FileReference.save()

这篇关于FLASH保存帧,图像(TIFF,BMP,JPG,GIF,PNG)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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