Hi Shanti,
To get more control, you can use Chimera to generate the frames, save
each of them as PNG, then process and re-assemble the frames in
photoshop to make GIFs. The command line toolbox Imagemagick is also a
great way for making GIFs (shown below).
Step1 generating the frames
Modify then save the following into a chimera command file and run it in
chimera:
close all;open #0 ABCD.pdb;
~disp;ribbon :.a;
movie record directory "D:\mov_temp\" format png pattern frame_*;
turn y 1 15;wait;turn y -1 15;wait;freeze;
movie stop;
Notes:
1) The command "movie reset" resets the file numbering back to 00000,
but also deletes the saved frames.
2) The output image size is exactly the size of the current chimera 3D
display window. So resizing the window is a very simple and straight
forward way for adjusting the final GIF size.
Step 2 Combining the PNG (frames) to make GIF using ImageMagick:
First, install Imagemagick:
https://www.imagemagick.org/script/download.php . Assuming that no
further processing of the frames is needed, in windows, open a cmd
window, type:
magick convert -delay 10 -loop 0
d:\mov_temp\frame_*.png d:\mov_temp\animation.gif
This combines the png files into a GIF with a frame delay of 100 ms (10
ms * 10) and loops forever (-loop 0).
Imagemagick can also resize, crop, make transparency, set color
conversion (as PNG is 24bit color while GIF only allows 8bit), etc. .
Zhijie
On 25/05/2017 5:18 PM, Shanti Pal Gangwar wrote:
Dear all,
I am trying to make an animation using chimera. But it looks like that
the animation output is poor quality, seems less dpi. How to get a
high resolution animation, say 300 dpi, using ucsf chimera. I am using
movie record commands.
Thank you very much,
Shanti Pal