Re: [PATCH] metadata-keys: add metadata keys from camera pictures
- From: Lionel Landwerlin <lionel g landwerlin linux intel com>
- To: grilo-list gnome org
- Subject: Re: [PATCH] metadata-keys: add metadata keys from camera pictures
- Date: Tue, 15 Mar 2011 10:40:11 +0000
On Tue, 2011-03-15 at 11:32 +0100, Juan A. Suárez Romero wrote:
> On Tue, 2011-03-15 at 10:02 +0000, Lionel Landwerlin wrote:
>
> > >
> > > Are these two fields really of float type?
> > >
> > > J.A.
> >
> > I found values in inch unit (is that related to the fact I bought my
> > camera in the US?), so I wanted to play it safe by having float keys.
> >
> > But I'm open to suggestions.
> >
>
>
> Well, I understand that width and height are measured in pixels.
>
> Also, I would try using integers instead of floats whenever possible.
> The point is that gint will not suffer of precision problems as floats.
> Also i think gints are more efficient than floats.
>
>
> J.A.
Let's go for floats then
--
Lionel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]