Skip to main content

Questions tagged [imagemagick]

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

-1 votes
1 answer
36 views

How to set up lossless settings for convert from Imagemagick ran on colored images with -compress JPEG2000/WebP for PDF/TIFF output?

Continuing Lossless or near lossless compression options for PDFs containing grayscale with JPEG2000? and Which compression modes of convert of imagemagick are lossless (with -quality 100)?, which ...
0 votes
1 answer
51 views

Which compression modes of convert of imagemagick are lossless (with -quality 100)?

On my Debian 12, $ convert -list compress B44A B44 BZip DXT1 DXT3 DXT5 Fax Group4 JBIG1 JBIG2 JPEG2000 JPEG LosslessJPEG Lossless LZMA LZW None Piz Pxr24 RLE RunlengthEncoded WebP ZipS Zip Zstd Which ...
1 vote
1 answer
38 views

How to layer photos on top of watermark with ImageMagick? [closed]

I am a photographer working on a project which in the end will result in some photos I'm going to post on social media. But in doing this I want to format some photos with a template I made to make ...
1 vote
2 answers
5k views

How do I install ImageMagick for MinGW on Windows 7?

Well... I have already installed MinGW32 (I don't know the version - installed in a folder named Git 2.4.4.2) on Windows 7, and I want to install ImageMagick to run some scripts like the follow: echo &...
0 votes
1 answer
41 views

File Size increases on basic pdf -> raster image -> pdf roundtrip with `pdfimages` + `magick`

Why do I not succeed into making this simple pdf → raster image → pdf round-trip file-size-stable? $ # Get original file (8KB, just extracted from my scanner). $ curl "https://nextcloud.mbb.cnrs....
1 vote
2 answers
503 views

Preserving transparent colors when converting svg to png

I have an SVG file that contains transparent colors like "#FF000080". When I convert the SVG to PNG using ImageMagick, the transparent colors are converted to black. (Any colors without an ...
4 votes
1 answer
1k views

Using imagemagick or gifsicle to output GIF with specific filesize?

I have been following this online guide to convert a small video clip into image frames, then combine them together into a single animated GIF. The problem I'm having is that each GIF tends to be ...
3 votes
1 answer
2k views

How to compress gif effectively to reduce size?

We use gifs for our blog extensively. We used to embed tenor nano gifs(90px height maintaining aspect ratio, used for GIF previews and shares on mobile) in it. Now we wanted to create our own gifs and ...
4 votes
1 answer
278 views

Replacing a color using -transparency regardless of existing pixel opacity, using ImageMagick

I have a colorful image that has alot of existing transparent background, but also a few blocks of hot pink rgb(255,0,255) color I want to additionally become transparent. I'm doing so like this: ...
1 vote
2 answers
2k views

How to convert Samsung's motion photos to still photos?

I've taken a bunch of photos on my Samsung Galaxy phone after inadvertently activating the "motion photo" mode, which captures a short video clip before and after the "click", ...
9 votes
2 answers
6k views

How can I convert animated gif to animated webp?

On ubunt, I can convert animated .gif files to .webp format using imagemagick's convert 1.gif 1.webp, but then the animation is lost in the destination .web. I'm wondering how to preserver the ...
3 votes
1 answer
7k views

Changing the DPI in a JPEG without re-encoding? with ImageMagick or something else

Sometimes I have image files which I want to contain a certain DPI setting. Note that I mean just the DPI value, i.e. just the value in the image's metadata. I don't want to resize the actual image. ...
0 votes
1 answer
442 views

PowerShell, ImageMagick, GhostScript to extract each page of a PDF as a separate image

I'd like to take a PDF and extract each page as an image. I've been able to do this with ImageMagick and GhostScript, but the results are incredibly bad quality. I've tried many different output ...
1 vote
1 answer
84 views

Can ImageMagick make my grayscale image brighter by "compressing" the black-to-white range to dark-gray-to-white?

I have a grayscale image with pixels ranging from black to white. I'd like to make it brighter by moving the "black floor" up, and scaling the other pixel intensities. I'd prefer linear ...
0 votes
1 answer
152 views

How to composite images with offsets and scaling into a single image?

I would like to use imagemagick to create a mosaic. I have a list of images along with their individual offsets and scales, for example: a.jpg, translate to 0,0 and scale to 100% b.jpg, translate to ...

15 30 50 per page
1
2 3 4 5
33