I suspect that some of the confusion here is in the fact that the loop
command does not appear to be set when writing the GIF. Rather, if an
animation is set to loop in Jmol, then it generates a looping GIF by
default. In other words, you must set this:
animation MODE LOOP
before you export to a GIF.
There are animated PNGs ("APNG"), but it is not-standard, so don't expect
all viewers to support them (nor perhaps Jmol to generate them -- you might
need a 3rd party tool to splice the frames together). Since it is not
standard, why? Just use GIF.
Sincerely,
James Ryley, PhD, Patent Agent
SumoBrain: Intellectual Property Solutions & Data
AcclaimIP <https://www.acclaimip.com/> |
FreePatentsOnline.com<http://www.freepatentsonline.com/>|
SumoBrain.com <http://www.sumobrain.com/> |
BioMedSearch.com<http://www.biomedsearch.com/>
This communication is confidential and may be subject to legal privilege.
Nothing contained herein should be construed as legal or patenting advice.
On Thu, May 1, 2014 at 10:11 AM, Brenton Horne <[email protected]>wrote:
> I had seen these two pages, but the first one gave me a non-looping GIF
> file, the 2nd I've already used to create a functioning code
>
> name = "./images/RTramadol0000.png";
> nFrames = 40;
> nDegrees =9 ;
> thisFrame = 0;
> width = 539;
> height = 260;
>
> message loop;
> thisFrame = thisFrame + 1;
> fileName = name.replace("0000","" + ("0000" + thisFrame)[-4][0]);
> rotate y @ndegrees;
> frame next; # only use this if you have a multiframe file.
> refresh;
> write image @width @height @fileName;
> if (thisFrame < nFrames);goto loop;endif;
> background white;##
>
> But I would like to be able to create a looping animated gif without
> needing a second software to animate PNG files.
>
>
> On Fri, May 2, 2014 at 12:07 AM, Herráez Sánchez Ángel <
> [email protected]> wrote:
>
>> For animated GIFs, check out these:
>>
>>
>> http://chemapps.stolaf.edu/jmol/docs/#capture
>>
>>
>> http://chemapps.stolaf.edu/jmol/docs/#writeimagesandframes
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>> unparalleled scalability from the best Selenium testing platform
>> available.
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users