imagemagick и wmf

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модераторы: SLEDopit, Модераторы разделов

4umodan
Сообщения: 73
ОС: Ubuntu 9.10

imagemagick и wmf

Сообщение 4umodan »

не могу добиться работоспособности imagemagick с поддержкой формата wmf (windows meta file)
система ubuntu 12.04 (ядро 3.2.0-26-generic-pae 32 bit)

суть проблемы:
при попытке конвертирования выдает такую ошибку:

Код: Выделить всё

convert: no decode delegate for this image format `00_Image_9.wmf' @ error/constitute.c/ReadImage/544.
convert: no images defined `00_Image_9.png' @ error/convert.c/ConvertImageCommand/3044.


конфигурировал с параметрами:

Код: Выделить всё

./configure --with-wmf=yes --enable-shared=no


libwmf стоит

еще несколько кусков:

Код: Выделить всё

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=no        no
Static libraries  --enable-static=yes        yes
Module support    --with-modules=no        no
GNU ld            --with-gnu-ld=yes        yes
Quantum depth     --with-quantum-depth=16    16
High Dynamic Range Imagery
                  --enable-hdri=no        no

Delegate Configuration:
BZLIB             --with-bzlib=yes        yes
Autotrace         --with-autotrace=no        no
Dejavu fonts      --with-dejavu-font-dir=default    none
DJVU              --with-djvu=yes        no
DPS               --with-dps=yes        no
FFTW              --with-fftw=yes        no
FlashPIX          --with-fpx=yes        no
FontConfig        --with-fontconfig=yes        yes
FreeType          --with-freetype=yes        yes
GhostPCL          None                pcl6 (unknown)
GhostXPS          None                gxps (unknown)
Ghostscript       None                gs (9.05)
Ghostscript fonts --with-gs-font-dir=default    /usr/share/fonts/type1/gsfonts/
Ghostscript lib   --with-gslib=no        no
Graphviz          --with-gvc=no
JBIG              --with-jbig=yes        no
JPEG v1           --with-jpeg=yes        yes
JPEG-2000         --with-jp2=yes        no
LCMS v1           --with-lcms=yes        no
LCMS v2           --with-lcms2=yes        no
LQR               --with-lqr=yes        no
LZMA              --with-lzma=yes        no
Magick++          --with-magick-plus-plus=yes    yes
OpenEXR           --with-openexr=yes        no
PERL              --with-perl=no        no
PANGO             --with-pango=yes        yes
PNG               --with-png=yes        yes
RSVG              --with-rsvg=no        no
TIFF              --with-tiff=yes        yes
WEBP              --with-webp=yes        no
Windows fonts     --with-windows-font-dir=    none
WMF               --with-wmf=yes        yes
X11               --with-x=            yes
XML               --with-xml=yes        yes
ZLIB              --with-zlib=yes        yes


Код: Выделить всё

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.7.9
  CC              = gcc -std=gnu99 -std=gnu99
  CFLAGS          = -fopenmp -g -O2 -Wall -pthread
  CPPFLAGS        = -I/usr/local/include/ImageMagick
  PCFLAGS         = -fopenmp
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = -L/usr/local/lib -L/usr/lib
  MAGICK_LDFLAGS  = -L/usr/local/lib -L/usr/local/lib -L/usr/lib
  LIBS            = -lMagickCore -ltiff -lfreetype -ljpeg -lpng12 -lfontconfig -lwmflite -lXext -lXt -lSM -lICE -lX11 -lbz2 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread
  CXX             = g++
  CXXFLAGS        = -g -O2 -pthread
  FEATURES        = OpenMP
Спасибо сказали: