[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-GIFT] gift-add-collection.pl
From: |
Pruet Boonma |
Subject: |
Re: [bug-GIFT] gift-add-collection.pl |
Date: |
Wed, 27 Mar 2002 21:05:47 +1100 |
User-agent: |
Mutt/1.3.28i |
Hi,
On Wed, Mar 27, 2002 at 10:21:19AM +0100, MUELLER Henning wrote:
> Hi,
>
> If I get the error right, then it is due to ImageMagick that we use to
> convert the image into a thumbnail and into a ppm file for feature
> extraction. ImageMagick does not know that the extension 000 is in fact
> Jpeg and thus it does not do any conversion and consequently we cannot
> extract any features.
Sorry, but ImageMagick checks the file type from the file header, not
from the file extension. Let's say that, it works in unix way, not
windows way ;)
So, IMHO, the image file is corrupt or in the format that ImageMagick
can't understand.
Cheers,
pruet
>
> Would it be a problem to change the 000 extensions into jpeg?
>
> Cheers, Henning
>
> Michael Kamleitner wrote:
> >
> > hi gift-list!
> >
> > I encountered problems when using gift-add-collection.pl - if _one_ single
> > file in the source-image-directory is corrupt the script dies and doesn't
> > process further files. maybe this problem occurs only in my case, because
> > the images have the file-extension .000 (for historical reason, inside they
> > are normal jpegs) - I had to edit the script to process this file-extension.
> >
> > The exact output of gift-add-collection.pl
> > ==========================================
> >
> > http://gate/gift/img//00001257.000
> > /big/gift/gift-indexing-data/gift/00001257_000.fts
> > http://gate/gift/img/--00001257--000
> > This script was last modified on 1016796076
> > We will make a new thumbnail file
> > making the path /big/gift/thumbnails/
> > Converting /mnt/foto-archiv/00001257.000 to
> > /big/gift/thumbnails/00001257_thumbnail_000.jpg
> > convert: no delegate for this image format (/mnt/foto-archiv/00001257.000)
> > [No such file or directory].
> > convert: Missing an image file name.
> > Warning: Thumbnail generation failed for
> > /big/gift/thumbnails/00001257_thumbnail_000.jpg No such file or directory
> > We will make a new feature file
> > Converting /mnt/foto-archiv/00001257.000 to /tmp/gift_tmp8495.ppm
> > convert: no delegate for this image format (/mnt/foto-archiv/00001257.000)
> > [No such file or directory].
> > convert: Missing an image file name.
> > Pre feature extraction convert call failed: No such file or directory
> >
> > System:
> > =======
> >
> > SuSE Linux 7.1, Kernel 2.4.2
> > iPentium 2, 128MB ram
> >
> > bye
> > mika
> >
> > Computer games don't affect kids.
> > I mean if Pacman affected us as kids,
> > we'd all run around in a darkened room
> > munching pills and listening to repetitive music.
> >
> > _______________________________________________
> > bug-GIFT mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-gift
>
> --
> ----------------------------------------------------------
> Henning Mueller, Computer Vision Group
> Computer Science Department, University of Geneva
> 24, rue du General Dufour, CH-1211 Geneva 4, SWITZERLAND
> Phone : +41(22)705 7633; fax: +41(22)705 7780
> address@hidden
> ----------------------------------------------------------
>
> _______________________________________________
> bug-GIFT mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-gift