Life In 19x19 http://prod.lifein19x19.com/ |
|
I realised I can make animated gifs http://prod.lifein19x19.com/viewtopic.php?f=10&t=11690 |
Page 1 of 1 |
Author: | Loons [ Fri Apr 10, 2015 12:10 am ] |
Post subject: | I realised I can make animated gifs |
![]() |
Author: | EdLee [ Fri Apr 10, 2015 1:37 am ] |
Post subject: | |
Hi Loons, you're so hi-tech. How did you make that toy ? ![]() |
Author: | Loons [ Fri Apr 10, 2015 2:07 am ] |
Post subject: | Re: I realised I can make animated gifs |
With the ugliest Matlab code ever written ;p. Actually, MATLAB's animated GIF functionality is the ugly aspect. |
Author: | RBerenguel [ Fri Apr 10, 2015 7:37 am ] |
Post subject: | Re: I realised I can make animated gifs |
Loons wrote: With the ugliest Matlab code ever written ;p. Actually, MATLAB's animated GIF functionality is the ugly aspect. I have created animated gifs of SGF files (for problem solutions and also for games) using sgftools (and my hack to make it look nicer) and gifsicle. |
Author: | RBerenguel [ Fri Apr 10, 2015 9:52 am ] | ||
Post subject: | Re: I realised I can make animated gifs | ||
RBerenguel wrote: Loons wrote: With the ugliest Matlab code ever written ;p. Actually, MATLAB's animated GIF functionality is the ugly aspect. I have created animated gifs of SGF files (for problem solutions and also for games) using sgftools (and my hack to make it look nicer) and gifsicle. I was on iPad so I didn't have any of the files. Here's a Go Seigen game, using just normal sgftopng. If I was to create it now I'd use the hacks I added to it so the board and stones look nicer (at the expense of a heavier GIF)
|
Author: | EdLee [ Fri Apr 10, 2015 2:10 pm ] |
Post subject: | |
RBerenguel wrote: If I was to create it now I'd use the hacks I added to it so the board and stones look nicer (at the expense of a heavier GIF) Hi RBerenguel, could you do it and show us the nicer result ? ![]() |
Author: | RBerenguel [ Sat Apr 11, 2015 3:01 am ] |
Post subject: | Re: I realised I can make animated gifs |
Well, yes, but no... The animated gif result is 136 mb ![]() ![]() |
Author: | RBerenguel [ Sat Apr 11, 2015 3:25 am ] |
Post subject: | Re: I realised I can make animated gifs |
RBerenguel wrote: Well, yes, but no... The animated gif result is 136 mb ![]() ![]() You can download the optimised 98MB file (yikes) from here. (it is from my Public Dropbox folder, so it may go eventually, as of now it is still uploading so wait 30 minutes or so, I have shitty upload speed.) I just downloaded and APNG encoder, maybe animated pngs are better optimised (or Webp, I'll try that instead later, maybe.) A good delta-frame-compressor should get the file pretty small, since stones and non-stoned areas are always the same, so the deltas are pretty straightforward |
Author: | RBerenguel [ Sat Apr 11, 2015 4:34 am ] |
Post subject: | Re: I realised I can make animated gifs |
Holy sh*t. Converted to apng (well, recreated as apng.) Apng is a well, not-very-implemented standard, with animated pngs with alpha channels. You can have it in Chrome with a plugin/development version, in Safari v>8 and any Firefox. The file is a whooping 2.3 MB. For comparison, the image with an empty board or a few stones is ~1MB. Behind hide tags, as I said it will only animate on Firefox straight out of the box. |
Author: | Bonobo [ Sat Apr 11, 2015 4:47 am ] |
Post subject: | Re: I realised I can make animated gifs |
Awesome! Here’s the Chrome plugin: APNG for Chrome, “Animated PNG support for WebKit/Blink browsers” |
Author: | RBerenguel [ Sat Apr 11, 2015 4:56 am ] |
Post subject: | Re: I realised I can make animated gifs |
Bonobo wrote: Thanks! |
Author: | EdLee [ Sat Apr 11, 2015 5:49 am ] |
Post subject: | |
RBerenguel wrote: it will only animate on Firefox Thanks. On Safari on an ancient iPhone 4S, I can see only the first ![]() but it looks nice. Will try Firefox after sleep. ![]() |
Author: | RBerenguel [ Sat Apr 11, 2015 6:47 am ] |
Post subject: | Re: |
EdLee wrote: RBerenguel wrote: it will only animate on Firefox Thanks. On Safari on an ancient iPhone 4S, I can see only the first ![]() but it looks nice. Will try Firefox after sleep. ![]() For mobile safari, you seem to need iOS 8.3 Better than nothing ![]() |
Author: | SpongeBob [ Sun Apr 12, 2015 2:53 am ] |
Post subject: | Re: I realised I can make animated gifs |
Chrome on iOS 8.2 works, too. |
Author: | RBerenguel [ Sun Apr 12, 2015 4:43 am ] |
Post subject: | Re: I realised I can make animated gifs |
I guess then Safari on iOS 8.2 also works (unless Apple has changed how it makes 2-nd party browsers work, Chrome uses the same renderer and JS engine as Safari) |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |