Use gd-ffij gem to create trace icons

This is a port of the gd-based code from the gpx-importer at
https://github.com/openstreetmap/gpx-import

The gd-ffij library does not yet have support for animated gifs, so
we just create a static image for now. But at least that's better than
the non-functioning RMagick code.
This commit is contained in:
Andy Allan 2019-01-16 16:06:25 +01:00
parent 581eca3bbe
commit 6820d53e5f
3 changed files with 62 additions and 75 deletions

View file

@ -114,6 +114,9 @@ gem "canonical-rails"
# Used to generate logstash friendly log files
gem "logstasher"
# Used to generate images for traces
gem "gd2-ffij"
# Gems useful for development
group :development do
gem "annotate"