From: Vlad Cojocaru (vlad.cojocaru_at_mpi-muenster.mpg.de)
Date: Thu Mar 03 2016 - 15:01:24 CST

Alternatively, you can build VMD from source against tcl/tk 8.6 ... compiling VMD is not trivial but its doable and works well.

Vlad

On March 3, 2016 7:59:50 PM GMT+01:00, John Stone <johns_at_ks.uiuc.edu> wrote:
>Hi,
>Aside from what Axel mentioned, I'm not sure what your usage of the
>TkPNG
>is intended for, but I have recently added PNG support to developmental
>
>versions of VMD 1.9.3 to allow the "Snapshot" and various internal
>ray tracing engines to save images directly to PNG format.
>If you need PNG capabilities specifically within Tk that's interesting
>and something I want to know more about. I haven't looked at the TkPNG
>package, but I would be concerned about whatever library dependencies
>it
>might carry with it. If it is possible to build it and the rest of VMD
>
>against the same PNG library, then this might be relatively
>straightforward.
>
>Cheers,
> John
>
>On Thu, Mar 03, 2016 at 01:52:12PM -0500, Axel Kohlmeyer wrote:
>> On Thu, Mar 3, 2016 at 12:19 PM, Nuno Sousa Cerqueira
>> <nscerqueira_at_gmail.com> wrote:
>> > Tcl/Tk 8.6 already allows the use of png fie format but not in
>version 8.5.
>> >
>> > That???s why I was asking for the version 8.6 in VMD
>> >
>> > Another way to do this involves the used of the TkPNG package.
>When I
>> > compile it under macOS it works perfectly and wish8.5 behaves like
>wish8.6.
>> > However when I run the same code in VMD it gives the following
>error:
>> >
>> > dlopen(/Library/Tcl/lib/tkpng0.9/libtkpng0.9.dylib, 6): no suitable
>image
>> > found. Did find:
>> > /Library/Tcl/lib/tkpng0.9/libtkpng0.9.dylib: mach-o, but wrong
>architecture
>> >
>> >
>> > Any workaround for this issue ?
>>
>> use a suitable netpbm tool to convert the image into a format
>> supported with older version?
>>
>> axel.
>>
>> >
>> >
>> > Regards,
>> >
>> > Nuno
>> > ______________________________________________
>> >
>> > Nuno M. F. Sousa A. Cerqueira
>> > Chemistry Department
>> > Faculty of Sciences
>> > University of Porto
>> > Rua do Campo Alegre, s/n
>> > 4169-007 Porto
>> > Portugal
>> > Tel: +351 220402501
>> > Fax: +351 220 402 009
>> > email: nscerque_at_fc.up.pt
>> > website: http://www.fc.up.pt/pessoas/nscerque
>> >
>> >
>> >
>> >
>> > On 03 Mar 2016, at 16:28, Nuno Sousa Cerqueira
><nscerqueira_at_gmail.com>
>> > wrote:
>> >
>> > Hello to all,
>> >
>> > Is there any version of VMD compiled with tcl and tk 8.6 ?
>> >
>> >
>> > Regards,
>> >
>> > nuno
>> > ______________________________________________
>> >
>> > Nuno M. F. Sousa A. Cerqueira
>> > Chemistry Department
>> > Faculty of Sciences
>> > University of Porto
>> > Rua do Campo Alegre, s/n
>> > 4169-007 Porto
>> > Portugal
>> > Tel: +351 220402501
>> > Fax: +351 220 402 009
>> > email: nscerque_at_fc.up.pt
>> > website: http://www.fc.up.pt/pessoas/nscerque
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>> --
>> Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0
>> College of Science & Technology, Temple University, Philadelphia PA,
>USA
>> International Centre for Theoretical Physics, Trieste. Italy.
>
>--
>NIH Center for Macromolecular Modeling and Bioinformatics
>Beckman Institute for Advanced Science and Technology
>University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
>http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349
>http://www.ks.uiuc.edu/Research/vmd/

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.