sapi/eu4Replay

This program creates too few animated gifs

Closed this issue · 3 comments

sapi commented

Suggested resolution: make the program create animated gifs :)

In more detail:

  • add ability to export gifs
  • allow user to select how often frames should be taken (ie, how many years; lower resolution shouldn't be necessary)
  • allow user to edit gif framerate

Perhaps pick a resolution would be good too (or just generic high, med, low etc)

sapi commented

Yeah, will do. It'll actually be necessary; full size is big.

It's quite amusing how big the gifs turn out to be (30MB for one frame per 15 years over a normal campaign).

Ubuntu actually kills the program on my test VM if I ask for too many frames, as having hundreds of 2048x5632 images in memory is, ahem, a lot.

sapi commented

Preliminary feature is now in place:

  • default settings file now contains gif_settings (48ffca1)
  • settings parser now handles gif_settings (72dc49a)
  • menu added to GUI (50dd55a)

TODO:

  • efficiency (can't export frames nicely atm; might need to rewrite images2gif.py to accept a generator so that images can be lazily generated)
  • file size selection (default is HUGE)