DCoder 🇱🇹❤🇺🇦

Just received a funky PDF file that #ImageMagick does not like.
‘identify it.pdf’ thinks for three seconds and tells me it’s a 3000x1980px CMYK in .AI format.
‘identify -verbose it.pdf’ has been spinning without any output for 20 minutes, eating 100% of one CPU core.

Even if I could figure out what’s bricking it, I wonder what the hell I can do about it.

Death by Lambda

@AbramKedge @Goffi
I'm a bit surprised #gimp doesn't have a plugin for the, because essentially the code required is just looking for a predefined border (and maybe an expectation of how many bordered regions to find).

stackoverflow.com/questions/19

#imagemagick probably does the job though.

How to detect an image border programmatically?

I'm searching for a program which detects the border…

Stack Overflow
R.L. Dane :Debian: :OpenBSD: 🍵

Is there any way to share an image to a shell script from within Android, or even just copy the full path of a file with an Android?

The thing is I'm using Image Toolbox to perform my #LossyPNG conversions on the go, but I find that #imagemagick convert actually does a far better job at choosing colors than Image Toolbox does.

There just isn't a convenient way (that I've found so far) to grab the full path and filename of an image from the gallery and then share that with a shell script running in #Termux.

Image Toolbox | F-Droid - Free and Open Source Android App Repository

A powerful image editing app that allows you to crop,…

f-droid.org
Apr 20, 2025, 04:25 · · · 1 · 0
Richard Emling (DO9RE)

Hat schon mal jemand mit #imagemagick ein Bild von einem digitalen Display für #tesseract OCR aufbereitet? Wie sähe eine näherungsweise sauber arbeitende Zeile für #convert hinsichtlich Schärfung, Kontrastverbesserung und Graustufenkonversion aus? Retoot gerne gesehen.

🧊 freezr 🥶

JPEG 2000 (+25)

I am still wrapping my head around #jpeg2000...

It looks like #Gimp 3 removed the exporting support for it...

I can still use #imagemagick to trigger the conversion from any source to jpeg2000 to PDF.

But fewer steps are better...

dewomser

#Linux #Bash

4 JPGs zu einem zusammenfassen,
Rand rundrum dran machen und beschriften. Es ist mal wieder ein 1-Liner für #Bash und #Imagemagick

montage -strokewidth 3 -stroke black -border 2 -fill white -pointsize 40 -gravity south \( 1.jpg -annotate 0 ARD \) \( 2.jpg -annotate 0 ZDF \) \( 3.jpg -annotate 0 3SAT \) \( 4.jpg -annotate 0 ARTE \) -tile 2x2 -mode Concatenate fourpic.jpg

hellocatfood

last one of these for now. Can you tell I like cats? #imagemagick #creativecoding

hellocatfood

Maybe I should just make turning GifCities gifs into Minesweeper maps my "thing". Would be a lot less expensive than eurorack that's for sure. #creativecoding #imagemagick #ffmpeg

Mar 20, 2025, 17:18 · · · 0 · 0
hellocatfood

I used my newfound skills to update a bash script I wrote 13 years ago to make animations like this.

#ffmpeg #imagemagick #generativeart #animation

hellocatfood

I just came across this question I asked 13 years ago about pixelating images using the command line

graphicdesign.stackexchange.co

That method of downscaling then upscaling to produce pixelation was acceptable at the time but the problem is that you couldn't easily specify the size of the "big pixels"

Searching again in 2025 and it looks like ffmpeg has had a pixelation filter since 2022 and can be used like this:

ffmpeg -i input.mp4 -vf pixelize=40:40 output.mp4

So now I'm using ffmpeg, a video editor, to pixelate images.

#ffmpeg #imagemagick

How can I pixelate an image via the command line on Linux

Is there a command-line utility for Linux that can…

Graphic Design Stack Exchange
Aliaksandr, the last Dzik

It's so funny to see how

find . -name "*.jpg" -exec mogrify -format png {} \;

"unchungifies" 10MB of 100% Quality "lossy" JPEG into 50MB of 100% Quality "lossless" PNG...

Aint it supposed to be the other way around?!
#linux #imagemagick