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
18 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
0answers
17 views

Can't figure out this error!

Click this link to see my error I use ImageMagick to convert .xcf file to jpg format. My current Ubuntu is 20.10. I'm not a programmer. Just a week ago I moved from Windows to Ubuntu, so I don't want ...
0
votes
0answers
20 views

Cannot open .jpg, .png, or .tif files with ImageMagick, only .gif files work

I am using Ubuntu 18.04.1 LTS (Bionic Beaver) on Windows Subsystem for Linux. I installed ImageMagick according to these instructions, the only exception being ImageMagick version is currently 7.0.10-...
0
votes
0answers
21 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
24 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
37 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
53 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
50 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
89 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. ...
4
votes
1answer
144 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
168 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, ...
1
vote
1answer
139 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
43 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 ~./...
0
votes
0answers
14 views

Imagemagick crops when creating pdfs but not on pngs

The following snippet generates a png image with a diagonal text across it: convert -size 1200x -background transparent -font "DejaVu-Sans" -gravity center -rotate -45 label:"Test Test Test Test" ...
0
votes
1answer
124 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 ...
1
vote
1answer
712 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 ...
1
vote
1answer
365 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 ...
4
votes
1answer
2k 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 ...
3
votes
2answers
891 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 ...
0
votes
1answer
599 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 ? ...
1
vote
1answer
635 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
228 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
48 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
0answers
21 views

imagemagick gives empty image on using morphology paramter

imagemagick gives empty image on using morphology paramter I tried the same command and it is working good on other computers with the same typically I uninstalled the lib and reinstall it and even ...
4
votes
2answers
5k views

ImageMagick:convert-im6.q16: no images defined

ImageMagick could convert multiple images to a single pdf. How-can-i-convert-a-series-of-images-to-a-pdf-from-the-command-line-on-linux How could reverse the operation? Convert a pdf of pages to ...
2
votes
1answer
116 views

ImageMagick Crop image keeping original position

Having https://upload.wikimedia.org/wikipedia/en/thumb/1/10/Stratton_Oakmont_logo.svg/1200px-Stratton_Oakmont_logo.svg.png I would like to cut the lion but keep the original image size and lion in ...
1
vote
0answers
477 views

Cannot install imagemagick in Ubuntu 19.04

I'm following the instructions. sudo apt update sudo apt-get install build-essential wget https://www.imagemagick.org/download/ImageMagick.tar.gz tar xvzf ImageMagick.tar.gz cd ImageMagick-7.0.8-66/ ...
4
votes
1answer
725 views

Installation of ImageMagick software fails with “configure: error: libltdl is required”

I am trying to install ImageMagick in my Ubuntu 18.04.1, following the instructions in this link. After running the following command ./configure I am getting the following errors: configure: ...
1
vote
1answer
109 views

Command to convert many images to one square image (not becoming a column or a row)

Is this really duplicate? I have not yet found it anywhere. For example: I have 4 PNG images: image1.png, image2.png, image3.png, image4.png. Every one of them is 200x200 pixels. I want to convert ...
1
vote
1answer
212 views

Install ImageMagick cli from repository

I want to use imagemagick to automate some image conversions. Unfortunately, when installed by building the source it misses the codec for opening png images. As far as I can tell, the fix for this is ...
2
votes
1answer
836 views

ImageMagick still broken (using with /usr/bin/convert) [duplicate]

Despite trying all the fixes on this board and elsewhere, I STILL get the same break running $ /usr/bin/convert D1.JPG P1.pdf namely: unable to open image `P1.pdf': No such file or directory @ ...
0
votes
0answers
129 views

convert: Memory allocation failed

'''PYTHON3 bash = "width=`identify -ping -format '%w' {}` ".format('design_adjusted.png') bash += "height=`identify -ping -format '%h' {}` ".format('design_adjusted.png') ...
6
votes
2answers
3k views

Problems with compiling ImageMagick with heic

I had similar problems to the original poster of How to install delegate libraries for Image Magick 7.0.7 No Delegates after building 7.0.8-37. I installed all the 240mb odd libraries and the 2nd ...
1
vote
1answer
85 views

Locking script skips some commands

I'm using i3wm with XFCE as my desktop environment. I've disable the default XFCE lockscreen (light-locker, I believe) in favor of my own locking script which uses i3lock-color, and I'm using xss-lock ...
9
votes
2answers
13k views

imagemagick - convert not allowed [duplicate]

I have multiple *.jpeg pictures I like to merge into a single *.pdf file like so: convert Blatt1.jpg Blatt2.jpg Blatt3.jpg Blatt4.jpg out.pdf I am prompted with the following exception: convert: ...
1
vote
0answers
730 views

Installing imagemagick on Ubuntu: Unmet Dependencies

On Ubuntu 16.04 I am using: $ sudo apt-get install imagemagick to install imagemagick. But however I get the following message and imagemagick is not getting installed: Reading package lists... ...
1
vote
0answers
55 views

ImageMagick (display Q16) as selection option to alter image gone in 18.04

In Ubuntu 16.04 I was able to select ImageMagick (display Q16) as option when I right click on an image to manipulate the image... in a fresh 18.04 its gone. How can I get it back as select option and ...
0
votes
1answer
7k views

Php 7.3 extension imagick and gmagick on Ubuntu 18.04

How can i install php extension imagick and gmagick on ubuntu 18.04 LTS, i tried imagick using : sudo apt-get -y install gcc make autoconf libc-dev pkg-config sudo apt-get -y install libmagickwand-...
1
vote
1answer
287 views

Convert single page from PDF to JPEG and getting error: `no matches found: Binder3.pdf[12]`

I want to convert single page from 333 PDF pages file. I have tried with this command: convert Binder3.pdf[12] image.jpg, but for some reason I am getting this error: zsh: no matches found: ...
1
vote
1answer
842 views

“import: unable to read X window image: Resource temporarily unavailable”

On Lubuntu 18.04, I am trying to take a screenshot of the current focused window. I am using import from Imagick following https://stackoverflow.com/a/32165476. It fails in a tab of lxterminal $ ...
1
vote
1answer
573 views

identify: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory

On our Solano build image ubuntu14-chrome64 we install imagemagick in the pre_setup hook with the following command: sudo apt-get update && sudo apt-get -y install imagemagick libmagickwand-...
2
votes
0answers
194 views

Trying to vertically append images with ImageMagick in terminal

Typing this: convert -append IMG1.jpg IMG2.jpg IMG3.jpg IMG4.jpg IMG5.jpg out.jpg I get this error: convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/556. ...
1
vote
1answer
1k views

Removing the alpha channel from all the jpg images in a folder

How can I remove the alpha channel from jpg images automatically? I am using a deep learning code based on PyTorch that requires 3 channels but my images have 4 channels. I saw this answer but I do ...
207
votes
5answers
71k views

Trouble with batch conversion of .png to .pdf using convert

convert /home/bill/TempScan/*.png myfile.pdf gives error message: convert-im6.q16: not authorized `myfile.pdf' @ error/constitute.c/WriteImage/1037. Any help would be appreciated!
2
votes
1answer
565 views

How do you remove ImageMagick without removing PlayOnLinux?

I am trying to delete ImageMagick, but each time I do, it also deletes PlayOnLinux. I just want to remove ImageMagick.
1
vote
1answer
537 views

How to resize a gif without deforming and remove the blank white region when it's cropped?

The below gif's dimensions are 600*800. Height is 800 pixels, so there's a lot of blank space at the bottom I want to remove. This was saved as old.gif: file old.gif old.gif: GIF image data, ...
0
votes
0answers
359 views

how to change units in an svg file via the commandline?

I am taking Gif images, and converting them to sprite sheets so that i can cut them out with my laser. I wrote a script that handles this, but when I convert the png to an SVG, the units always come ...
11
votes
1answer
22k views

dpkg: error processing package install-info

I tried installing imagemagick package by sudo apt-get install imagemagick I'm getting the following error now, how to fix it. $ sudo apt-get install imagemagick Reading package lists... Done ...
0
votes
1answer
390 views

How would I write a shell script to compress multiple images with imagemagick?

Currently im using this command in terminal to compress a single image with imagemagick: ./convert_with_logging photo.jpg -quality 50% photo2.jpg convert_with_logging is a script that contains: ...
0
votes
1answer
67 views

Is it possible to log the compressed size of the images compressed? (With imagemagick)

I want to get a log of each compressed image in order to see the saved size (because there are some image that after compression get bigger!) using just the terminal. Ex: convert photo.jpg -quality ...

1
2 3 4 5