[ome-devel] Discrepancies between IFormatReader and IFormatWriter

Melissa Linkert melissa at glencoesoftware.com
Thu Sep 11 16:34:55 BST 2014


> >The frames per second setting is used in the APNG, AVI, and QuickTime
> >writers.  Preserving this in C++ is necessary.
> 
> OK.  Could this use float rather than int for the framerate?  I see some
> code is manually casting to int, but surely there's a use for rates
> slower than 1fps and for some output formats fractional rates are needed
> (e.g. NTSC).
> 
> Maybe we need a framerate value for the rendering settings modelling?
> 
> >If you feel strongly that any of these are things that must be changed
> >in the Java API, feel free to add to:
> >
> >https://trac.openmicroscopy.org.uk/ome/ticket/12181
> 
> Thanks.  Certainly for the methods which are made redundant by new
> additions to the model, we might consider deprecation and removal.

For anyone following along, both of these points are addressed in the
pull request corresponding to this thread:

https://github.com/openmicroscopy/bioformats/pull/1331

-Melissa

On Tue, Sep 09, 2014 at 01:40:46PM +0100, Roger Leigh wrote:
> On 08/09/14 23:53, Melissa Linkert wrote:
> >Hi Roger,
> >
> 
> >>7. Are get/setFramesPerSecond used and/or useful?  Looking at the code,
> >>they aren't used by the Java writer in any meaningful way?  Can these be
> >>omitted from the C++ code?
> >
> >The frames per second setting is used in the APNG, AVI, and QuickTime
> >writers.  Preserving this in C++ is necessary.
> 
> OK.  Could this use float rather than int for the framerate?  I see some
> code is manually casting to int, but surely there's a use for rates
> slower than 1fps and for some output formats fractional rates are needed
> (e.g. NTSC).
> 
> Maybe we need a framerate value for the rendering settings modelling?
> 
> >If you feel strongly that any of these are things that must be changed
> >in the Java API, feel free to add to:
> >
> >https://trac.openmicroscopy.org.uk/ome/ticket/12181
> 
> Thanks.  Certainly for the methods which are made redundant by new
> additions to the model, we might consider deprecation and removal.
> 
> 
> Regards,
> Roger
> 
> --
> Dr Roger Leigh -- Open Microscopy Environment
> Wellcome Trust Centre for Gene Regulation and Expression,
> College of Life Sciences, University of Dundee, Dow Street,
> Dundee DD1 5EH Scotland UK   Tel: (01382) 386364
> 
> The University of Dundee is a registered Scottish Charity, No: SC015096


More information about the ome-devel mailing list