Questions tagged [imagemagick]
ImageMagick is an open source image editing software suite for displaying, converting, and editing raster image files. It supports read/write for more than 100 image file formats.
325 questions
2 votes
1 answer
151 views
Keyboard commands for magick
With feh I can do something like feh --on-last-slide quit --action1 "echo %f >> ilist.txt" $(ls -1 clocal/*.jpg) to look at the pictures and then perform some operation, depending on ...
0 votes
1 answer
50 views
visualize "diff" of images using imagemagick without postprocessing effect
I'm comparing 2 images using imagemagic (compare a.png b.png -compose src diff.png): They don't look much different at all. Yet the diff image from imagemagick-compare is so hard to read: How can I ...
0 votes
2 answers
89 views
Does convert from imagemagick misinterpret the resolution- or density-related metadata of PNG?
Let's grab a DIN A4 paper sheet in PNG format from https://www.a4-size.com/download/335/?tmstv=1739899566 . After unpacking the obtained archive, we get a4-size-portrait-pixels-600dpi.png. Let's ...
1 vote
1 answer
146 views
Should we use convert or img2pdf for creating lossless multi-page PDF files out of gray PNM photocopies? And why?
Let's assume that you have 4 scanned pages, created by scanimage -resolution 1200 and postprocessed by GIMP: each page was rotated so that the text lines were horizontal, the bled-through text was ...
0 votes
1 answer
95 views
Error when installing ImageMagick with perlbrew
I am trying to install ImageMagick for perlbrew as an application needed a higher version of Perl than the one that came with my Ubuntu, and this application also needs to use ImageMagick. I am on ...
1 vote
1 answer
236 views
In ImageMagick, how to create a PDF file from an image with the best Flate compression ratio?
Assume you have a PNM or PNG image file, gray or color. With ImageMagick, you wish to generate a possibly small PDF file from it without losing information. So far I though it is simply convert ...
1 vote
1 answer
73 views
ImageMagick: How do I define a colour as the first in the indexed colour map when using -kmeans?
I need a specific colour to be the first in the colour map when using -kmeans to reduce the amount of colours in an image. It's required by Unreal Engine 1 textures when defining a mask colour. This ...
1 vote
3 answers
528 views
Bulk Resize Images of Different Aspect Ratio so that all have Same Width
I am trying to resize multiple images inside of a folder so that all images have the same width, keeping aspect ratio. The images are all different sizes and aspect ratios. I don't care about the ...