[latex]图片动态缩放的PDF动画示例
2013-04-06 22:45
106 查看
[latex]图片动态缩放的PDF动画示例,下面的示例主要使用ctex,animate和tikz宏包实现的.
效果如下:
图片在pdf中自动会动态缩放.
% Animated beamer frame for tikz %Author: %wu xuping %Date: %2013-04-06 % FileName: %main.tex % run: % xelatex -shell-escape main % xelatex -shell-escape main %required: % Acrobat Reader version > 6 \documentclass{beamer} \input{preamble.tex} \input{tikzall.tex} %包含所有的tikz包 \begin{document} \begin{frame}[t,fragile] \frametitle{\Letex 图片动态缩放的PDF动画示例} \frametitle{动态缩放美女脸部} %使用tikz包,比较方便控制画面的位置 \begin{animateinline}[autoplay,palindrome, begin={\begin{tikzpicture}[scale=1,line width=1.5pt] \useasboundingbox (-2cm,-2cm) rectangle(4cm,4cm);}, end={\end{tikzpicture}}]{8} %总共生成20帧画面,以每秒8帧的速度播放 \multiframe{20}{Rscale=0.02+0.02}{% \node[draw] at (1,1){\includegraphics[scale=\Rscale]{test}}; }% \end{animateinline} \end{frame} \end{document}
效果如下:
图片在pdf中自动会动态缩放.
相关文章推荐
- [latex]图片动态缩放并旋转飞出的PDF动画示例
- 【Android】21.4 图片动画缩放示例
- [latex]在beamer中使用tikz和animate宏包绘制PDF动画的示例
- js、jquery图片动画、动态切换示例代码
- js、jquery图片动画、动态切换示例代码
- as3动态加载多张图片,自动缩放并加鼠标边框![新手]
- C#图片处理示例(裁剪,缩放,清晰度,水印)
- js控制图片的缩放代码示例
- C#图片处理示例(裁剪,缩放,清晰度,水印)
- 动态放大缩小ImageView里的图片(运用Matrix对象来缩放图片文件)
- Android动画及图片的缩放和旋转
- php使用imagick模块实现图片缩放、裁剪、压缩示例
- C#图片处理示例(裁剪,缩放,清晰度,水印)
- Android缩放图片和旋转图片示例
- PHP实现图片的等比缩放和Logo水印功能示例
- php和js对数据库图片进行等比缩放示例
- Android代码中动态设置图片的大小(自动缩放),位置
- PHP图片裁剪与缩放示例(无损裁剪图片)
- latex中eps和pdf图片制作
- Jquery动态改变图片IMG的src地址示例