Skip to main content
77 votes
Accepted

Where is the convert command in macOS?

There is no command/utility named convert built into macOS. convert utility is installed as part of ImageMagick. You can easily install ImageMagick using Homebrew by running: brew install imagemagick ...
Nimesh Neema's user avatar
  • 54.5k
23 votes

How do I extract an image out of a PDF using Preview for Mac?

Note: updated for IMv7 and beyond, where the convert command is now deprecated in favour of magick. Method 1 The Poppler PDF rendering library provides pdfimages (amongst other useful utilities) which ...
Andy Griffiths's user avatar
15 votes

How can I obfuscate a small section of a image on macOS?

Preview, built into macOS, has a few tools for doing this. First, open the image in Preview (the default app for images), then choose the Annotate button on the toolbar. Options for obfuscating: Use a ...
grg's user avatar
  • 209k
7 votes

How can I obfuscate a small section of a image on macOS?

The app Skitch has a visually appealing 'pixellate' tool that you can use to obfuscate sections of an image:
IconDaemon's user avatar
  • 20.1k
6 votes

macOS: lossless PNG to PDF conversion

ImageMagic You can use ImageMagick to convert your PNG images to PDFs. magick -density 100 sample.png sample.pdf See How can I convert a PNG to a PDF in high quality so it's not blurry or fuzzy? for ...
Graham Miln's user avatar
  • 45.7k
5 votes
Accepted

Create MacOS style screenshots with drop shadow using Imagemagick

The following appears to work. I've done it twice -- once to show the shadow more explicitly, and then once to show the desired, finished output. # adds the shadow convert source.png \( +clone -...
Vishal's user avatar
  • 972
5 votes

HEIC to JPEG conversion does not work anymore

If you don't mind using the Terminal, the built-in command-line tool sips can work when Finder actions are not running properly: sips -s format jpeg myImage.heic --out myImage.jpg Similar to multiple ...
gidds's user avatar
  • 1,272
4 votes

Where is the convert command in macOS?

Once installed using @Nimesh Neema's answer you can find the location of the command by running which convert
user7886229's user avatar
  • 10.2k
4 votes
Accepted

imagemagick fails with dyld: Library not loaded

Looking at the error, we identify the missing file: /usr/local/opt/little-cms2/lib/liblcms2.2.dylib The first step is to make sure that the library is actually existing: find /usr -name '*liblcms*' ...
ishahak's user avatar
  • 271
4 votes

How come Automator can't find images on sites like this:?

Here are two different examples using Safari of how I'd go about downloading the individual thumbnail images of the brain scans at the target URL. The example AppleScript code, shown below, was tested ...
user3439894's user avatar
  • 60.8k
4 votes

How do I extract an image out of a PDF using Preview for Mac?

I know it's been a few years since the question, but I thought I'd add one wisdom I've just learned shortly afer coming here to find answers, and after I found out that somewhat disappointingly, PDF ...
Josef Habr's user avatar
3 votes
Accepted

Using ImageMagick's identify to determine DPI of a document

(Thanks to Tetsujin for his helpful comments leading me to the answer) ImageMagick can get a little confusing with their myriad of options when you're attempting to do something. There's a couple of ...
Allan's user avatar
  • 106k
3 votes

Sips: resize image's smallest side, not largest side

Apparently using ImageMagick yields more favorable results when compared to sips, so using ImageMagick instead might be better. The command to do so is: convert image.jpg -resize '2000x2000^>' ...
Oion Akif's user avatar
  • 9,514
3 votes
Accepted

Viewing large number of pictures over network storage

Try Quick Look. Select all the images, press spacebar and use the arrow keys to view the images.
Tukanuk's user avatar
  • 321
3 votes

Where is the convert command in macOS?

There used to be a utility in MacOS at: /System/Library/Printers/convert but it was removed some time ago, probably around Lion. However, it was just a symlink to the cupsfilter command (though ...
benwiggy's user avatar
  • 40.3k
3 votes

How to remove "where from" xattr data from image files downloaded in Mac?

Your command works for me, even copying it and supplying an appropriate filename. As suggested in the comments, you need to ensure that the correct filepath is being supplied, and that the file has ...
benwiggy's user avatar
  • 40.3k
3 votes

Apple QuickTake™ 150 camera pictures in QuickDraw format…

dcraw dcraw is an open source application will open and convert images from the QuickTake cameras: So here is my mission: Write and maintain an ANSI C program that decodes any raw image from any ...
Dollarite's user avatar
3 votes

Apple QuickTake™ 150 camera pictures in QuickDraw format…

I was in the same situation. Finding photos I had taken 20 years ago on my Quicktake 150, but was not able to open them. But I found a solution. There is a OS 9 emulator for OSX that i installed, then ...
racesmore's user avatar
3 votes

How can I obfuscate a small section of a image on macOS?

The general practise is to open the image with Preview.app and use the drawing tools to obfuscate the sensitive information. The drawing tools can be accessed from the toolbar or from Tools → ...
Nimesh Neema's user avatar
  • 54.5k
2 votes

macOS: lossless PNG to PDF conversion

Looking for a specialised tool that fits exactly into the workflow described, avoiding some pitfalls other command line options may present, is img2pdf Lossless conversion of raster images to ...
LаngLаngС's user avatar
  • 8,574
2 votes

How can I save a bmp (bitmap) image file at 16bpp?

GIMP has the A1R5G5B5 option when using Export Image as BMP > Advanced Options For images without any transparency A1R5G5B5 will be greyed out. Use X1R5G5B5, also 16bpp format, for images without ...
Matt Sephton's user avatar
  • 5,240
2 votes
Accepted

zsh: Can't set DYLD_LIBRARY_PATH in ~/.zshenv to get ImageMagick working under MacOS Catalina

This is a simple typo! The definition of the variable DYLD_LIBRARY_PATH refers to the variable set in the previous line: MAGICK_HOME: So add a K and the respective lines of .zshenv look like this ...
klanomath's user avatar
  • 67.4k
2 votes
Accepted

Resized/Rotated PNG image using ImageMagic is blury. How to sharpen?

The trick here is to increase the density(resolution) of the original image before doing any other processing like resizing or rotating. % convert -density 300 inputfile.png inputfile.png Normally, ...
Allan's user avatar
  • 106k
2 votes

How to handle new image/video format of iOS on Linux laptop?

You can use ImageMagick now to convert HEIC files. Install that e.g sudo apt install imagemagick and use its convert command similar to the heif-convert command. Specifically edit out "heif-"...
RoryM's user avatar
  • 21
2 votes

How come Automator can't find images on sites like this:?

The webpage doesn't contain the images directly, but rather some JavaScript that the browser runs. This code makes an API request for a new page, containing links to images. The code on the first ...
grg's user avatar
  • 209k
2 votes

How do I save a black & white picture to a 1-bit image file?

On macOS you can use GNU Image Manipulation Program (GIMP) to create 1-bit TIFF files. With the image opened, go to Image > Mode > Indexed > (•) Use black and white (1-bit) palette > ...
user3439894's user avatar
  • 60.8k
2 votes
Accepted

How do I save a black & white picture to a 1-bit image file?

You can use ImageMagick commandline tool for that. If your image is already Black and White you simply do: convert input_file.tif -depth 1 output_file.tif If you have to make the file B/W just add -...
Mateusz Szlosek's user avatar
1 vote

In Preview, what properties are the top three level sliders?

The control is a histogram, also called "levels". When you adjust the sliders, you are adjusting the exposure of the image. Photo editing technique is probably out of scope of Ask Different, ...
Ezekiel's user avatar
  • 10.9k
1 vote
Accepted

Live preview of changing image file

You can save the image file in a folder such that it is the only file in the folder. Whenever you generate a new image save it with the same name to the same folder. Then with the finder window open, ...
Natsfan's user avatar
  • 14.6k
1 vote

Using ImageMagick's identify to determine DPI of a document

This question really holds two separate questions: First the question is of the DPI of a document, and the file in question is a PDF file. PDF files are complicated in nature, and actually allows a ...
jksoegaard's user avatar
  • 81.2k

Only top scored, non community-wiki answers of a minimum length are eligible