News for hackers. Stuff that matters.
Re:Gimp is 25 years old today by agumonkey on Sunday November 22, 2020 @12:36AM (#25175210)
It's funny because GIMP is one of the tools I hate the most. It's really hard to describe how quickly I want to say no to just about everything that it does. I'm quite open[0] but I'd rather write perl script with imagemagik than use gimp.

[0] i can love both emacs and vi and even ed, I've used just about any 2d/3d program ever

Re:Gimp is 25 years old today by BuildTheRobots on Sunday November 22, 2020 @03:01AM (#25175818)
> It's funny because GIMP is one of the tools I hate the most.

You've obviously not tried to replace Adobe Illustrator with Inkscape ;)

(edit: a flippant comment backed by much frustration. If you're creating SVGs for laser cutting then the inability to nicely use mm as a unit of measure is infuriating.)

Re:Gimp is 25 years old today by mkl on Sunday November 22, 2020 @04:02AM (#25176044)
I use purely mm for most Inkscape projects (not for laser cutting, but some are for my plotter). Set the units in Document Properties and it just works, IME.
Re:Gimp is 25 years old today by riidom on Sunday November 22, 2020 @10:02AM (#25177937)
Yes. I get when people criticize Inkscape for it's UI (personally I find it annoying to re-arrange the side windows), but feature-wise there is nothing left to be desired (except maybe CMYK not sure about that). But whenever I need something to be printed, it goes into Scribus anyway, and there we have CMYK.
Re:Gimp is 25 years old today by Shish2k on Sunday November 22, 2020 @12:07PM (#25179017)
> there is nothing left to be desired

Pretty much every time I’m working with vectors, my shapes have borders, and I want to control whether the borders are inside, on top of, or outside the shape (similar to eg box-sizing in CSS terms). As far as I can tell, inkscape still doesn’t support that :(

Re:Gimp is 25 years old today by riidom on Sunday November 22, 2020 @12:14PM (#25179062)
Good point, that seems indeed not to be implemented. I get the use case for inner borders, could probably be tricked via clipping. But yes, that's definitely another exception.
Re:Gimp is 25 years old today by jfengel on Monday November 23, 2020 @10:04AM (#25187416)
There is a major hole in its lack of support for animation.
Re:Gimp is 25 years old today by tripzilch on Monday November 23, 2020 @05:01AM (#25185170)
> If you're creating SVGs for laser cutting then the inability to nicely use mm as a unit of measure is infuriating.

I do this all the time (for my mechanical plotter).

InkScape is an incredibly useful tool that can do some things that Illustrator chokes on (doesn't always load standards compliant SVG correctly and/or does weird proprietary shit) -- and vice versa, but I think there could actually be reason to install and use both.

Re:Gimp is 25 years old today by nnq on Sunday November 22, 2020 @01:51AM (#25175531)
The same here :) I love to work with other software considered user hostile by others, but Gimp... WTF. It's like they took the most horrible stuff from Photohop s horrible UI and mixed it with more horrible ideas... But PS manages to be horrible and still productively usable and had all the required features, like non destructive editing smart objects etc.

Something like Affinity Photo is the other end of the spectrum, with nice and intuitive UI for almost everything... Though it stills falls short of old Corel Photopaint's nice and intuitive UIs

Re:Gimp is 25 years old today by agumonkey on Sunday November 22, 2020 @07:00PM (#25182245)
I think GIMP kinda suffers the same fate as intel. I remember a lot of efforts went into creating the underlying core for image processing (GEGL ?) but then nothing happened. It's stuck at the blender 2.7 way of life.

They may try to revamp ergonomics and performance. But that's their choice.

Re:Gimp is 25 years old today by tartoran on Sunday November 22, 2020 @02:35AM (#25175725)
Gimp has script fu / python / scheme. It is quite capable of automating and generating images. Gimp is the kind of software you may hate at first but then start to love it for how extensible friendly it is.
Re:Gimp is 25 years old today by ThePadawan on Sunday November 22, 2020 @03:18AM (#25175883)
I tried to automate a simple workflow (resize, reduce color to grayscale) using GIMP just last week. I would want to run this on ~100 files in a folder.

This takes a few lines of calls to imagemagick/gm or ~10 lines of python + Pillow.

Do you have any resources how to do this in GIMP?

After googling for a good while, I could not for the life of me figure out how to even get started with this.

I don't want to write an extension for GIMP - I want to use GIMP like I would an image manipulation library.

Re:Gimp is 25 years old today by mkl on Sunday November 22, 2020 @03:58AM (#25176031)
Why do you want to do it in GIMP? I like and use GIMP, but imagemagick sounds like the right tool for the job, and what I'd use there. For almost any batch processing, Python or bash-scripted imagemagick gets the job done. If you need some complex feature of a GIMP plugin, that's another story.
Re:Gimp is 25 years old today by ThePadawan on Sunday November 22, 2020 @04:09AM (#25176075)
I simply found that GIMP produced very good results when dithering to 4bit grayscale (I'm converting images to be displayed on an e-ink display).

I'm sure I could get any other lib to produce the same results, but only after an hour of tweaking. That is what I ended up doing after all, because learning how to automate GIMP was harder.

Re:Gimp is 25 years old today by LaputanMachine on Sunday November 22, 2020 @05:19AM (#25176342)
I also use a 4 bit e-ink display, and there are sometimes large areas of the same color where you can't see any details. After several hours of tweaking I managed to improve the quality, but it's still not perfect.

Do you have some tips / links that could help me improve the dithering even further?

Re:Gimp is 25 years old today by ThePadawan on Sunday November 22, 2020 @05:48AM (#25176474)
I've not investigated very deeply into it.

For my use case (a digital picture frame), I've simply rejected images that looked very bad after dithering, and that's very often

- (a) generally dark images,

- (b) very gradient-based images (banding appears) and

- (c) art with a color spectrum that's very narrow in lightness, but wide in value (i.e. most colors map to the same level of gray after converting to grayscale)

Besides using Floyd-Steinberg dithering, I have not tried anything fancy.

As I mentioned above, the exact quality of differing varies by a large amount depending on the tool. I would recommend comparing the quality of GIMP vs. other tools on a single example image.

Re:Gimp is 25 years old today by Phlogistique on Sunday November 22, 2020 @04:12AM (#25176092)
I did this very long ago. It's possible but the documentation was nearly non-existant, it took me a long time to figure it out.
Re:Gimp is 25 years old today by prokoudine on Sunday November 22, 2020 @03:37AM (#25175951)
BIMP plugin for GIMP
Re:Gimp is 25 years old today by agumonkey on Sunday November 22, 2020 @06:58PM (#25182234)
Sure, it's extensible but I was speaking on all the other fronts.