Package a libmagick++-enabled version of cuneiform
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cuneiform (Ubuntu) |
Fix Released
|
Medium
|
Stefano Rivera | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: cuneiform
Without libmagick++-support (libmagick++-dev has to be installed at compile time) cuneiform will only perform on bmp files.
This wouldn't be such a big problem if it wanted the BMP files in a very special way. A simple "convert"-command is not enough:
$ convert blop.jpg blop.bmp
$ cuneiform -l ger -f smarttext /tmp/blop.bmp
Cuneiform for Linux 0.7.0
/tmp/blop.bmpis a compressed BMP. Only uncompressed BMP files are supported.
Please convert your BMP to uncompressed V3 format and try again.
$ convert blop.jpg BMP3:blop.bmp
$ cuneiform -l ger -f smarttext /tmp/blop.bmp
Cuneiform for Linux 0.7.0
/tmp/blop.bmpis a compressed BMP. Only uncompressed BMP files are supported.
Please convert your BMP to uncompressed V3 format and try again.
So I guess it would be the best (and easiest) to enable libmagick++ and let cuneiform do the conversion job.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cuneiform 0.7.0+dfsg-5
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Oct 4 20:35:41 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
LANGUAGE=
LANG=de_DE.utf8
SHELL=/bin/bash
SourcePackage: cuneiform
As I found ou on http:// www.imagemagick .org/Usage/ formats/ #bmp the conversion can be done using
$ convert blop.jpg ppm:- | convert - BMP3:image.bpm
Now cuneiform takes the BMP file. But I guess that's not an usual workaround a normal user who just wants to OCR a few documents will try... So the problem persists.