imagemagick Questions

3

Solved

I'm trying to use ImageMagick to create thumbnail images that are 3840 x 2160. I need the image to have a black background and white text. The text should be centered vertically and horizontally. I...

4

for parentDir in * do cd "$parentDir" for subDir in * do cd "$subDir" for file in *.* do convert "$file" -crop 120x95 summary_"$file" convert "$file" -crop 160x225 detail_"$file" done mkd...
Yun asked 24/10, 2016 at 18:8

4

I have image.png in truecolor, palette.png (N colors, where N>256) or text file, where list RGB color palette. How to get a picture with this palette? If I use imagemagick: convert image.png -rem...
Pinta asked 30/9, 2011 at 10:40

7

Solved

What is the best way to crop or mask an image into a circular shape, using either ImageMagick or GD libraries? (Note, solution exists on "other" Q&A sites, but not StackOverflow)
Maryannamaryanne asked 16/6, 2009 at 1:31

3

Solved

I'm looking for the command and options to convert images (png, jpeg, whatever…) to 1bit/px bitmap image (similar to what happen when in photoshop when you convert it to bitmap). See example below ...
Fluidics asked 7/4, 2013 at 9:43

4

Solved

To solve Android build issue I need to replace all intermediate alpha pixel with solid pixel (leaving transparent background as is). How to that with ImageMagick or other-command line tool to all i...
Negligent asked 9/3, 2015 at 7:35

7

I am trying to convert a PDF document into a PNG file using ImageMagick command line tools from a ASP.NET website. I create a new shell process and ahve it execute the following command: convert -...
Spreadeagle asked 17/6, 2010 at 8:56

3

I have a number of same-sized PNG files which I want to convert into a single PDF, with 3 PNG images to an A4 page (e.g. 30 images = 1 x 10 page PDF). The images are all 1311 x 537 pixels and I'd ...
Boylan asked 23/11, 2017 at 10:56

3

Currently I'm trying to display .HEIC images in Rails 6. I'm using ActiveStorage ImageMagic to use variant to display jpg. Basically I'm trying to use mogrify -format jpg myimage.heic In the im...
Laurynlausanne asked 14/3, 2020 at 18:52

2

Solved

I have 2 GIFs that are the same length. I want to put the GIFs beside each other to have 1 GIF with both playing at the same time. I have tried to use the convert tool with: convert +append 1.gi...
Demogorgon asked 18/6, 2015 at 23:13

7

Solved

Scenario I would like to save images with alpha transparency as .png and images without alpha transparency as .jpg (even if their original format is .png or .gif). How can I detect whether or not a...
Dominicadominical asked 5/4, 2010 at 22:5

10

Solved

I have multiple images stored in a set of organized folders. I need to re-size those images to a specific percentage recursively from their parent directory. I am running Ubuntu 11.10 and i prefer ...
Askins asked 29/5, 2012 at 15:55

3

Solved

I've attempted installing with brew: brew install imagemagick The installation seems to have completed successfully. However, when attempting to: use Image::Magick; I get the following error ...
Perish asked 4/6, 2013 at 19:46

7

Solved

I'm writing a CAD application that outputs PDF files using the Cairo graphics library. A lot of the unit testing does not require actually generating the PDF files, such as computing the expected b...
Roxy asked 12/1, 2011 at 19:11

15

Solved

The Imagemagick security policy seems to be not allowing me perform this conversion from pdf to png. Converting other extensions seem to be working, just not from pdf. I haven't changed any of the ...
Allred asked 25/10, 2018 at 21:25

4

Solved

I am trying to convert an image in EMF format to PNG using Imagemagick on Red Hat Enterprise Linux Server release 5.5 (Tikanga), but I am running into the following error: convert: no decode del...
Buttermilk asked 25/2, 2013 at 9:3

5

Solved

I'm using ImageMagick from the command line to resize images: convert -size 320x240 image.jpg However, I don't know how to determine the size of the final image. Since this is a proportional ima...
Tormoria asked 12/10, 2009 at 16:21

5

I'm trying to to do a basic convert: $ convert image.png out.jpg but getting error convert-im6.q16: no images defined `out.jpg' @ error/convert.c/ConvertImageCommand/3258. Why does it say "n...
Shill asked 11/11, 2020 at 17:53

2

Solved

Is there a simple way to extract EXIF data as text from an image file using ImageMagick. Something like the way to do it for IPTC data: convert input.jpeg data.iptc <= binary data convert input...
Perfectible asked 30/10, 2014 at 13:46

7

Solved

Is there a good solution on how to include third party pre compiled binaries like imagemagick into an electron app? there are node.js modules but they are all wrappers or native binding to the syst...
Narvaez asked 15/10, 2015 at 15:27

11

Problem: ImageMagick convert is unable to crop image. It looks like it doesn't recognize the image type? What I've Tried: I've searched around online and I've seen several similar issues but not mi...
Decalogue asked 2/6, 2016 at 14:3

3

Solved

I'm on Mountain Lion and installed ImageMagick using Homebrew (minimagick is also in my Gemfile but I don't think that's relevant). SimpleCaptcha uses it in a Rails app to create CAPTCHAs. Howeve...
Scotticism asked 18/12, 2012 at 15:31

3

Running OS X 10.9 trying to upload MacPorts following their guide Jadam$ xcode-select --version xcode-select version 2333. so I have Xcode on the computer, but when I enter in xcode-select --ins...
Sporogenesis asked 4/12, 2013 at 3:16

1

I need to automatically reduce the size of some user uploaded pdfs so that they can be sent via email. I have a little imagemagick oneliner that reduces the size for me: convert -density 120 -quali...
Silage asked 4/3, 2022 at 13:41

3

Solved

I am using ImageMagick to copy a portion of my screen into a temporary file (something.png). I would now like to paste the contents of this file into the clipboard directly from command line. So f...
Distefano asked 11/6, 2012 at 9:46

© 2022 - 2024 — McMap. All rights reserved.