Edward Duffy wrote:
> On 10/1/06, Jamie McCracken <[EMAIL PROTECTED]> wrote:
>>
>> 1) Remove libextractor by implementing the last few extractors (lidgsf
>> for msoffice and re using the extractors for gif and tiff in 
>> libextractor)
>>
> 
> Here's a patch for libgsf.  Tested with word and powerpoint.
> 


Thas great - thanks.

Have added to cvs.

Just mp3 and other image files left to do

I think for image files (gif, tiff and others) we might want to use 
imageMagick's identify command to get the dimensions (especially if 
libexif and libpng are not present as we can fallback on this too)

EG

identify -format "%wx%h"   sample.jpg
2112x2720


this will allow us to get the Image.Width and Image.Height by parsing 
stdout. We also dont need a hard dependency on ImageMagicks stuff.

It can also be used to get comments embedded and other stuff like 
resolutions in image :

identify -format "%c"   sample.jpg

see:
http://www.csb.yale.edu/userguides/image/im/www/identify.html

for format options


-- 
Mr Jamie McCracken
http://jamiemcc.livejournal.com/

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to