Questions tagged [imagemagick]

ImageMagick is an open source software suite for displaying, converting, and editing raster image files.

Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

convert RAF files in imagemagick

I'm trying to convert .RAF files to .png using imagemagick. When I invoke the command: convert In.RAF Out.png I get an error: convert-im6.q16: delegate failed `'ufraw-batch' --silent --create-id=also ...
0
votes
0answers
16 views

HEIC Support with ImageMagick 6.9.12

I've just upgraded my ImageMagick to 6.9.12-30 (the current latest 6.9 version) I have to stay with 6.9 because I'm using a rails gem mini_magic 4. which apparently doesn't support ImageMagick 7.x I ...
0
votes
0answers
22 views

Image Magick will not purge

I have a similar problem on double - boot windows 10 / Ubuntu (originally windows 7/windows 10 / ubuntu... I started to get notices in the log that Image Magick was in a 'bad confiiguration state' so ...
1
vote
0answers
31 views

convert bunch of images to black and white with overwritting existing images

I need to convert a bunch of images (about 1000) to black and white I used the following code: convert *.bmp -monochrome ./*.bmp but it produces new images. for example, I have file1.bmp, file2.bmp ...
0
votes
0answers
29 views

How to Convert 2 Image to 1 Page PDF With terminal?

I have a question, I have a problem, I want to change 2 images in 1 page pdf, how do I do it? I tried this command convert *.jpg -resize 1240x1753 \ -extent 1240x1753 -gravity ...
1
vote
0answers
46 views

How to convert a directory of jpg files to a pdf with filenames as bookmarks?

I have a directory of jpg files that are scans of my handwritten notes. How do I convert them to a single pdf file that has the filenames as bookmarks? (I eventually also want to add ocr. As ...
0
votes
1answer
33 views

Create a gif from the recent 10 images in a folder?

I am wondering if there is a way to create a GIF using ImageMagick or other tools by considering only the recent 10 images from a folder?
2
votes
1answer
145 views

How can I use the `identify` command to find out *only* the file type?

I want to use the identify command (from ImageMagick) to determine a file's type. The sample command identify -quiet 'Sample File.gif' will list several lines. Is there a short and simple way to ...
2
votes
1answer
87 views

Problem installing ImageMagick 7 using IMEI

I tried to install ImageMagick 7 by IMEI from github: https://github.com/SoftCreatR/imei/ but always had this answer: Signature verification failed! Please check /var/log/imei.log for details. ...
0
votes
0answers
12 views

image magick cannot update properly (double boot win 10/ubuntu)

I have a similar problem on double - boot windows 10 / Ubuntu (originally windows 7/windows 10 / ubuntu... I started to get notices in the log that Image Magick was in a 'bad confiiguration state' so ...
0
votes
1answer
40 views

ImageMagick trouble

Every time I try to download a pdf file, ImageMagick is launched and fails to render the file. How do I get rid of or disable ImageMagick?
1
vote
0answers
68 views

Combine a .jpg and .txt in one PDF file (A4 format)

I'm trying to combine two separate files into one PDF file (A4 format). The left side should be filled with a jpeg image (for example: 0050.jpg) and the right side should be filled with text (or an ...
1
vote
2answers
511 views

How to convert 32MB of PNG file to 200Kbs without losing its colors

I have couple of images that are of 32MBs of size and I want to change their size from 32MBs to 100Kbs or any KBs of size without affecting its colours. The commands I am trying are: muhammad@muhammad-...
5
votes
3answers
1k views

ImageMagick convert on a multiple files

I have 3 files in a directory: aaa.jpg bbb.jpg ccc.jpg I can scale down an image using ImagkMagick convert: convert aaa.jpg -resize 1200x900 aaa-small.jpg I want to do all the images in ...
1
vote
1answer
201 views

Resize image to specific size

I know there are several ways to resize an image via the command line. Some of them are specified here. However, I was wondering whether there is a way to specify the size of the resized image, e.g. I ...
2
votes
2answers
708 views

How to bulk convert NEF/RAW images to JPG and remove original images?

I want to convert all NEF/RAW image files to an image format that could be easily opened without additional tools. I thought about using ImageMagick's convert tool as mentioned in How can I convert a ....
0
votes
0answers
136 views

I want to convert gif to png

I have application that creates thumbnails for documents provided. It is scripted in python using preview-generator lib. when I'm trying to convert .gif file to .png using lib it gives me following ...
0
votes
0answers
30 views

How to implement on the UI image cropping feature

I recently came across one use case to crop the images through imagemagick library. I am using a hacky way to crop the image using the convert command like this: #left,top ...
0
votes
1answer
127 views

How do you hide ImageMagick?

I know that you can hide applications by going to /usr/share/applications/, selecting the <appname>.desktop and editing in Hidden=true. In this case however, I can't find imagemagick's .desktop ...
0
votes
0answers
23 views

Ubuntu install and configure for OpenRealty script?

I'm trying to verify what version of Ubuntu server I should use and process for installing / configuring the following requirements. Assuming Ubuntu 16.x but with the PHP SuExec/SuPHP all the ...
2
votes
1answer
68 views

Inkscape unable to access ImageMagick

Platform details: Ubuntu 20.04.2 LTS Inkscape 1.0.2 (394de47547, 2021-03-26) (snap image) ImageMagick 8:6.9.10.23+dfsg-2.1ubuntu11.2 and 8:6.9.7.4+dfsg-16ubuntu6.8 (two non-snap versions are ...
0
votes
0answers
27 views

How to install libheif-dev on Ubuntu 18.04 LTS? [duplicate]

For a longtime I try to get Imagemagick running on my Ubuntu 18.04. After a alot of searching and reading I am stuck now installing libheif-dev. It seems there is an easy solution for 20.04 LTS: https:...
0
votes
1answer
388 views

Imagemagick montage is creating corrupted filenames in the display command

The Tile Verb in ImageMagick display is not working correctly due to montage corrupting the filenames, ls -1 home*.png home_10.png home11_biggerMB.png home_12_1600.png home_12.png home_15_212_baths....
1
vote
1answer
191 views

How to resize images to either 900-pixels-height for vertical ones or 900-pixels-width for horizontal ones?

I have vertical (i.e. height > width) and horizontal (i.e. width > height) images. I want to resize them to either 900-pixels-height vertical ones or 900-pixels-width ones based on their ...
4
votes
1answer
3k views

Where is the magick command of Imagemagick?

This may be a simple question, however, I couldn't find a solution. The ImageMagick contains a program named magick to convert image formats from one to another. When I wrote $ magick into the console,...
2
votes
2answers
113 views

How to remove slightly modified duplicate images?

I have thousands of images that I have made in my phone and DSLR over last couple of years and never given a thought about photo management until recently and it is a mess now. I used fdupes -r . > ...
0
votes
0answers
11 views

i cant install libmagickcore-dev,libmagickwand-dev in ubuntu 20.04 [duplicate]

I tried to install them buy sudo apt-get install libmagickcore-dev libmagickwand-dev it gives Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
0answers
33 views

Colormapped image required when converting .tif to .png with ImageMagick

As the title says when running the command: convert -depth 32 ./heightmap.tif ./heightmap.png I recieve the error: convert: colormapped image required `./heightmap.tif' @ error/quantum-import.c/...
1
vote
1answer
325 views

how to convert 1280x720 jpg files to 640x240 ppm files using ImageMagick convert command?

I'm kind of in a hurry so I ask it here (I'll read the documentation later). I have image files (width 1280, height 720, colored, jpg) and I want to first reduce the files to half both vertically and ...
1
vote
2answers
2k views

Dependency problems installing libmagick++-dev on Ubuntu 18.04

I am trying to use install splashr, but running into some dependencies issues and nothing seems to work. I know it is more related to misconfiguration in OS than to issues in the package itself, but ...
0
votes
1answer
202 views

convert command of ImageMagick-6 does not run via Run Bash

Thank you for having a look. Here is my simple script: #!/bin/bash echo "Running!" > /home/../batch/apache_status_label.txt; convert \label:@/home/../batch/apache_status_label.txt ...
0
votes
1answer
46 views

Delete link to command to retry ImageMagick installation

TLDR: I messed up an installation of Imagemagick and I am trying to reset back so that when I type magick it simply says Command 'magick' not found... rather than bash: /usr/local/bin/magick: No such ...
0
votes
0answers
57 views

Bulk Quality Conversion of Images (ie Compression)

├── ~/ │ ├── content/ │ │ ├── image01.jpg │ │ ├── image02.png │ │ ├── image03.bmp │ │ ├── text-file.txt │ │ ├── video.mp4 │ └── ... └── ... Let's say I want to compress all ...
0
votes
0answers
55 views

I have ImageMagick installed but I can't uninstall [duplicate]

You can see with this pictures the ImageMagick software is installed. And: But if i try unistall: $ sudo dpkg --purge --force-all imagemagick dpkg: warning: ignoring request to remove imagemagick ...
2
votes
1answer
91 views

How to check if an image has 2 bytes per pixel and how to convert it to an image with 1 byte per pixel?

I have thermal images from FLIR camera that has 2 bytes per pixel. I am not sure how I could check in Ubuntu if these images have 2 bytes per pixel or not. Also, how can I convert a 2 byte per pixel ...
1
vote
1answer
490 views

Errors converting PDF with Imagemagick on Ubuntu 18

On Ubuntu 18.04.4 LTS on Azure with a Bitnami WordPress stack, I'm trying to get Imagemagick and Ghostscript working so WordPress will create PDF thumbnails. A simple conversion test gives an error. ...
5
votes
2answers
1k views

Upgrade to imagemagick7 and force php to use it

I have Ubuntu 18.04.1 LTS which comes with ImageMagick 6.9.7 by default and I wanted ImageMagick to process jp2 images so I installed libopenjp2-7-dev and also installed imagemagick7 from source like ...
0
votes
2answers
1k views

installing imagemagick [closed]

I am unable to complete the installation of Imagemagick in Ubuntu 18.04 LTS. Long story short, I have three packages of the latest Imagemagick packages showing in my Synaptic Package manager, ...
2
votes
1answer
3k views

How to batch / multi process cropping images in the terminal?

I tried to crop several images of the same size, but when I crop 5 images and the process is complete, only 4 images are cropped, 1 image is not cropped, if I crop 1 image an error will appear... I'm ...
1
vote
0answers
125 views

Removing right-click menu option in Xubuntu/XFCE - Imagemagick

I'm using Xubuntu 20.04. Every time I right click on a picture I get an option to use Imagemagick at the top. I would like to get rid of it. I've tried removing display-im6.q16.desktop from the ~./...
1
vote
1answer
858 views

How to change image PPI in batch mode?

Is it possible to change an image resolution expressed in pixels per inch (PPI) in batch mode, using command line? My images resolution is currently below 100 PPI. I would like to enhance it to ...
2
votes
1answer
1k views

ImageMagick still exists after apt remove?

I installed ImageMagick via apt install imagemagick but then realised I need a newer version, so I compiled it from source and installed over the top of the old version. mogrify -version still showed ...
3
votes
2answers
2k views

What is simplest process to get ImageMagick 7 with PNG support on Ubuntu?

I've tried to find a simple explanation for several hours but I just can't seem to find anything useful. I'm primarily a Windows programmer with some experience with Linux-based OSes. For some reason ...
5
votes
1answer
3k views

Can't install RMagick 4.0.0. Can't find ImageMagick with pkg-config on Ubuntu 16.04

Trying to install pdfbeads on Ubuntu LTS 16.04 with the command $ gem install pdfbeads I'm getting the error message "ERROR: Can't install RMagick 4.0.0. Can't find ImageMagick with pkg-config" Below ...
4
votes
2answers
2k views

Convert .dng to .png is not working in Ubuntu 16.04

I want to convert .dng file extension to .png/.jpg format. Here is my command line: convert /var/www/html/img/10fassettsquare.dng /var/www/html/img/14.png I am trying to convert but it shows an ...
3
votes
1answer
1k views

How are the chances that ImageMagick 7 will be part of Ubuntu 20.04

I tried to find issues for the Upgrade in Ubuntu 20.04 to ImageMagick 7, but did not find one. I believe the Package will be imported from Debian which also seems to be still on ImageMagick 6.9 ? ...
2
votes
2answers
2k views

convert jpg to pdf

in my Ubuntu 19.10 when trying to convert .jpg to .pdf : convert gives : joso@joso-Aspire-ES1-433:~$ convert ‘/home/joso/Desktop/Marticeva etaziranje/IMG_20200104_102541.jpg’ output.pdf convert: ...
2
votes
1answer
944 views

Join images with padding and alignment

I have two images of different height which I want to join horizontally (i.e. side-by-side). I want the images to be bottom-aligned as well as to be separated by a 25 pixel wide white area. With ...
1
vote
0answers
75 views

convert a common pdf to multiple images but encounter security error [duplicate]

I tried to convert a downloaded pdf to multiple pages with commands $ convert -density 300 magit.pdf -quality 100 magit-%04d.jpg thus get error convert-im6.q16: attempt to perform an operation ...
0
votes
1answer
50 views

ImageMagick outputs an empty image when using the `-morphology` paramter

ImageMagick outputs an empty image when using the -morphology parameter. I tried the same command and it is working well on other computers. I uninstalled the lib and reinstall it, and even after ...

1
2 3 4 5 6