Skip to main content

All Questions

Tagged with
2 votes
1 answer
2k views

ImageMagick - How to avoid overwriting existing files with mogrify?

I have these files under ./: a.jpg b.jpg 256/a.jpg I'm running this command to convert files to 256px: mogrify -path ./256/ -resize 256x256 *.jpg But this command always overrides the existing files ...
Hykilpikonna's user avatar
1 vote
2 answers
1k views

How to use imageMagick on Chinese Text to Image Handling

I try to use ImageMagick to handle a Chinese character to a image on my MacBook. According to ImageMagick's guide Unicode or UTF8 Format Text, I tried two ways. Code one: convert -background ...
dengApro's user avatar
  • 321
-3 votes
1 answer
2k views

How can I blur an image on Mac?

How can I blur an image on MacOS? I would like to achieve this on a Mac Terminal or something simpler. I see answers using ImageMagick PHP, and answers using ImageMagick on Windows, but that is not ...
Luis B's user avatar
  • 363
0 votes
1 answer
714 views

$PATH not saving after exporting Imagemagick paths

I am trying to install ImageMagick using the official instructions. I have executed the three export commands: export MAGICK_HOME="$HOME/ImageMagick-6.9.2" export PATH="$MAGICK_HOME/bin:...
emehex's user avatar
  • 127
2 votes
1 answer
508 views

Unpaper only processing first page?

I'm trying to use unpaper to process some PDFs that I have. But unpaper only seems to process the first page everytime. I'm using Mac OS X Yosemite. Here's my process: I scan in the document in PD ...
graynotes's user avatar
99 votes
3 answers
44k views

Can't convert PDF into image, because of 'no images defined' error

I've the following PDF file: http://www.fmwconcepts.com/misc_tests/pdf_tests/test.pdf But when I'm trying to convert it via: $ convert test.pdf test.png I've the following error: convert: no ...
kenorb's user avatar
  • 25.8k
4 votes
2 answers
2k views

How can I batch with ImageMagick command?

I'm doing convert dead0000.bmp -alpha on -fill none -draw 'color 0,0 replace' dead0000.png but I have a few thousand files. Is there any way to just do the whole directory at once?
Justin808's user avatar
  • 426
11 votes
4 answers
9k views

ImageMagick Convert: How to produce sharp resized PNG files from SVG files?

I am using this command to generate a sharp 512px wide version of an SVG file that I have: convert -geometry 256 pinterest.svg pinterest.png This is the source file: <?xml version="1.0" encoding=...
TheFooProgrammer's user avatar
1 vote
1 answer
2k views

Macports Imagemagick Install for PHP

I'm trying to install Imagick for PHP via Macports and the PECL extension, based on the guide here: sudo port install ImageMagick sudo pecl install imagick I entered the opt/local path and setup my ...
benedict_w's user avatar
0 votes
1 answer
2k views

Installing imagick on OS X with MAMP 2.1.1

I sincerely hope someone here can help me before I lose all my hair. I'm developing a php web app requiring imagick extension and want to test it locally. I have os x 10.8.2 (Mountain Lion) and MAMP ...
user185098's user avatar
1 vote
0 answers
519 views

can I remove imagemagick by deleting directories?

I posted this to StackOverflow, but probably belongs here. I'm on OSX Lion, trying to get back to basics so I can run RMagick in Rails 3.0, using rvm. When I tried to add the RMagick gem to Rails ...
Dan Donaldson's user avatar
153 votes
2 answers
199k views

How do you re-install a package with Homebrew (Mac)?

Struggling to find good Homebrew documentation (or tutorial)... In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
Meltemi's user avatar
  • 6,987
7 votes
2 answers
2k views

Mass recoloring of PNGs from command line

Similar to the mass rescaling command this site taught me here, is there a command-line trick for mass recoloring? To make it specific, suppose I have a bunch of images with RGB and alpha values: ...
William Jockusch's user avatar
1 vote
1 answer
7k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run sudo pecl install imagick, I get this error: checking ImageMagick MagickWand API configuration program... ...
Cat's user avatar
  • 611
1 vote
2 answers
641 views

Video from Frames at the OS X Command Line or Python?

I am looking for a good way to turn a stack of images into a video on the command line or python. Here is my setup: OS X 10.6 Sequence of images either in png or pdf format. (i.e. 001.png, 002.png, ...
dtlussier's user avatar
  • 2,175

15 30 50 per page