imagemagick-convert 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

5

Solved

I have scanned documents that weren't scanned perfectly straight so the text is not orientated perfectly horizontally, i.e. perhaps 10° of a slope on each line. My understanding is that the deskew ...
Periscope asked 9/1, 2017 at 10:44

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

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

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

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

2

Is it possible to automatically extract tiles from comics, with an existing tool like ImageMagick or should I code a tool myself? I have seen answers using ImageMagick (Using imagemagick how can i ...

4

I want to create multifile favicon.ico according to great favicon cheat sheet. I created 3 .png files, optimized them with OptiPNG and received files with 1, 2 and 3kb size. Now I'm trying to creat...
Signorelli asked 21/3, 2014 at 14:32

4

Solved

After upgrading ImageMagick text quality got degraded when convert pdf to jpeg: Old image New Image Conversion command: convert foo.pdf foo.jpeg Old ImageMagick version: [root@home]# convert ...
Birdwatcher asked 2/4, 2013 at 16:42

0

It is talking about some scanned pages, which are not perfectly aligned. I would like to use ImageMagick to auto detect their skewed angles (less than 1 degree) then rotate them. There are a few di...
Fortdefrance asked 16/2, 2023 at 7:51

3

Solved

I'm printing some text on an image with convert and I would like to decorate the text with a black shadow, I tried -blur or -gaussian but I cannot apply to the text, it is applied to the background...
Exultant asked 31/12, 2013 at 13:45

7

Solved

I have a bunch of PNG files named foo<bar>.png I wish to convert to TIF animation. <bar> is a number varies from 0 to 25 in leaps of five. ImageMagick place foo5.png last in the animati...
Gearalt asked 9/9, 2012 at 13:9

3

I'm trying to do what The GIMP does when selecting "color to alpha" with an actual colour. I've got an image that has the color #a0132e in it, and I want that converted to transparency. Not only t...
Spinal asked 16/10, 2014 at 15:17

5

Solved

I have thousands of SVG's in a folder and sub-folders. What I want is to batch convert all of them to jpg or png images. Can someone help me write a command for ImageMagick (windows), which can f...
Munro asked 23/5, 2015 at 15:19

4

I'm using ImageMagick via command line to convert a simple SVG to PNG with a transparent background, but for some reason it's not working. I've already tried some of the suggestions noted here (bo...
Brantbrantford asked 18/12, 2014 at 2:20

4

Solved

Given a directory with several jpg files (photos), I would like to create a single pdf file with one photo per page. However, I would like the photos to be stored in the pdf file unchanged; i.e., I...
Holeproof asked 29/9, 2017 at 19:15

2

Solved

Under Windows, I need to choose between Q8 and Q16. I know that Q8 are 8 bits-per-pixel component (e.g. 8-bit red, 8-bit green, etc.), whereas, Q16 are 16 bits-per-pixel component. I know also that...
Gilly asked 22/2, 2018 at 21:44

5

I have been trying to install ImageMagick in Ubuntu 16.04 to use with movie.py I have installed ImageMagick 7 but when I check the version from the command line convert --version It gives error...
Heater asked 30/5, 2018 at 10:11

2

My company is using Sphinx to create the manuals for our products. Our products are shipped with PDF and HTML documentations. We are using Windows as a sole developer environment. A necessary requ...

3

I have added intervention/image package to convert image format in laravel. image converted successfully but after uploading image quality was so bad. Original Image Uploaded Image $img =(s...
Engelhart asked 7/4, 2020 at 13:11

5

Solved

I am testing my file conversions on the test server and I got this error below. I tested the case on my local and it worked without a problem. On the server it gives me some trouble. FailedToExe...
Various asked 11/2, 2019 at 9:37

2

When converting an image, ImageMagick's default behavior seems to be to overwrite any existing file. Is it possible to prevent this? I'm looking for something similar to Wget's --no-clobber downloa...
Chimere asked 30/12, 2018 at 21:39

2

I downloaded ImageMagick from https://www.imagemagick.org/script/download.php#macosx extracted it to ~/Documents/software my .profile looks like this: export MAGICK_HOME="~/Documents/software/I...
Persecute asked 24/11, 2017 at 18:32

5

Solved

I'm using ImageMagick (with Wand in Python) to convert images and to get thumbnails from them. However, I noticed that I need to verify whether a file is an image or not ahead of time. Should I do ...
Everyplace asked 19/7, 2013 at 23:45

© 2022 - 2024 — McMap. All rights reserved.