[KPhotoAlbum] KPhotoAlbumExtending the database schema

Wes Hardaker kpa at capturedonearth.com
Fri Feb 24 17:24:41 GMT 2012


>>>>> On Fri, 24 Feb 2012 15:27:10 +0100, Johannes Zarl <isilmendil at gmx.net> said:

JZ> Speaking in terms of the XML document, I guess this would be most easily 
JZ> accomplished by adding some type of annotation sub-elements to the image 
JZ> elements?
...
JZ> <annotation Persons="8" boundingbox="10,10,30,30"/>

You might consider using percentages or fractional decimal for
representing the bounding box.  That way if the image gets scaled or the
attributes are copied to a new (scaled) image the box will still be in
the right place.
-- 
Wes Hardaker
Captured On Earth Photography
http://www.capturedonearth.com/



More information about the Kphotoalbum mailing list