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?
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?
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
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 📷
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?
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?
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.
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
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)
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).