Tag Info

New answers tagged

0

If your PDF indeed is a multi-page document, your output file will not be named document.pnm. Instead, you will have multiple output files, one per PDF page. They will be named document-1.pnm, document-2.pnm, etc. Hence, your further processing has to take this into account... Finally, whenever you are prepared to convert your PNMs back to PDF, run this ...


1

You should make sure that your /usr/local/bin/ directory is in your $PATH: echo $PATH This should return all directories where your Bash searches for executables, separated by colons (":"). The output should look similar to this: /usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin The Bash shell uses ...


0

Assuming you have PNG files page1.png, page2.png,... page9.png and you want to create a 9-page PDF from these input PNGs. The following simple ImageMagick command does create this PDF: convert page*.png 9page.pdf If you want to re-sort the pages, just list all the PNGs in the order you want: convert \ page8.png \ page7.png \ page6.png \ ...


1

There are third party components for MS Windows which provide an X Window System. See for example here: http://www.straightrunning.com/XmingNotes/. If you install an X Window System on MS Windows, display.exe will work with this. However, any ImageMagick installation on MS Windows should also include another utilitity, imdisplay.exe. This will work on ...


0

You should check the output of this command: convert -version In my case, I get: Version: ImageMagick 6.9.0-0 Q16 x86_64 2014-12-06 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc \ jbig jng jp2 jpeg ...


0

The following command will return the information you are looking for: identify -format "%f %d %m %b %w %h\n" ./* ./*/* The escape sequence for the file directory is %d. To include all files in the current folder, use ./* (the shell wildcard). To include all files in all sub folders, use ./*/* (shell wildcards). (You didn't tell which operating ...


0

You can also try doing: brew uninstall ghostscript brew install ghostscript That fixed it for me.


0

You could try converting to a lossless image type instead of outputting more TIFF files. AFAIK, ImageMagick avoids recompression at all costs; but since it's throwing warnings that the original file is using old style compression (TIFF Revision 6 JPEG prior to Technote 2) it may be recompressing them anyway causing lower quality. Try a lossless format ...


0

If you don't mind using GIMP in batch mode instead of ImageMagick, you can use a Script-Fu script like this: (define (color-curves filename output-filename curve) (let* ( (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image))) ) (gimp-curves-explicit drawable 0 256 curve) ...


0

I've had more success using the XxY delay notation, essentially the x is like a /, so if you specify -delay 1x20, the frame is displayed for 1/20th of a second.



Top 50 recent answers are included