- linegc = Magick::Draw.new
- linegc.stroke_linejoin('miter')
- linegc.stroke_width(1)
- linegc.stroke('#BBBBBB')
- linegc.fill('#BBBBBB')
-
- highlightgc = Magick::Draw.new
- highlightgc.stroke_linejoin('miter')
- highlightgc.stroke_width(3)
- highlightgc.stroke('#000000')
- highlightgc.fill('#000000')
-
- images = frames.times.collect do
- Magick::Image.new(width, height) do |image|
- image.background_color = 'white'
- image.format = 'GIF'
- end
- end
-
- oldpx = 0.0
- oldpy = 0.0
+ # TODO: create animated gif
+ # https://github.com/openstreetmap/openstreetmap-website/issues/281
+ image = GD2::Image::IndexedColor.new(width, height)