From: John Stone (johns_at_ks.uiuc.edu)
Date: Sun Dec 02 2007 - 19:53:20 CST

Arneh,
  Try this command instead, your original one had a typo in the format
specifier:
  render snapshot MySnapshot convert %s JPEG:%s.jpg

Let me know if that still isn't working for you..

  John Stone
  vmd_at_ks.uiuc.edu

On Sun, Dec 02, 2007 at 01:02:52PM -0800, Arneh Babakhani wrote:
> Hi,
>
> I'm trying to render a snapshot from the tcl console, and would like to
> have it in a jpg or gif format (don't need high quality).
>
> I'm trying to follow the example on p. 87 of the VMD manual, where it
> suggests:
>
> render snapshot MySnaphot convert %s eps:%s.ps
>
> to get a snapshot in ps format. This works fine.
>
> But how does one render to achieve a gif or jpg format? I tried to execute:
>
> render snapshot MySnapshot convert %s jpg:%s.jpg
>
> but the convert part doesn't work, nor for convert %s.gif:%s.gif . I
> probably just have bad syntax, am I missing something here?
>
> Thanks,
>
> Arneh
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078