r/imagemagick • • May 31 '15

Anyone interested in forking imagemagick and making the API non-autistic? For the 27th time in my life I had to remember that it DOESN'T OBEY USER INPUT. Adding a ! to a size is irrelevant. Yeah it works, yeah it's a shit API

0 Upvotes

First of all, fuck convert and mogrify, it's pointless, and convert doesn't warn on -path etc.

Second, fuck mogrify, if I say 512x512 I mean 512x512, you stupid cunt. Fuck ! and other shit.


r/imagemagick • • Jan 23 '24

ImageMagick Lossless Compression

1 Upvotes

How do I losslessly compress png files (as well as many other lossless formats like webp and jxl) to pdf files while maintaining the same DPI as the images, all without losing any quality?


r/imagemagick • • Apr 24 '25

Convert GIF in PNG ?

0 Upvotes

Hello

I search a command line :

to convert a GIF ( white and black ) in a PNG with white as transparent color et black as a normal black color.

the original GIF has no transparent color

thank if someone can help me.


r/imagemagick • • Oct 14 '23

Windows 11: No Decode Delegates

0 Upvotes

Hi. I am struggling here.

I've used Imagemagick inside Lightroom Classic to help with image exports. I recently upgraded my xRite color calibration software and it broke Imagemagick's decode deletages. I've removed xRite and fixed other issues, but Imagemagick is still broken. I've downloaded several versions of IM and uninstalled/reinstalled the Windows 11 package to no avail.

No matter how I access IM, using either Lightroom or the IMDisplay utility, I get the same message "no decode delegate for this image format 'JPEG'". I've tried multiple image formats all with the same issue.

When I run the "magick -list format", it doesn't list any files.

What can I do to get this updated and reinstalled?

I appreciate any advice or help!

Pat


r/imagemagick • • Oct 16 '23

Putting photo with blurred background

0 Upvotes

Hi, i dont know much about imagemagic, neither i know how to describe what i want to do, but here is what i want to achive. Is Imagequick even capable of doing that? Thanks in advance


r/imagemagick • • Oct 17 '14

Hi, I am using a plug-in with some design software, the plug-in says I need Imagemagick to work but I have no idea what it is or how it installs.

0 Upvotes

is it just an open source image editing piece of software?


r/imagemagick • • Feb 21 '24

identify not showing gps data after using exiftool

0 Upvotes

i have a png image i added gps data to using exiftool, and while exiftool and gwenview will show the coords, they don't show up using identify


r/imagemagick • • Dec 26 '19

How do I: change canvas size to square for many images *of various sizes*?

0 Upvotes

I have 30,000+ images, in various sizes, that I would love to have in a square format (for website and Instagram publication).

I've tried various options, like IrfanView and other utilities, but while they let you resize/canvas-change a batch of images, they will do it to a specific size, not adjust to the image's individual size.

In other words, if the image is 400x800, I need the output to be 800x800; if it's 2200x1900 (horizontal), I want the output 2200x2200. And so on. Like an InstaSquareSize but for Windows 10 and in bulk.

Finally I came across this program, and it's impressive... and a little overwhelming. So rather than waste time trying to figure it out, I thought I'd ask the experts 📷

Thanks in advance!


r/imagemagick • • Apr 04 '24

why imagemagick of termux creates 156gb files at usr/tmp

Thumbnail
gallery
0 Upvotes

when i try to resample an image with imagemagick it creates large temp files. this did not happen anytime before.


r/imagemagick • • Jan 08 '18

Imagemagick 7 Docker Image

0 Upvotes

Hello,

Some time ago, I was trying to find ready to go docker image for IM7 without luck. So, I created my own. I'm trying to keep it up to date.

You can use it through docker hub:

$ docker pull dpokidov/imagemagick

$ docker run -v /your/images:/imgs dpokidov/imagemagick /imgs/sample.png -resize 100x100 /imgs/resized-sample.png

Feedback and PRs are welcome


r/imagemagick • • Jan 06 '18

Changed a white background image that was 1264x1728 to 1600x900 with a gray background

Post image
0 Upvotes

r/imagemagick • • Jun 26 '23

Image Magick & PDF security

0 Upvotes

Longtime image magick user here, love it for scripting operations. Just starting to look at a new need here & am wondering if it's worth the time.

I want to create a PDF of an image for on-line sales. I understand it IS possible to *restrict* the number of times it can be printed. (probably easily defeated). My plan was to create the image in my scripts along with other images using image magick & if possible, implement this restriction.

A couple of quick search show that there are some security issues with creating PDF files with image magick anyway, so I'm guessing that implementing this printing restriction is probably not possible.

If I have to use another application (probably un-scripted) to set this feature, it's probably just best just to use that app to create the pdf file itself.

Can anyone offer any input on either using image magick for this or on the security issues?


r/imagemagick • • Feb 05 '26

7.1.2-13 can't render FreeType fonts on MacOS?

0 Upvotes

Anyone else having the same problem? I reverted back to 7.1.2-11 and it seems fine. I'm on MacOS 26.2.


r/imagemagick • • Feb 17 '18

Storyboard y Guión Prelanzamiento

Thumbnail
4232.cf
0 Upvotes

r/imagemagick • • Mar 08 '18

Primer versión de la escena 5 toma 5 gif - https://4232.cf

1 Upvotes

r/imagemagick • • Aug 22 '24

Enshittification of ImageMagick: magick -append NOT WORKING

2 Upvotes

What a nonsense. Supposedly to make life easier, gets even worst.

The following works:

convert -append *.jpg out.jpg

But, I'm told to use magick -append instead!

OK, then:

magick -append *.jpg out.jpg

# Or:
magick -append file_1.jpg file_2.jpg out.jpg

Result: NOT WORKING

So, what should I do? Using convert -append *.jpg out.jpg until it's no longer working in future ImageMagick versions, then accepting that I will no longer be able to append images because magick command no longer permits it?


r/imagemagick • • Jun 27 '22

I made this meme with ImageMagick!!!

Post image
2 Upvotes

r/imagemagick • • Mar 23 '23

A live-rendered youtube subscriber count

4 Upvotes

r/imagemagick • • Jun 02 '25

New to IM; want to make 500 numbered images for YT thumbnails

3 Upvotes

Hi all,

I recently finally ditched PS, wherein I used Variable Data Sets to accomplish this from Episode 001 to 500.

Based on search results, several threads in r/GIMP have stated IM can also do a form of this but I have 0 idea how to do it.

Can anyone please help?

Thanks in advance!


r/imagemagick • • Aug 30 '25

Script to batch apply alpha mask .pngs to correspondingly-named .pngs in the same directory?

Post image
3 Upvotes

Hello, how would I go about running this process with many pairs of images with matching filenames as in the example image?


r/imagemagick • • Jun 05 '25

Convert Thousands of TIFs in multiple folders

2 Upvotes

Hi,

working on linux

I have a folder structure such as

Parent folder > Sub Folders (8) > Child Folders (roughly 20 per Sub folder) > roughly 200 TIFS in each Child folder.

All the files are 1200DPI TIF's. I would like to convert all of these TIFS into JPEG 6's (50%) and keep the existing folder structure, pointing the output somewhere else.

Could someone please help?


r/imagemagick • • Mar 12 '26

Need help, and I think imagemagick can help. See body text below

Thumbnail
gallery
3 Upvotes

I am on windows 10. have some screenshots I took with nvidia overlay, and I guess because I'm running HDR, it saved the screenshots as .jxr files. If I open them with windows' "Photos" default app, they look perfect. If I "save as" within the photos app, they look blown out [SEE IMAGE 1]. However, I tried running the magick command magick mogrify -format png -colorspace RGB -sigmoidal-contrast 5x50% -depth 16 *.jxr to convert them all to PNGs (or JPGs, I tried that too), they look massively oversaturated [SEE IMAGE 2]. Can y'all help me out with the command? You may have to install jxrlib for magick to work on jxrs, I used conda install main::jxrlib


r/imagemagick • • Sep 06 '25

"Enlarge" horizontally pixelated pattern

2 Upvotes

To understand my question, here are some explanations :
- I have a lot of black and white .png, full of pixel patterns generated by a program of my own.
- each bitmap contains a random amount (but a large amount) of graphical "pixels" (each of them composed of multiple real pixels).
- for the need of a pixel perfect engraving of these patterns, I need to enlarge the graphical pixels horizontally by a specific value (0.12mm), but not vertically.

Actually I use some scripts of different Magick commands to
- invert the color channel (pixels in black on white, to pixels in white on black)
- flatten the image
- because it is a huge pixelated pattern, split it it into smaller parts (crop/repage/etc)
- rescale to a higher DPI (to 1000dpi)
- and finally convert to 1bit bitmap

But there is something I didn't find how to do is to slightly "enlarge" horizontally the "pixels" of my pixelated pattern by a specific value of 0.12mm.

I think the best way to do it is probably by working with the morphology of shape.
I already use the morphology in my first script as following to invert the color channel :

# where $input is a generated pixelated pattern in .png and $radius is actually 3
magick "$input" -morphology Dilate octagon:$radius dilated.png
magick composite -compose Dst_Out "$input" dilated.png -alpha Set "${basename}_ei.png"
rm -f dilated.png

(here are a sample and the result of the script for test. It is uploaded in file_io but if you need something else, just ask me)

https://limewire.com/d/8ZEdu#GmTgALYxvZ

To explain with image (these image are not the real pattern, they are just for explanation):


r/imagemagick • • Mar 12 '26

How can I combine ImageMagick format conversion with montage joining?

2 Upvotes

I have a set of four HDR image tiles and I need to convert them to SDR and then then join them together in two rows and two columns and save as a PNG.

I do this at the moment with ImageMagick in 5 steps

set options=-colorspace RGB -auto-level -sigmoidal-contrast 3,0.5 -gamma 2.2

magick tile0.hdr %options% tile0.png  
magick tile1.hdr %options% tile1.png  
magick tile2.hdr %options% tile2.png  
magick tile3.hdr %options% tile3.png

magick montage tile\*.png" -geometry +0+0 combined.png  

Is it possible to merge the first four commands together? Something like:

magick tile\*.hdr %options% tile\*.png  

I'm not quite clear on how the wild card stuff works for this

Is it possible to combine this with the conversion too? Something like:

magick montage tile\*.png -geometry +0+0 %options% combined.png

The documentation on the ImageMagick website lists a set of options that work with Montage and it doesn't include things like -auto-level so I'm not sure how to make it do a transformation and a montage at the same time or control the order (montage then transform or vice versa).