[Pkg-gmagick-im-team] Bug#675545: imagemagick: convert to txt text format, update

Ubuntu6226 ubuntu6226 at yahoo.com
Sat Jun 2 04:12:06 UTC 2012


Package: imagemagick
Version: 8:6.6.0.4-3+squeeze1
Severity: normal

Hi

convert  Commands.html   nao.txt
sh: html2ps: not found
convert: delegate failed `"html2ps" -U -o "%o" "%i"' @ error/delegate.c/InvokeDelegate/1061.
convert: unable to open image `/tmp/magick-XXA1Vlf8': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/html.la @ error/blob.c/OpenBlob/2489.
convert: unable to open file `/tmp/magick-XXA1Vlf8':  @ error/constitute.c/ReadImage/572.
convert: missing an image filename `nao.txt' @ error/convert.c/ConvertImageCommand/2940.

The reply is very fine since you DO NOT impose to install html2ps. 

It is much better like that really. Do not force people to have messy linux installation, and you do so well. thank you


I would advice that you do in your code 

[ -f /usr/bin/html2ps ]
[ -f /usr/bin/html2text ]  

because most users have html2text installed, and you ought to make imagemagick check what is availbe, be inteliiigent code, detect it , and react well to convert
this to text
you could say: "using hmtl2text"

Please 


Would be so great !



-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.36 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  libbz2-1.0          1.0.5-6              high-quality block-sorting file co
ii  libc6               2.11.2-10            Embedded GNU C Library: Shared lib
ii  libfontconfig1      2.8.0-2.1            generic font configuration library
ii  libfreetype6        2.4.2-2.1+squeeze4   FreeType 2 font engine, shared lib
ii  libglib2.0-0        2.24.2-1             The GLib library of C routines
ii  libgomp1            4.4.5-8              GCC OpenMP (GOMP) support library
ii  libice6             2:1.0.6-2            X11 Inter-Client Exchange library
ii  libjpeg62           6b1-1                The Independent JPEG Group's JPEG 
ii  liblcms1            1.18.dfsg-1.2+b3     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      8:6.6.0.4-3+squeeze1 low-level image manipulation libra
ii  libmagickwand3      8:6.6.0.4-3+squeeze1 image manipulation library
ii  libsm6              2:1.1.1-1            X11 Session Management library
ii  libtiff4            3.9.4-5+squeeze3     Tag Image File Format (TIFF) libra
ii  libx11-6            2:1.3.3-4            X11 client-side library
ii  libxext6            2:1.1.2-1            X11 miscellaneous extension librar
ii  libxt6              1:1.0.7-1            X11 toolkit intrinsics library
ii  zlib1g              1:1.2.3.4.dfsg-3     compression library - runtime

Versions of packages imagemagick recommends:
ii  ghostscript               8.71~dfsg2-9   The GPL Ghostscript PostScript/PDF
pn  libmagickcore3-extra      <none>         (no description available)
ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between 
pn  ufraw-batch               <none>         (no description available)

Versions of packages imagemagick suggests:
pn  autotrace            <none>              (no description available)
pn  cups-bsd | lpr | lpr <none>              (no description available)
ii  curl                 7.21.0-2.1+squeeze2 Get a file from an HTTP, HTTPS or 
pn  enscript             <none>              (no description available)
ii  ffmpeg               4:0.5.6-3           multimedia player, server and enco
pn  gimp                 <none>              (no description available)
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)
pn  mplayer              <none>              (no description available)
pn  povray               <none>              (no description available)
pn  radiance             <none>              (no description available)
ii  sane-utils           1.0.21-9            API library for scanners -- utilit
pn  texlive-base-bin     <none>              (no description available)
pn  transfig             <none>              (no description available)
pn  xdg-utils            <none>              (no description available)

-- no debconf information





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