Opened 9 years ago

Closed 8 years ago

#8625 closed task (Fixed)

libmythui support for animated GIF in MythUIImage

Reported by: beirdo Owned by: cpinkham
Priority: minor Milestone: 0.25
Component: MythTV - User Interface Library Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no

Description

To get animated weather maps working from wunderground, I need to be able to feed an animated GIF file to mythweather. There is currently no support for this in libmythui, although it seems that QImageReader can handle it.

Can we get this support added, and be able to cycle through them similar to the current multi-image animation support?

Change History (7)

comment:1 Changed 9 years ago by stuartm

Milestone: unknown0.24

comment:2 Changed 9 years ago by robertm

Owner: changed from stuartm to cpinkham
Status: newassigned

Think this has gone to cpinkham now.

comment:3 Changed 9 years ago by cpinkham

Priority: minormajor
Status: assignedaccepted
Type: enhancementtask
Version: UnspecifiedTrunk Head

comment:4 Changed 9 years ago by cpinkham

(In [25801]) Add support for animated images in MythUIImage. The main use for this is displaying animated gifs loaded directly from http:// sources such as the animated radar images that MythWeather? will be displaying.

The images are not saved in the image cache currently. This includes the on-disk and in-memory caches. If we are going to cache the individual images, then we also need to cache the delay values between images, so the issue of how to store that info needs to be resolved before we can cache the images themselves.

References #8625. I'm going to leave the ticket open for now and change the milestone. The basic support added in this patch is enough for 0.24 and the caching support will be added post 0.24.

comment:5 Changed 9 years ago by cpinkham

Milestone: 0.240.25
Priority: majorminor
Severity: mediumlow
Summary: libmythui support for animated GIF in MythUIImageComplete libmythui support for animated GIF in MythUIImage

comment:6 Changed 9 years ago by stuartm

Milestone: 0.25

Milestone 0.25 deleted

comment:7 Changed 8 years ago by cpinkham

Resolution: Fixed
Status: acceptedclosed
Summary: Complete libmythui support for animated GIF in MythUIImagelibmythui support for animated GIF in MythUIImage

Going to close this task for now. Animated image support was added mainly for radar type images. Use of GIF files for animations in themes is strongly discouraged. Adding in caching support for often changing files such as radar images gives very little return on the coding time spent. If someone wants to tackle this, feel free, but I'm closing the ticket for now.

Note: See TracTickets for help on using tickets.