From: Arneh Babakhani (ababakha_at_mccammon.ucsd.edu)
Date: Sun Dec 02 2007 - 20:45:38 CST

Hi John,

No, still no joy:

>Main< (diversity0776) 57 % render snapshot MySnapshot convert %s JPEG:%s.jpg
>Main< (diversity0776) 58 % ls
.:
Ligand.pdb LigandData.txt MySnapshot
Receptor.pdb ReceptorLigand.pdb VMD.vmd
diversity0776-67852.gif

It renders and creates MySnapshot just fine, but the conversion fails (no
existence of the file MySnapshot.jpg), with no complaints.

Thanks,

Arneh

>
> 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
>

-- 
Arneh Babakhani
McCammon Lab
Department of Chemistry & Biochemistry
University of California at San Diego
9500 Gilmand Dr MC 0365
La Jolla, CA 92093-0365
(619)895-6540
(858)534-4974 (FAX)
ababakha_at_mccammon.ucsd.edu
http://mccammon.ucsd.edu/~ababakha/