[Pkg-gmagick-im-team] Bug#588481: imagemagick: some error with filename convert

yellow yellowprotoss at gmail.com
Thu Jul 8 21:04:52 UTC 2010

Package: imagemagick
Version: 7:
Severity: minor


Convert is so cool.
I have an issue. I get this error:

15:38 imgp5604.jpg
Date modif: 2010-07-04 15:38  ; convert: unable to open image `15:38': . @ error/blob.c/OpenBlob/2489.

with the code:


# stat -c %y packages

mkdir -p /home/uploads
cd /home/uploads
echo "Create BLOGI"
mkdir -p blogi/blogi
cd blogi

ls -ltra
for each  in *.jpg *.JPG ; do 

##convert "$each" -resize 25% "blogi/$each"
        ls -lah "$each"
#       FILEN=`stat -c %y $each`
        FILEN=`stat $each  | grep Modify | cut  -d" " -f 2-3 | cut -d":" -f 1-2`
#stat imgp5513.jpg  | grep Modify | cut  -d" " -f 2-3 | cut -d":" -f 1-2
#echo $each
#       printf ":"       ; read ksljlds
        printf "Date modif: $FILEN  ; "
#       convert "$each" -resize 12%  -fill white -undercolor '#00000080' -gravity SouthWest -annotate +0+5 "$(date  +%D-%T)" "blogi/$each"
        convert "$each" -resize 12%  -fill white -undercolor '#00000080' -gravity SouthWest -annotate +0+5 $FILEN "blogi/$each"
part of code

with $(date) it was working ... so 
but with the new date cut not :-(

Best regards

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  libbz2-1.0              1.0.5-4          high-quality block-sorting file co
ii  libc6                   2.11.1-3         Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  libglib2.0-0            2.24.1-1         The GLib library of C routines
ii  libgomp1                4.4.4-1          GCC OpenMP (GOMP) support library
ii  libice6                 2:1.0.6-1        X11 Inter-Client Exchange library
ii  libjpeg62               6b-16.1          The Independent JPEG Group's JPEG 
ii  liblcms1                1.18.dfsg-1.2+b1 Color management library
ii  liblqr-1-0              0.4.1-1          converts plain array images into m
ii  libltdl7                2.2.6b-2         A system independent dlopen wrappe
ii  libmagickcore3          7:      low-level image manipulation libra
ii  libmagickwand3          7:      image manipulation library
ii  libsm6                  2:1.1.1-1        X11 Session Management library
ii  libtiff4                3.9.2-3+b1       Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.3.3-3        X11 client-side library
ii  libxext6                2:1.1.1-3        X11 miscellaneous extension librar
ii  libxt6                  1:1.0.7-1        X11 toolkit intrinsics library
ii  zlib1g                  1: compression library - runtime

Versions of packages imagemagick recommends:
ii  ghostscript         8.71~dfsg-4          The GPL Ghostscript PostScript/PDF
ii  libmagickcore3-extr 7:          low-level image manipulation libra
ii  netpbm              2:10.0-12.1+squeeze1 Graphics conversion tools between 
ii  ufraw               0.16-1+b1            standalone importer for raw camera

Versions of packages imagemagick suggests:
pn  autotrace        <none>                  (no description available)
pn  cups-bsd | lpr | <none>                  (no description available)
pn  curl             <none>                  (no description available)
pn  enscript         <none>                  (no description available)
pn  ffmpeg           <none>                  (no description available)
ii  gimp             2.6.8-3                 The GNU Image Manipulation Program
pn  gnuplot          <none>                  (no description available)
pn  grads            <none>                  (no description available)
ii  groff-base       1.20.1-10               GNU troff text-formatting system (
pn  hp2xx            <none>                  (no description available)
pn  html2ps          <none>                  (no description available)
pn  imagemagick-doc  <none>                  (no description available)
pn  libwmf-bin       <none>                  (no description available)
ii  mplayer          2:1.0~rc3+svn20100502-3 movie player for Unix-like systems
pn  povray           <none>                  (no description available)
pn  radiance         <none>                  (no description available)
ii  sane-utils       1.0.21-2                API library for scanners -- utilit
pn  texlive-base-bin <none>                  (no description available)
pn  transfig         <none>                  (no description available)
ii  xdg-utils        1.0.2+cvs20100307-1     desktop integration utilities from

-- no debconf information

More information about the Pkg-gmagick-im-team mailing list