this post was submitted on 08 Oct 2024
133 points (97.8% liked)

Open Source

31256 readers
196 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Typically when I'm working with photos, I'm doing graphic design type work. I've been using GIMP for this. GIMP is meant for raster graphics editing.

You could also use Inkscape for vector graphics, or Krita for more digital painting type work. But I know all these tools are very powerful and overlap on some use cases.

Do you use any AI-type tools? I use a image upscaler called Upscayl. It works really well and works entirely locally.

Do you know of any tools that can remove backgrounds? This would help with help with the type of graphic design I do.

What other tools do you like to use as it pertains to images?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 month ago* (last edited 1 month ago) (1 children)

For painting from the command line, I use sed to replace data at given offsets

sed -i '1s|^.\{10\}.\{5\}|\0*****|' image.jpg

It requires decoding the jpeg in my head to get the said offsets, but the pragmatism is unbeatable.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)
[–] [email protected] 2 points 1 month ago

You do the decomposition in your head to get the raw image, replace pixels, and then recompose the jpeg, taking note of the diff. That diff is what you then swap into the original with sed.