Re: [PATCH] metadata-keys: add metadata keys from camera pictures
- From: "Juan A." Suárez Romero <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH] metadata-keys: add metadata keys from camera pictures
- Date: Tue, 15 Mar 2011 11:32:29 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]