pytagsfs team mailing list archive
Mailing list archive
Re: pytagsfs image support
For long, I dream for a such tools for photo management, but I am not sure I
will have time for programming. As I spend too much time with my computer,
my girlfriend is not so happy with that...
The way we can add new support seems to be fine.
There is several standards for photo tagging: EXIF, IPTC and XMP. All of
them are supported by eviv2. It may be interesting to know how several
software use these standards. So we can be compatible. Notice XMP seems to
be for all kind of files, not only for pictures.
There is python binding for exiv2 :
http://tilloy.net/dev/pyexiv2/overview.html Managing tags appear to be
easy. Tutorial show something like that :
import pyexiv2 #exiv2 lib
metadata = pyexiv2.ImageMetadata('test.jpg') #read
Some question :
- Where the base class metastore is defined ?
- How (and where) pytagfs know which subclass has to be used, according to
file type ?
Program I downloaded has no comment. Where can I download a commented
> -----Original Message-----
> From: Forest Bond [mailto:forest@xxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, April 29, 2010 9:18 PM
> To: Rey Cyril
> Cc: pytagsfs@xxxxxxxxxxxxxxxxxxx
> Subject: Re: pytagsfs image support
> Hi Rey,
> Thanks for your message.
> On Tue, Apr 27, 2010 at 03:29:03PM +0200, Rey Cyril wrote:
> > For a while, I am looking for a good solution for pictures tagging
> > organization. I did not find the right solution yet.
> > Most important :
> > - Tags must be stored within file. Organization should not
> > a software specific database.
> > - Tagging must be efficient. Going into image property, and
> > keyword is just inappropriate for more than 10 pictures.
> > So I think pytagsfs may be also very suitable for pictures.
> > Do you think it may be possible to extend pytagsfs for pictures
> > Maybe we can use some code parts from jbrout
> (http://jbrout.manatlan.com) or
> > lib Exiv2 (http://www.exiv2.org/)?
> Yes, pytagsfs would be good at this.
> I've never had time to look at it, but I had always hoped to be able
> support for image tagging. It would be relatively easy to
> Are you interested in contributing an implementation?
> If you (or anyone else) are interested, maybe the following can get
> Have a look at modules/pytagsfs/metastore/__init__.py and
> modules/pytagsfs/metastore/mutagen_.py (an example implementation).
> You want to
> create a new MetaStore implementation by subclassing MetaStore and
> methods get and set.
> The new MetaStore implementation might be called ExifMetaStore and
> Be sure to join the mailing list and post questions there.
> Forest Bond