From 62cb84a57c6faa84e249e1a62e9e08af824b7ff2 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Thu, 18 Apr 2013 09:36:05 +0200 Subject: imageviewer: fix animated gifs handling If disposal method is set to BACKGROUND one would expect that canvas should be restored to global background color. That is what gif standard suggests. Most (all?) decoders however treat this as reseting canvas to transparency or fixed, decoder specific background color. Virtually all gifs are prepared with this in mind so to not break them we can't follow standard here. Change-Id: I90ca712bba89d4190771eb5320eabda353d3e2bb --- apps/plugins/imageviewer/gif/gif.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/plugins/imageviewer/gif/gif.c') diff --git a/apps/plugins/imageviewer/gif/gif.c b/apps/plugins/imageviewer/gif/gif.c index c3cad71e10..31fd11d9a6 100644 --- a/apps/plugins/imageviewer/gif/gif.c +++ b/apps/plugins/imageviewer/gif/gif.c @@ -110,10 +110,9 @@ static int load_image(char *filename, struct image_info *info, if (!iv->running_slideshow) { - rb->lcd_putsf(0, 2, "image %dx%d", - p_decoder->width, - p_decoder->height); - rb->lcd_putsf(0, 3, "decoding %d*%d", + rb->lcd_putsf(0, 2, "file: %s", + filename); + rb->lcd_putsf(0, 3, "size: %dx%d", p_decoder->width, p_decoder->height); rb->lcd_update(); -- cgit v1.2.3