giffer script makes corrupted gifs
giffer script makes corrupted gifs
I really don't know why, but when I use the Perl script "giffer", with any number of frames and any dimensions, it creates a gif with a corrupted picture and without animation.
For example I select about 50x50 cells with the select tool, click on the script and let "100 1 out.gif" when the window appears. Then it runs the script and the file out.gif is created in the Perl scripts folder.
I'm on Windows 7 64bit, I use Golly 2.6 64bit and Perl 5.10 64bit, but I tried some other versions of both (older for golly, newer for Perl, and 32 or 64bit), and it didn't change anything.
Help me please
For example I select about 50x50 cells with the select tool, click on the script and let "100 1 out.gif" when the window appears. Then it runs the script and the file out.gif is created in the Perl scripts folder.
I'm on Windows 7 64bit, I use Golly 2.6 64bit and Perl 5.10 64bit, but I tried some other versions of both (older for golly, newer for Perl, and 32 or 64bit), and it didn't change anything.
Help me please
Re: giffer script makes corrupted gifs
I'm not sure what's going wrong. I can create a valid .gif file using giffer.pl on both Mac and Windows. In the latter case I'm running XP with a 32-bit Golly and Perl 5.10. Do the other .pl scripts supplied with Golly run ok? Where did you get Perl from? I downloaded the Perl installer from http://www.activestate.com.
Re: giffer script makes corrupted gifs
The other Perl scripts work perfectly, but on Active State, I only found ActivePerl 5.16 which doesn't work on Golly, so I downloaded ActivePerl 5.10 on Softonic
Re: giffer script makes corrupted gifs
Bump, I have the same problem - I tried different versions of Strawberry Perl (5.10.1.5, 5.10.1.4 and 5.12). Anyone has a solution? Is there another easy way to generate pictures with Golly?
Last edited by UDiego on November 2nd, 2015, 1:01 pm, edited 1 time in total.
Re: giffer script makes corrupted gifs
Here's the script translated (and added support for spaceships) in python. See if that works for you.
https://github.com/conwaylife/giffer
https://github.com/conwaylife/giffer
Re: giffer script makes corrupted gifs
Thank you very much! Works perfectly with Python 2.7.
Re: giffer script makes corrupted gifs
By the way, the original giffer.pl has a slight glitch.
The gif file should end with a semicolon(;) = chr(0x3b) while the original giffer.pl doesn't.
That's what's causing some gifs to flicker on Android, Chrome, etc.
One should edit the source code to make it append the semicolon before it closes the gif file.
The gif file should end with a semicolon(;) = chr(0x3b) while the original giffer.pl doesn't.
That's what's causing some gifs to flicker on Android, Chrome, etc.
One should edit the source code to make it append the semicolon before it closes the gif file.