263 points · by chmaynard · 2y ago · 197 comments
The wording here is confusing, because it makes it sound like CMYK/CIELAB will only be applied at the very end of the image transformation pipeline. That would really limit the usefulness of adding these extra color spaces, since doing the manipulation in a different color space than RGB is often the point.
But the linked blog post on GIMP.org[0] words it a little differently:
> What it means for color correctness in particular is that we will now do color conversion only when needed (last-second conversion) and therefore won’t lose information when it could have been avoided. For instance, say you color-pick color from an image: if we were to convert to an intermediate format, before using it on a second image (which may or may not be in another color format), we’d do 2 conversions. Which means more possibility of precision loss. The issue is even more flagrant if the input and output formats are the same (i.e. no conversion should happen at all). And this will be even more a problem when we will have core CMYK backend (we really want to avoid doing a round-trip to an intermediate format with CMYK, which doesn’t have bijective conversion with most other color models, even when working unbounded and ignoring precision issues).
That sounds more like the information of the original color space will be kept as well, and transformations will be applied only when necessary, to avoid lossy roundtrips. Which is not quite the same.
[0] https://www.gimp.org/news/2024/02/21/gimp-2-99-18-released/#...
The only colour space transformation that should happen when working with a CMYK image is when the image is displayed on screen. The CMYK data is interpreted with the attached colour profile (perhaps provided by the commercial printer I’m using) and then the colours are converted to RGB via my monitor’s profile and displayed on screen. None of these converted colours are ever saved in the file, and they need to be updated whenever any part of the image is altered (say using a dirty region -> repaint system).
Now if I do happen to open both a CMYK image and an RGB image and then try to copy and paste part of the RGB image into the CMYK one then a one-time conversion to CMYK needs to take place. Otherwise if I’m working only with CMYK images then no conversions should take place.
It sounds to me like the GIMP may have been written so that all of its operations are specialized to work with RGB pixels and so they cannot implement native editing on CMYK images without doing round trip conversions all over the place? If that’s the case then they need to buckle down and do the hard work of rewriting everything to be colour space independent.
I also want to note that Photoshop added CMYK support in version 2.0 which was released in 1991. This was before they even added layers! Photoshop was essentially designed for print almost from the very beginning. Having all the colour space stuff figured out before adding huge numbers of features was a major advantage. Trying to retrofit CMYK support into the GIMP seems like a bit of a nightmare.
Now all pixel data is stored in GeglColor objects, which contain the color model, space, and profile information in addition to pixel values. So you can just request, say, the 8bit CIE LAB or 16bit CMYK version of the pixel and retrieve it from the object.
I made a proof-of-concept CMYK mode for GIMP before this conversion was done - it would be even easier now. I hope to return to it and implement in GIMP proper in a near future release.
Good luck with the implementation of CMYK mode, I'm certain it will make GIMP a lot more attractive to many users!
(are CieLab and OKLab also being considered?)
To be fair, though, all industry professionals are forced to be Photoshop addicts. But Photoshop's UI is objectively awful; it's the 10,000 hours you spent in it that makes it seem sane. You could have learned Thai in 10,000 hours, too.
The real weaknesses in GIMP have been in its lack of some necessary functionality, especially some that is necessary for print. The great thing about being GPL is that when the stuff is eventually added, you own it forever.
I'd probably try and power through if there was even close to feature parity, but it's only just now catching up with where Photoshop was in 1994.
It's just Photoshop addicts needing the UI to be identical to
Photoshop because when they use GIMP their muscle memory is
broken.
Nah. Sometimes I just want to edit something without having to do the export song and dance.Not to say that there isn't more work to be done, but I think there's a lot of good work done by volunteers already.
Also who thought putting stuff like "Cancel" and "OK" into the title bar was a good idea?!
That's one of the things I dislike more in GTK3. It seems dictated by the false belief that everyone is running software on a tablet screen in which windows don't need to be dragged around and open always at full screen, so the more space is used for widgets and input/output the better.
Windows and Google fanboys ?
A titlebar is a titlebar. If you are not able to draw your "OK/Cancel" dialog box somewhere else, just don't do it.
As a longtime casual blender user(since the late 90's version 1.7 on irix) that was less a "complete ui change" than it was a "we released a press release saying we did a complete ui change" the biggest actual difference was to swap the mouse buttons.
See, blenders ui was always good, it was designed as a professional tool, that is, designed to be used for many hours a day. it had a very quick and smooth operating interface flow. However it did have a reputation, deserved, as having a bit of a learning cliff. when your primary design paradigm can be best described as having a 101 button mouse. there is a bit of learning involved. but two things changed, one, blenders ui flow started being copied in other 3d programs and became more mainstream and acceptable. and two, the blender team kept working backwards, adding slower, but more discoverable paths to the tools.
Now I am not a member of the dev team, actually not involved in the community in any way so I am probably wrong, but the way I see it, there was a sort of very sticky reputation blender had that it was "too hard", this was mentally blocking a lot of potential users, so the only solution was to loudly say "hey we redid the whole ui to make it a lot easier", coughs, adds dark mode. it is still just as "hard" as it always was, but because people think it is easier they will take the time to learn it.
https://alvinalexander.com/gimp/gimp-how-to-create-draw-circ...
Please gimp devs, fix the basics
Not to say that it's irrelevant just that at this point it feels like it kind of missed the boat in this space.
Still quite relevant, especially in some areas. Think about packaging and labeling, there's just not really a way around print in these areas.
Besides that, digital print is the future. Print also needs to become clever and data-driven, more personalized and tailored to the recipient, but that's hard work.
Example: Just last week I received a catalogue with the fall/winter collection of a larger clothing brand. I threw it away immediately. Lots of things in it that are not my size, or my style or whatnot. A personalized product would have helped. Pick articles similar to those I own (you got this data from my previous orders), only show articles that are available in XXL or larger (look at the sizes I kept and did not return) and that's it. "Hey Martin, these are _your_ pieces for the winter season, enjoy!" Maybe it's only 16 pages then instead of 50+ but it would have been a much better experience for me. Also cheaper to print and ship for the store but with a much higher value. But yeah, programmatic printing is hard(er) to do then order 100k catalogues from the cheapest shop you'll find.
Even last Dan Margulis' books are about Lab and not CMYK, like older ones.
And looks like no native Lab (or CMYK, for that matter) in 3.0: data is still sRGB, and converted before and after tools.
It is bad.
Lab has much more wide gamut that sRGB.
We also load palettes (ASE, ACO, etc) in CMYK, CIE Lab, etc. It's true we don't have a dedicated CMYK/LAB mode yet, but 3.0's color management work laid the foundation to implement this much easier in a future release.
Edit: To the FOSS hackers who are down voting. You can buy state of the art professional image editing and design software for less than a hundred dollars. Deliver work to one client and you've paid for all your tools. Why would a professional waste their time with GIMP, when they can use all those hours working for clients with good tools and get paid?
We're speaking about professionals now. If they need to, they will use devices without any personal data for their work.
And it's not like your average graphical designer can go through the trillions of lines of code in an open source environment to determine how secure it is. They're busy doing their job.
A tip for others that feel the same: if you've used Photoshop before and are used to its UI, try the free Photopea website. It's a Photoshop "clone" that works really well in web (I believe it's a solo dev doing it too). It's replaced Gimp for me lately.
Websites are not automatically free or opensource, they also require internet access and can sneakily copy the files you are working with.
If photopea is free today, it may cost money tomorrow.
Krita exists for Windows and macOS too nowadays.
You have made one of the most baffling logical errors that commonly crop up when people criticize browser-based apps.
Browser-based apps execute in a sandbox. They are more constrained in what they can do in comparison to a traditional program running on your machine. Any nefarious thing a browser-based app can do, a local program can do, too, and not just that, but they can do it in a way that's much harder to detect and/or counteract.
There are good reasons available if you want to criticize browser-based apps. This is not one of them.
likewise monitoring and detecting network access per application is easy. tracking down which browser tab is making which network connection is a lot harder.
Certainly a website is allowed to process files you upload to it and the javascript are allowed to XMLHttpRequest in that sandbox.
This is outside the control of the user. While had it been an app running locally, I could restrict network access or other resources.
Of course the web developer can chose to process the file client side only, but generally when you upload a file to a website, it gets uploaded and processed by their servers.
Surely you can verify this yourself while using the website, but I am confident that most users of a website wouldn't do that and be none the wiser how their data is being processed.
TLDR: I don't believe the average web user is capable of distinguishing a webapp that works in offline-only mode from a ordinary website.
It's a matter of habits. For me, Gimp is the primary image editing tool and all others feel alien.
When you open a non-Gimp file, for instance a PNG, and you want to update the source file, you need to "export" to PNG. And if you close the tab, Gimp warns you that your work isn't saved, because it hasn't been saved in its native xcf format. There is no way to know if the work has been saved to the original file. At least, that was the behavior at the time.
So I had opened a dozen of (versioned) PNG files, modified them, then overwritten the PNG files. On closing, Gimp warned me that none of the images was saved. I ignored the warning since I didn't want to track the changes in xcf files. It turned out one the files had not been "exported" to PNG.
Think of it like source code, and each exportable file type is like a compilation target.
You didn't lose data because of bad UI but because you are illiterate. You just said it, it warns you. If you can't understand what "none of the images was saved" means, there is no UI that can save you except autosave. But autosave is something you clearly don't want in a photo/image editor, even smartphone apps do not autosave photo edits.
Photoshop has autosave that works well, even for files with hundreds of layers, so it can be done. That being said, I can see that it's less useful when someone chooses not to save.
As for export, a single-layer file should be considered saved when one exports to lossless. A multi-layer file needs a different prompt, and I note Gimp has that now. It flags the file as "Exported to xxxxxx.png" in the Quit dialog.
I also use Photopea from time to time. Can recommend.
This is the kind of dismissive posts thrown by people who haven't used gimp since 1999 and keep repeating the same lies every gimp release.
I'm in my thirties now. Slow and steady wins the race.
Congrats to the GIMP team, can't imagine the catharsis they will experience when 3.0 officially drops.
Thanks for the catharsis word, I have to look it up for the meaning.
20 years or equivalent to 5 times Olympics games, is a very long time to develop and improve a software. It's now comparable to the real-time Linux kernel, another open-source software albeit it's a kernel not a user application [1].
Any other open-source software that has a comparable development time that I'm not aware of? But as the old adage says it is better to be a tortoise than a hare, as long you're winning the game.
[1] 20 years later, real-time Linux makes it to the kernel:
https://news.ycombinator.com/item?id=41584907
[2] The Tortoise and the Hare:
GNOME famously had that file picker thumbnail issue open for 18 years.
I remember Blender back then. The days of watching squares slowly render over 2-7 minutes each for some cool project I made with lighting.
Has much new been added to editing/functionality or just speed optimisations?
Emacs. Free and open source. User software. 40 (50) years in development. Mythical
Many other projects would have simply switched to a different versionning scheme and got rid of beta versions to simply iterate on releases like web browsers do nowadays.
Eventually I learned all the more advanced functions in Photoshop, specially the non destructive editing stuff, and couldn't really go back to Gimp. The muscle memory of using it eventually atrophied and nowadays I have a hard time using Gimp.
All that said, I don't do much 2D/3D work nowadays, so I've been using Krita for almost a decade and it feels like a decent PS alternative, with a more similar interface...
Not in software. I can't think of a single example of that. Slow doesn't win the race, it means that the dependencies will go out of date, and some of the work has to be repeated over and over to match the changing landscape.
I do like GIMP though, it's my default image editor.
Its great to see it improving, and adding big things like CMYK
So there needs to be someone testing Gimp 3.0 against the previous version to see of any behaviors are not the same and sometimes that can affect workflows greatly!
But yes, please test and let us know - we'll be happy to look at it and fix as we can!
And note that the software used wxWidgets, so most of the changes were encapsulated there. Only a very small part of GDK/GTK was used directly, with wnck already used as a helper layer (but the functionality in question broke there as well).
So even if GTK came from GIMP, if the later development in GTK was not made specifically for and by the GIMP project, the migration must have been a nightmare. Especially in a project that had so many other things to worry about, non-destructive editing alone.
And to repeat such a migration now again for GTK4 will not be very enticing.
If you aren't Gnome, GTK is not for you.
Not sure Gimp devs would be willing to switch to C++ for Qt though.
And here we are, having written articles about Gtkmm to The C/C++ Users Journal, I no longer care and run systems from Microsoft/Apple/Google instead.
> GTK 4 has been available for a few years now, and is on the project's radar, but the plan was always to finish the GTK 3 work first.
Which is ? GTK 6 ? GTK is a moving target (like a lot of libraries those days). /s
After so many years I keep going back to it for quick edits.
After so many years I keep going back to it for quick edits.
Interesting. I found that the UI changes, especially the export nonsense, made GIMP less useful and more of a colossal hassle for quick edits.Affinity V2 Universal Licence For macOS, Windows & iPadOS
This is a step backward. Access to the window manager menu becomes difficult as a result.
I don't think I ever access that menu from the titlebar. But that's mostly because the unity DE is where I built most of my muscle memory.
It's not open source though so ¯\_(ツ)_/¯
"They" are a handful of maintainers doing relatively thankless work. This is not a well-paid full-time job for them.
Take Øyvind Kolås, the maintainer and lead developer of babl/GEGL, which is the technology underlying GIMP 3.0. He's barely being paid for this work. Nowadays he has a patreon, which also is directly linked from the gimp.org website, encouraging you to directly support him[0][1]. Right now those patreon donations add up to about... $1300 a month. And the number used to be much lower when I first started donating.
A lot of people here complain that we cannot directly give money to, say, the development Firefox. With GIMP you can directly support its core individual maintainer, and almost nobody does.
If you cannot / will not give money, you can also send patches: in most opensource projects, help is welcome
If the name was changed to something with less of an ick factor, contributors would double. (For anyone who believes the acronym is coincidental, it's confirmed to be inspired by "The Gimp" from Pulp Fiction. https://web.archive.org/web/20201111191926/https://www.xach....)
No they wouldn't. Most users of free and open source software don't contribute anything, regardless of the name or critical nature of the software they use, much less enough for developers to take a full time income for their work. And most users of GIMP couldn't care less about the name either way.
The way to change projects is to write good code and work together with the other devs that made something you wanted to contribute to and then improve it together.