alpha 7.0: magick exception

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
indiego
Posts: 75
Joined: 2010-10-16T06:35:10-07:00
Authentication code: 8675308

alpha 7.0: magick exception

Post by indiego »

I just installed the alpha 7.0 to a local directory (/home/indiego/imagemagick7).
The binary 'magick' is called over $IMCONV (latest 6.8 version is installed global).
Sadly I get an exception, when I call my batch file. OS is Linux Mint Mate Edition 64bit.

magick: MagickWand/operation.c:3428: CLISimpleOperatorImages: Assertion `cli_wand->wand.images != (Image *) ((void *)0)' failed.
Aborted

Code: Select all

#!/bin/sh
#'drops' batch file for ImageMagick (www.imagemagick.org)
# version: 2012.12.06
 
# 1
/home/indiego/imagemagick7/bin/magick -verbose -debug trace\
  \( -size 157x306 -depth 8 xc:none -fill black -stroke none -draw "roundrectangle 1,1 155,304 18,18" \) \
  \( +clone -background "rgb(27,29,29)" -shadow 70x18+0+0 +repage \) \
  \( -size 157x295 -depth 8 xc:none -fill black -stroke none -draw "roundrectangle 1,1 155,293 18,18" \) \
  \( +clone -background "rgb(27,29,29)" -shadow 70x6+0+0 +repage \) -delete 0,2 \
  -channel Alpha -gravity Center -compose Lighten -composite \
  \( +clone -bordercolor none -border 3 -background "rgb(27,29,29)" -alpha Background -channel Alpha -blur 0x2.0 \) -delete 0 \
  -units PixelsPerInch -density 150 -quality 00 +set date:create +set date:modify -background "gray(255)" -colorspace rgb "sh1.png"
I'm not sure, if this is related to my installation, a syntax change in 7.0 or if it's a general problem.
The given example works fine with the latest 6.8 version.

magick -list configure

Code: Select all

Path: /../home/indiego/imagemagick7/lib/ImageMagick-7.0.0//config-Q16HDRI/configure.xml

Name           Value
-------------------------------------------------------------------------------
CC             gcc -std=gnu99 -std=gnu99
CFLAGS         -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fopenmp -g -O2 -Wall -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH     /../home/indiego/imagemagick7/lib/ImageMagick-7.0.0/modules-Q16HDRI/coders
CONFIGURE      ./configure  '--with-autotrace=yes' '--with-modules=yes' '--with-perl=no' '--with-rsvg=yes' '--with-wmf=yes' '--with-webp=yes' '--with-xml=yes' '--prefix=/../home/indiego/imagemagick7'
CONFIGURE_PATH /../home/indiego/imagemagick7/etc/ImageMagick/
COPYRIGHT      Copyright (C) 1999-2013 ImageMagick Studio LLC
CPPFLAGS       -I/../home/indiego/imagemagick7/include/ImageMagick
CXX            g++
CXXFLAGS       -pthread
DEFS           -DHAVE_CONFIG_H
DELEGATES      autotrace bzlib djvu fontconfig freetype jbig jng jp2 jpeg lcms lqr lzma openexr png ps rsvg tiff wmf x xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-gslib=no --with-fontpath= --with-gvc=no --with-perl=no
DOCUMENTATION_PATH /../home/indiego/imagemagick7/share/doc/ImageMagick-7.0.0
EXEC-PREFIX    /../home/indiego/imagemagick7
EXECUTABLE_PATH /../home/indiego/imagemagick7/bin
FEATURES       DPC HDRI OpenMP Modules
FILTER_PATH    /../home/indiego/imagemagick7/lib/ImageMagick-7.0.0/modules-Q16HDRI/filters
HOST           x86_64-unknown-linux-gnu
INCLUDE_PATH   /../home/indiego/imagemagick7/include/ImageMagick
LDFLAGS        -L/../home/indiego/imagemagick7/lib -L/usr/lib
LIB_VERSION    0x700
LIB_VERSION_NUMBER 7,0,0,0
LIBRARY_PATH   /../home/indiego/imagemagick7/lib/ImageMagick-7.0.0
LIBS           -lMagickCore -llcms -lfreetype -llqr-1 -lglib-2.0 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lltdl -lm -lgomp -lpthread
NAME           ImageMagick
PCFLAGS        -fopenmp -DMAGICKCORE_HDRI_ENABLE=1
PREFIX         /../home/indiego/imagemagick7
QuantumDepth   16
RELEASE_DATE   2013-01-23
SHARE_PATH     /../home/indiego/imagemagick7/share/ImageMagick-7.0.0
SHAREARCH_PATH /../home/indiego/imagemagick7/lib/ImageMagick-7.0.0/config-Q16HDRI
SVN_REVISION   10737
TARGET_CPU     x86_64
TARGET_OS      linux-gnu
TARGET_VENDOR  unknown
VERSION        7.0.0
WEBSITE        http://www.imagemagick.org

Path: [built-in]

Name           Value
-------------------------------------------------------------------------------
FEATURES       OpenMP 
NAME           ImageMagick
QuantumDepth   16
Post Reply