[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #CVS-551537]: animated GIF color bar changes



Done - thanks Don!

Sean

> Sean-
> 
> On 5/22/12 10:24 AM, Unidata IDV Support wrote:
> > Hi Don,
> >
> > Sorry I didn't follow up on this sooner. Did you ever have a chance to 
> > check this against a visible satellite loop? If not, I can check it out and 
> > see about making idv.capture.gif.useGlobalTable=true the default.
> 
> Go ahead and make it true by default.  If people complain, we can create
> a plugin with just the properties file and it set to false.  From my
> experience, there is no bad effect here.  For Visible satellite imagery,
> you get some side effects either way when it goes from full sunshine to
> darkness.
> 
> Don
> 
> >> Sean-
> >>
> >> I checked in some code that allows me to "fix" this by setting the 
> >> property:
> >>
> >> idv.capture.gif.useGlobalTable=true
> >>
> >> The problem is that the exising code uses a different lookup for each
> >> image in the gif, which is what I suspected.  Setting this property to
> >> true makes the GIF use the first image in the loop as the global lookup
> >> table which stops the jittering.  However, I'm not sure what this will
> >> do if you have a set of images that have drastic color changes (e.g. a
> >> visible sat loop going from dawn to day where the first image is dark).
> >> I'll run some tests to see what happens.  Right now, the behavior has
> >> not changed from before because the property is set to false in
> >> idv.properties.
> >>
> >> Don
> >>
> >> On 2/1/12 4:28 PM, Unidata IDV Support wrote:
> >>> Hi Don,
> >>>
> >>> I'm currently having fun in the colorbar code right now, so I'll check 
> >>> this out too.
> >>>
> >>> Sean
> >>>
> >>>> If you save a movie as an animated GIF from an IDV display that has a
> >>>> color bar in it, the color bar flickers.  I think this is because the
> >>>> color scaling on each individual frame is slightly different and the
> >>>> range that the AnimatedGifEncoder is using doesn't take this into
> >>>> account.  I don't have time to look into this, but if someone at Unidata
> >>>> (Sean?) could, that would be great.
> >>>>
> >>>> See example at:
> >>>>
> >>>> http://motherlode.ucar.edu/repository/entry/show/RAMADDA/IDV+Community+Resources/Examples/Climate+Attribution/Scenario+Comparison?entryid=09daf6ac-793e-4939-bdfd-4ef4b24fd7df
> >>>>
> >>>> Don
> >>>> --
> >>>> Don Murray
> >>>> NOAA/ESRL/PSD and CIRES
> >>>> 303-497-3596
> >>>> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>>>
> >>>>
> >>>
> >>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: CVS-551537
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Open
> >>>
> >>
> >> --
> >> Don Murray
> >> NOAA/ESRL/PSD and CIRES
> >> 303-497-3596
> >> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: CVS-551537
> > Department: Support IDV
> > Priority: Critical
> > Status: Open
> >
> 
> --
> Don Murray
> NOAA/ESRL/PSD and CIRES
> 303-497-3596
> http://www.esrl.noaa.gov/psd/people/don.murray/
> 
> 


Ticket Details
===================
Ticket ID: CVS-551537
Department: Support IDV
Priority: Critical
Status: Open