вrυnυѕ · @brunus
345 followers · 8452 posts · Server mamot.fr

Détecter des pixels noirs, ou de niveaux de gris juqu'à -50% du noir, dans une ligne de pixels, avec Image Magic

convert -colorspace rgb image.png -background white -flatten -crop WIDTHxLIGNE+0+0 -threshold 50% txt:- | grep "#000000" | cut -d "," -f1

Bon bha j'ai ce vient trick à recoder en Python parce qu'il parait que c'est trop "barbu/chevelu" dans un shell-scipt ... 😜

#imagemagic #trick #oneliner #cli #python #shellscript

Last updated 2 years ago

Patricio Gonzalez Vivo · @patricio
928 followers · 177 posts · Server merveilles.town

@Lutrinus right!? I'm reusing the functions from the deck (now part of lygia.xyz ). True fact, the PixelSpirtDeck.com is made from a python scrip that use , and to render and compose the front/back of the deck plates that then are send to the printer

#latex #imagemagic #glslViewer

Last updated 2 years ago

IT News · @itnewsbot
2310 followers · 240670 posts · Server schleuss.online

Taking (Good) Pictures of PCBs - Snapping pictures is not technically difficult with modern technology, but taking ... - hackaday.com/2022/12/01/taking

#pcb #python #camera #lighting #imagemagic #automation #photography #digitalcamerashacks

Last updated 2 years ago

GeekProjects News · @news
1 followers · 765 posts · Server geekprojects.com
The Glove of Bones · @boneglove
66 followers · 42 posts · Server mastodon.online

I’ve tinkered with several AI apps like Dall-E & Deep Dream, but the prevalence of Mid Journey and the incredible images it can produce was very tempting. Only an hour into the process but managed a couple of images that worked for what I want.

#imagemagic #ai #midjourney #thetruthisoutthere

Last updated 2 years ago

Arijit Basu · @sayanarijit
3 followers · 55 posts · Server fosstodon.org

How to take a screenshot, select an area by drawing a box, and scan the qr code in it, all from the ?

Combine with .

```
import png:- | qrscan -
```

github.com/sayanarijit/qrscan/

#terminal #imagemagic #qrscan

Last updated 2 years ago