Re: [PATCH] metadata-keys: add metadata keys from camera pictures



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]