ae怎么保存为图片
选中你要导出为图片的那一帧,导出为psd格式,再用ps转为你想要的其他照片格式
选中你要导出为图片的那个合成,Ctrl+M添加到渲染队列。
1.自定义时间到你想导出为图片的那个时间段
2.选择导出的图片格式
ae怎么导出图片(ae怎么导出图片序列)
ae中怎么导出图片
添加到输出队列这一步你会不?快捷键是Ctrl+M,或者是“文件”那一行,“合成”下面的倒数第五个选项,中文版我不知道叫什么,英文版的是“Make Movie”,然后当前comp就会被添加进输出队列,你可以看到有四个可更改的参数,然后在左下角的输出格式里面的文件格式选择tiff序列或者是tga序列就可以了,有很多种格式的序列选项。
AE无法导出视频是什么原因?
一、根据图片原因是你选择了使用Encoder导出
解决方法:1、使用快捷键ctrl加M用鼠标选择导出。(不要直接按回车键)
2、安装与AE相对应的Encoder导出。软件百度有很多。
AE如何从视频中提取单帧图片
1、自然是拖动AE的时间线以此来定位要导出的单帧图片画面了哦。
2、然后去AE菜单栏找到composition的下拉菜单save……as。
3、然后鼠标停在save……as后即可看到File选项了,点击File开始在AE中导出图片。
4、如图所示,之后AE就会出现渲染图片的序列了。然后点击output
module右边的下拉箭头。
5、然后自定义图片的类型(custom),因为AE导出图片它默认是PSD类型的。
6、接着即可看到有PNG
sequence之类的提示表示PNG图片的类型哦。而JPG类型的则是JPEG
sequence。
7、比如把AE的图片类型弄成PNG格式的然后点OK啦。
AE里做好的图怎么导出来?
在ArcGIS的开发中,我们经常需要将当前地图打印(或是转出)到图片文件中。将Map或Layout中的图象转出有两种方法,一种为通过IActiveView的OutPut函数,另外一种是通过IExport接口来实现。第一种方法导出速度较快,实现也比较方便,但该方法对于图片的行或列数超过10000左右时,导出经常会失败(具体原因未知),第二种方法导出速度较慢,但效果较好,且可以在导出过程中通过ITrackCancel来中止导出操作。 通过IActiveView的方式导出是通过创建Graphics对象来实现,具体示例代码如下:
Code
///
需转出的MAP
///
输出的图片大小
///
指定的输出范围(为Envelope类型)
///
public static Image SaveCurrentToImage(IMap pMap, Size outRect, IEnvelope pEnvelope)
{
//赋值
tagRECT rect = new tagRECT();
rect.left = rect.top = 0;
rect.right = outRect.Width;
rect.bottom = outRect.Height;
try
{
//转换成activeView,若为ILayout,则将Layout转换为IActiveView
IActiveView pActiveView = (IActiveView)pMap;
// 创建图像,为24位色
Image image = new Bitmap(outRect.Width, outRect.Height); //, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(image); // 填充背景色(白色)
g.FillRectangle(Brushes.White, 0, 0, outRect.Width, outRect.Height); int dpi = (int)(outRect.Width / pEnvelope.Width); pActiveView.Output(g.GetHdc().ToInt32(), dpi, ref rect, pEnvelope, null); g.ReleaseHdc(); return image;
} catch (Exception excp)
{
MessageBox.Show(excp.Message + "将当前地图转出出错,原因未知", "出错提示", MessageBoxButtons.OK, MessageBoxIcon.Error); return null;
}
} 通过IExport接口实现的导出,也需要通过IActiveView的OutPut来实现,但其转出句柄为IExport的StartExporting函数返回的DC,具体示例代码如下://输出当前地图至指定的文件
public void ExportMapExtent(IActiveView pView, Size outRect,string outPath)
{
try
{
//参数检查
if pView == null )
{
throw new Exception("输入参数错误,无法生成图片文件!");
}
//根据给定的文件扩展名,来决定生成不同类型的对象
ESRI.ArcGIS.Output.IExport export = null;
if (outPath.EndsWith(".jpg"))
{
export = new ESRI.ArcGIS.Output.ExportJPEGClass();
}
else if (outPath.EndsWith(".tiff"))
{
export = new ESRI.ArcGIS.Output.ExportTIFFClass();
}
else if (outPath.EndsWith(".bmp"))
{
export = new ESRI.ArcGIS.Output.ExportBMPClass();
}
else if (outPath.EndsWith(".emf"))
{
export = new ESRI.ArcGIS.Output.ExportEMFClass();
}
else if (outPath.EndsWith(".png"))
{
export = new ESRI.ArcGIS.Output.ExportPNGClass();
}
else if (outPath.EndsWith(".gif"))
{
export = new ESRI.ArcGIS.Output.ExportGIFClass();
} export.ExportFileName = outPath;
IEnvelope pEnvelope = pView.Extent;
//导出参数
export.Resolution = 300;
tagRECT exportRect = new tagRECT();
exportRect.left = exportRect.top = 0;
exportRect.right = outRect.Width;
exportRect.bottom = (int)(exportRect.right * pEnvelope.Height / pEnvelope.Width);
ESRI.ArcGIS.Geometry.IEnvelope envelope = new ESRI.ArcGIS.Geometry.EnvelopeClass();
//输出范围
envelope.PutCoords(exportRect.left, exportRect.top, exportRect.right, exportRect.bottom);
export.PixelBounds = envelope;
//可用于取消操作
ITrackCancel pCancel = new CancelTrackerClass();
export.TrackCancel = pCancel;
pCancel.Reset();
//点击ESC键时,中止转出
pCancel.CancelOnKeyPress = true;
pCancel.CancelOnClick = false;
pCancel.ProcessMessages = true;
//获取handle
System.Int32 hDC = export.StartExporting();
//开始转出
pView.Output(hDC, (System.Int16)export.Resolution, ref exportRect, pEnvelope, pCancel);
bool bContinue = pCancel.Continue();
//捕获是否继续
if (bContinue)
{
export.FinishExporting();
export.Cleanup();
}
else
{
export.Cleanup();
}
bContinue = pCancel.Continue();
}
catch (Exception excep)
{
//错误信息提示
}}
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, website.service08@gmail.com 举报,一经查实,本站将立刻删除。