hello!
I have a problem with this option: "-depth 1"
I don't understand why don't work it!
I use ubuntu hardy.
Thanks!
Pali
-depth 1
Re: -depth 1
You did not provide enough information to help you.
Re: -depth 1
I say thank you for the fast answer!
I used the command in this manner:
convert -density 600 -depth 1 file.eps file.tif
This worked under Windows early.
But now under ubuntu unfortunately not. (ImageMagick 6.3.7)
The result was a chessboard
I Tried the -monochrome with a command, but the lines were hairy with it
I do not know it what let me make an attempt yet.
Greet the help!
Pali
I used the command in this manner:
convert -density 600 -depth 1 file.eps file.tif
This worked under Windows early.
But now under ubuntu unfortunately not. (ImageMagick 6.3.7)
The result was a chessboard
I Tried the -monochrome with a command, but the lines were hairy with it
I do not know it what let me make an attempt yet.
Greet the help!
Pali
Re: -depth 1
We can reproduce the problem you posted and have applied a patch to the ImageMagick subversion trunk. Until fix the problem on your computer, edit /usr/local/lib/ImageMagick-6.?.?/config/delegate.xml and change pnmraw to pbmraw in the tag associated with ps:mono.
Re: -depth 1
I say thank you for the answer!
I did the correction after a safety rescue, but did not help unfortunately.
But I haven't got /usr/local/lib/ImageMagick-6.?.?/...
just usr/lib/ImageMagick-6.?.?/...
Thanks!
Pali
I did the correction after a safety rescue, but did not help unfortunately.
But I haven't got /usr/local/lib/ImageMagick-6.?.?/...
just usr/lib/ImageMagick-6.?.?/...
Thanks!
Pali
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: -depth 1
on ubuntu do a locate "delegates.xml" to locate the system delegates file.
or runwhich will list the files it is reading for the delegates
or run
Code: Select all
convert -list delegate
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: -depth 1
:S
Sorry but I don't understand it.
Can you write it step by step?
Here is the "convert -list delegate"
What does it mean?:
Path: /usr/lib/ImageMagick-6.3.7/config/delegates.xml
Delegate Command
-------------------------------------------------------------------------------
cgm => "ralcgm" -d ps -oC < "%i" > "%o" 2> "%u"
dng:decode => "ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=ppm16 "--output=%u.pnm" "%i"
eps<=>pdf "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i"
eps<=>ps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i"
fig => "fig2dev" -L ps "%i" "%o"
gplt => "echo" "set size 1.25,0.62 set terminal postscript portrait color solid; set output "%o"; load "%i"" > "%u";"gnuplot" "%u"
hdr => "ra_pfm" "%i" "%o"
hpg => "hp2xx" -q -m eps -f `basename "%o"` "%i" mv -f `basename "%o"` "%o"
hpgl => "if [ -e hp2xx -o -e /usr/bin/hp2xx ]; then hp2xx -q -m eps -f `basename "%o"` "%i" mv -f `basename "%o"` "%o else echo "You need to install hp2xx to use HPGL files with ImageMagick." exit 1 fi"
htm => "html2ps" -U -o "%o" "%i"
html => "html2ps" -U -o "%o" "%i"
https => "curl" -s -k -o "%o" "https:%M"
ilbm => "ilbmtoppm" "%i" > "%o"
man => "groff" -man -Tps "%i" > "%o"
pdf<=>eps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i"
pdf<=>ps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i"
pic => "ra_pfm" "%i" "%o"
pnm<= ilbm "ppmtoilbm" -24if "%i" > "%o"
pnm<= launch "gimp" "%i"
pov => "povray" "+i%i" -D0 +o"%o" +fn%q +w%w +h%h +a -q9 -kfi"%s" -kff"%n" "convert" -concatenate "%o*.png" "%o"
ps<=>eps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i"
ps<=>pdf "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i"
ps<= print "lpr "%i"
rad => "ra_pfm" "%i" "%o"
rgba<= rle "rawtorle" -o "%o" -v "%i"
scan => "scanimage" -d "%i" > "%o"
shtml => "html2ps" -U -o "%o" "%i"
svg => "wmf2eps" -o "%o" "%i"
txt<=>ps "enscript" -o "%o" "%i"
wmf => "wmf2eps" -o "%o" "%i"
pnem@R61:/media/DATA/testeps$
Thanks!
Pali
Sorry but I don't understand it.
Can you write it step by step?
Here is the "convert -list delegate"
What does it mean?:
Path: /usr/lib/ImageMagick-6.3.7/config/delegates.xml
Delegate Command
-------------------------------------------------------------------------------
cgm => "ralcgm" -d ps -oC < "%i" > "%o" 2> "%u"
dng:decode => "ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=ppm16 "--output=%u.pnm" "%i"
eps<=>pdf "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i"
eps<=>ps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i"
fig => "fig2dev" -L ps "%i" "%o"
gplt => "echo" "set size 1.25,0.62 set terminal postscript portrait color solid; set output "%o"; load "%i"" > "%u";"gnuplot" "%u"
hdr => "ra_pfm" "%i" "%o"
hpg => "hp2xx" -q -m eps -f `basename "%o"` "%i" mv -f `basename "%o"` "%o"
hpgl => "if [ -e hp2xx -o -e /usr/bin/hp2xx ]; then hp2xx -q -m eps -f `basename "%o"` "%i" mv -f `basename "%o"` "%o else echo "You need to install hp2xx to use HPGL files with ImageMagick." exit 1 fi"
htm => "html2ps" -U -o "%o" "%i"
html => "html2ps" -U -o "%o" "%i"
https => "curl" -s -k -o "%o" "https:%M"
ilbm => "ilbmtoppm" "%i" > "%o"
man => "groff" -man -Tps "%i" > "%o"
pdf<=>eps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i"
pdf<=>ps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i"
pic => "ra_pfm" "%i" "%o"
pnm<= ilbm "ppmtoilbm" -24if "%i" > "%o"
pnm<= launch "gimp" "%i"
pov => "povray" "+i%i" -D0 +o"%o" +fn%q +w%w +h%h +a -q9 -kfi"%s" -kff"%n" "convert" -concatenate "%o*.png" "%o"
ps<=>eps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i"
ps<=>pdf "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i"
ps<= print "lpr "%i"
rad => "ra_pfm" "%i" "%o"
rgba<= rle "rawtorle" -o "%o" -v "%i"
scan => "scanimage" -d "%i" > "%o"
shtml => "html2ps" -U -o "%o" "%i"
svg => "wmf2eps" -o "%o" "%i"
txt<=>ps "enscript" -o "%o" "%i"
wmf => "wmf2eps" -o "%o" "%i"
pnem@R61:/media/DATA/testeps$
Thanks!
Pali
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: -depth 1
It meant it read those delegates from
so that is where you need to make your changes!Path: /usr/lib/ImageMagick-6.3.7/config/delegates.xml
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/