um die pdf und ai dateien zu sehen muss noch ghostscript installiert werden (so version 8 derzeit)
daaaaaaaaaan:
- das /bin verzeichnis von ghostview in den pfad aufnehmen
für imagemagick 4.2.9 (neuere versionen brauchen das nicht so streng)
- imagemagick MUSS in c:imagemagick liegen
- dann ein paar umgebungsvariablen:
delegate_path = c:imagemagick
magick_home = c:imagemagick
- c:imagemagick in den pfad aufnehmen (VOR dem windows-verzeichnis, wegen convert.exe)
- in c:imagemagick muss eine datei 'delegates.mgk' liegen die etwa so aussieht (nur version 4.2.9)
# ImageMagick delegates for Windows NT. The format is as follows. Each
# delegate begins with a tag and/or format separated by a operator tag
# (<=, <=>, =>). This line must be followed by one or more commands
# preceded with a tab ( ) character. If a command exceeds the length of
# a line, use the backslash continuation character. End the command with
# an ampersand (&) to execute the command in the background.
#
# Optionally you can include the image filename, type, width, height, or
# other image attributes by embedding special format characters:
#
# %b file size
# %d directory
# %e filename extention
# %f filename
# %h height
# %i input filename
# %l label
# %m magick
# %n number of scenes
# %o output filename
# %p page number
# %q quantum depth
# %s scene number
# %t top of filename
# %u unique temporary filename
# %w width
# %x x resolution
# %y y resolution
# %z data written to this file is discarded
#
# There are three types of delegates: decode, encode, and bypass. Decode
# delegates begin with a image format (tag) specified (e.g. mpeg) followed
# with a equal-greater sign (=>). The delegate is invoked whenever ImageMagick
# attempts to read an image whose format specifier or filename extension
# matches the tag (e.g. image.mpg for tag mpg=>). The delegate must
# write an image to the file designated by %o in an image format that
# ImageMagick understands (e.g. pnm).
#
# An encode delegate begins with an image format, a less-equal sign (<=),
# and a tag. The delegate is invoked whenever ImageMagick attempts to
# write an image whose format specifier or filename extension matches the
# tag (e.g. image.mpg for tag <=mpg). ImageMagick writes to a temporary
# file in the format you specify. The delegate can then read this file
# and convert it to a format it supports and presumably ImageMagick does
# not.
#
# If you use a less-equal-greater sign (<=>) the delegate bypasses
# ImageMagick and directly converts the image file (this assumes you do not
# apply any image transforms such as sizing or rotation).
#
# Lines that begin with a pound sign (#) are comments and are ignored.
#
# There are a number of delegates used by ImageMagick for special
# circumstances. For example, the print or Ghostscript delegate. Don't
# remove these or ImageMagick may behave strangely.
#
# ImageMagick looks for the delegate configurarion file in this order:
#
# c:ImageMagickdelegates.mgk
# DELEGATE_PATHdelegates.mgk
# delegates.mgk
#
# where DELEGATE_PATH is an environment variable.
#
# Like entries in the later two directory overrides the specification in
# the system-wide delegates file.
#
#<=bzip
|bzip2 -f > %o<=compress
|compress -c > %o<=show
display -immutable -window_group %g -title "%l of %f" tmp:%o &<=zip
|gzip -cf > %obmp<=launch
mspaint %i.bmp<=win
mspaint %i.browse=>
cmd /C start http://www.wizards.dupont.com/cristy/ImageMagick.html &bzip=>
|bzip2 -cd %icgm=>
ralcgm -d ps %i %o %u
convert -concatenate %o*.ps %ocompress=>
|uncompress -c %idvi=>
dvips -q -o %o %iedit=>
notepad %oeps<=>pdf
gswin32 -dMaxBitmap=300000000 -sDEVICE=pdfwrite -q -dNOPAUSE
-sOutputFile="%o" -- "%i" -c quiteps<=>ps
gswin32 -dMaxBitmap=300000000 -sDEVICE=pswrite -q -dNOPAUSE
-sOutputFile="%o" -- "%i" -c quitfile=>
GET %m:%i > %o 2>&1fig=>
fig2dev -L ps %i %oftp=>
GET %m:%i > %o 2>&1# Gnuplot format (rendered as Postscript)
# Add additional gnuplot commands to the input file to adjust output.
gplt=>
echo "set size 1.25,0.62; set terminal postscript portrait color solid; set output '%o'; load '%i'" > %u
gnuplot %ugs-color=>
gswin32 -dMaxBitmap=300000000 -sDEVICE=pnmraw -q -dNOPAUSE
-dTextAlphaBits=%u -dGraphicsAlphaBits=%u -g%s -r%s %s
-sOutputFile="%s" -- "%s" -c quitgs-mono=>
gswin32 -dMaxBitmap=300000000 -sDEVICE=pbmraw -q -dNOPAUSE
-dTextAlphaBits=%u -dGraphicsAlphaBits=%u -g%s -r%s %s
-sOutputFile="%s" -- "%s" -c quithpgl=>
hp2xx -q -m eps -f %i %ohtm=>
html2ps -o %o %ihtml=>
html2ps -o %o %ihttp=>
GET %m:%i > %o 2>&1mpg=>
mpeg2decode -q -b %i -f -r -o3 %o%%05d
convert -concatenate %o*.ppm %om2v=>
mpeg2decode -q -b %i -f -r -o3 %o%%05d
convert -concatenate %o*.ppm %opcl<=print
print %ipdf<=>eps
gswin32 -dMaxBitmap=300000000 -sDEVICE=epswrite -q -dNOPAUSE
-sOutputFile="%o" -- "%i" -c quitpdf<=>ps
gswin32 -dMaxBitmap=300000000 -sDEVICE=pswrite -q -dNOPAUSE
-sOutputFile="%o" -- "%i" -c quitpgp=>
pgpv -fq %ipov=>
povray +i%i +o%o +fn%q +w%w +h%h +a -q9 -kfi%s -kff%n
convert -concatenate %o*.png %ops<=>eps
gswin32 -dMaxBitmap=300000000 -sDEVICE=epswrite -q -dNOPAUSE
-sOutputFile="%o" -- "%i" -c quitps<=>pdf
gswin32 -dMaxBitmap=300000000 -sDEVICE=pdfwrite -q -dNOPAUSE
-sOutputFile="%o" -- "%i" -c quitrad=>
ra_ppm -g 1.0 %i %orgba<=rle
mogrify -flip -size %wx%h rgba:%i
rawtorle -w %w -h %h -n 4 -o %o %iscan=>
scanimage -d %i > %oshtml=>
html2ps -o %o %itxt<=>ps
enscript -o %o %iwmf=>
wmftogif %i %oyuv<=m2v
mpeg2encode %u %o
convert -concatenate %i*.yuv %uyuv<=mpg
mpeg2encode %u %o
convert -concatenate %i*.yuv %uzip=>
|gzip -cdfq %i
es gibt da vorlagedateien. es ändert nur ein -dSAFE oder so?!?
reboot (geht komischerweise nicht mal auf win2000 server ohne)
dann sollts tun #paralyzed#