[KPhotoAlbum] Checking image file readability by MIME type, rather than file name
Robert L Krawitz
rlk at alum.mit.edu
Fri May 11 00:15:17 BST 2007
Date: Fri, 11 May 2007 02:05:58 +0300
From: "Risto H. Kurppa" <risto at kurppa.fi>
Cc: kphotoalbum at kdab.net
2007/5/11, Robert L Krawitz <rlk at alum.mit.edu>:
> I vote against this patch, on performance grounds. Example: the Canon
> Digital Rebel produces thumbnail files (.thm, which are JPEGs) for
> each raw image. As written, every time you scan for new images, it
> will have to check each of these files. At present, it skips them
> because the .thm suffix isn't known.
>
> (For that matter, there's another problem with this -- it will read
> the .thm files, see that they're actually JPEGs, and import them.
> That's likely to be undesirable in its own right.)
Happy you. I have Nikon D70 that produces NEF (.nef) and then I run
a script to create corresponding jpegs (.nef.jpg to tell me that
there's a high-quality NEF available). So if it only would be
possible to to have an option to make KPA ignore all .nef files
(but not .nef.jpg) I'd be happy..
File exclusion / filter has been discussed earlier and no actual
decisions have been made. I'm really looking forward to see Tuomas
finish the SQL backend: performance and possibility to manage file
types.. But if there will be some modification on file name / type
recognition I think this needs to be discussed again to find the
perfect solution..
Performance and scalability are absolutely essential for this kind of
application. If it doesn't work well in all respects on very large
collections of images, it isn't worthwhile to have to learn the added
complexity. That includes things like selecting the right images.
--
Robert Krawitz <rlk at alum.mit.edu>
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf at uunet.uu.net
Project lead for Gutenprint -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
More information about the Kphotoalbum
mailing list