forked from GNOME/gimp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNEWS
More file actions
1741 lines (1613 loc) · 88.7 KB
/
Copy pathNEWS
File metadata and controls
1741 lines (1613 loc) · 88.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
------------------------------
GNU Image Manipulation Program
Development Branch
------------------------------
This is the unstable branch of GIMP.
Overview of Changes from GIMP 2.99.12 to GIMP 2.99.14
=====================================================
Core:
- The download button in About dialog when a new version is available
will now show the development download page when running unstable
branch code.
- The update check on macOS now uses native HTTPS-able API, so that we
don't have to wait for GIO to have HTTPS modules for macOS.
- The main process is now run as a GimpApp which is a new class derived from
GtkApplication. The main process of `gimp-console` on the other hand is a
`GimpConsoleApp` which is derived from GApplication. Both new classes share
a same GimpCoreApp interface. This is a main step for the GTK+3 port.
- Various improvements on awareness of multi-item selection across core
features. A notable fix is the preview when transforming multiple layers at
once (with various transform tools). Various actions are now multi-drawable
aware as well.
- New "Vectors Structure" in the XCF format: XCF files (format bumped to
version 18) can now store and load all the usual and common properties of
other items. In other words, it makes XCF now able to store locks, color
tags and several selected paths.
- XCF saving with RLE and zlib encoding are now multi-threaded and therefore
much faster in most cases.
- Pasting an image now creates a new layer by default (not a Floating Layer
anymore). The only 3 cases where we still have floating items are:
* when pasting into a layer mask;
* when doing quick copy/cut paste on-canvas with the Alt modifiers;
* when floating layers explicitly with the "Float" action.
- Copy-paste code was deeply reviewed and re-specified in the light of
multi-item selection; it's still a WIP:
* When pasting several drawables, we currently paste them over the top
selected layer (visually in Layers dockable).
* Pasted data position was rewritten, based on existing logic, but taking
into account the multiple selected items.
* Pasting a selected area from multiple layers still creates multiple
layers, not merged pixel contents as a single layer.
* New layers created when copying from a selection are consistently the
offset and dimensions of the bounding box of the dimension.
* When a layer and one of its group layer parent are selected, it is
equivalent to have only the child layer selected.
- 2 new actions were added: "Paste as Single Layer" and "Paste as Single Layer
in Place" under the "Paste as" submenu of Edit menu. These paste the copied
layers as a single merged layer, instead of as several layers (as "Paste"
and "Paste in Place" do).
Graphical User Interface:
- New "Gray" theme based on a 18.42% luminance middle-gray background, which
should be a good neutral environment for color work.
- The foreground/background editor in the toolbox will now take into account
the toolbox icon size and resize itself accordingly (live, as you change
theme). This allows to have really narrow toolbox when you use small icons.
- Theme-override icon size selection in Preferences > Themes: this allows to
override theme-set icon sizes, with a global concept of small, medium, large
and huge. The following widgets are so far modified: toolbox icons, fg/bg
editor in toolbox, fg/bg editor in Colors dockable, dockables tab icons,
bottom buttons (in the button box) of dockables, header eye and lock icons
above item trees, and eye and lock icon switches in item tree cells.
- Symmetry dockable contents is now shown, yet deactivated, when no images are
opened, improving discoverability.
- Reworked the "Convert to * Working Space?" dialog into a "Keep the Embedded
Working Space?" one. Keeping an image working space is now the recommended
and default action. "Convert" became an explicit action requiring to click
(neither mapped to Enter nor Escape keys).
- "Floating Selection" renamed to "Floating Layer" or "Floating Mask"
depending on the type of item it applies to.
- "Floating Masks" are now drawn above the layer mask in the Layers dockable,
making the fact that they would anchor to the below layer mask (not the
layer) much more obvious.
- "Paste into Selection" and "Paste into Selection in Place" were moved under
the "Paste as" submenu of Edit menu.
Tools:
- Text tool: new "Outlined" and "Outlined and filled" options, with various
sub-options to choose the outline style, color, pattern, width, cap and join
styles, miter limit, anti-aliasing and dash pattern.
- Align tool:
* now multi-item aware, it is much more usable than it used to be when we
had to click on canvas to select items.
* On-canvas clicks are now only needed to select guides (Alt or Alt-Shift
click and selected guide colors change) or for the reference object
(normal click).
* Also the reference object gets on-canvas handles and the name is written
in the dockable, making it obvious if you selected the right reference or
not.
* Moreover the selected reference will now loop when layers are stacked on
each other, which allow to select a bottom layer, even if there are layers
above it everywhere.
* New option "Use extents of layer contents" to Align tool: this is similar
to first run "Crop to Content" on every layer to align or distribute
(without actually cropping the layers).
* Fine-grained align/distribute button sensitivity to make it more obvious
when an action would not make any change anyway.
* New anchor point setting (pivot widget) to choose which part of the target
items will be aligned or distributed.
* Get rid of various broken distribution actions.
* Distribution actions don't move the 2 extreme (top/bottom or left/right
depending on distribution direction) targets, but distribute all other
targets within their range. It is more consistent with how it works in
other software.
* Adding 2 "Distribute with evenly (horizontal|vertical) gaps" actions,
which distribute by keeping a common gap between objects instead of
between anchor points.
* Offset settings have been removed.
- Transform tools are now auto-activated on selection (and when switching
images or item selection).
Plug-ins:
- PDF:
* Export code was ported to GimpProcedureDialog.
* New "root-layers-only" argument to "file-pdf-save", which comes
with a checkbox in the export dialog to allow exporting as pages
the root layers only. The main usage is to organize your pages'
contents in layer groups.
- AVIF:
* RGB AVIF compatibility with Safari on iOS 16.0: Some AVIF images are
rendered differently in Apple's implementation compared to implementations
of Google and Mozilla. See: https://github.com/AOMediaCodec/av1-avif/issues/195
This changes requires libheif 1.10.0 though the plug-in can still build
with older libheif.
- PSD:
* export of CMYK(A) files added, with 8 or 16-bit precision per channel,
using a CMYK soft-proof profile for conversion.
* Paths are now exported with PSD files.
- JPEG-XL:
* Metadata import/export now supported (requires libjxl 0.7.0).
- Python-Console:
* sys.stdout.flush() implemented as a no-op inside the console, to be able
to easily copy-paste code, or using libraries which flush the output.
- ICNS:
* Initial support for loading and exporting.
- TIFF:
* New toggle to optionally load reduced pages. We keep a heuristic to try
and guess whether these are thumbnails (single reduced image in the second
position), but it's only used to decide whether the option is checked by
default or not. It is now up to anyone to decide or not whether they want
to load these reduced images.
API:
- Changes in libgimp:
* Abstract method get_window() of GimpProgressVtable had its signature
changed. The window ID is now a guint64.
* New functions:
+ gimp_text_layer_set_markup()
+ gimp_image_get_selected_channels()
+ gimp_image_get_selected_vectors()
+ gimp_image_list_selected_channels()
+ gimp_image_list_selected_vectors()
+ gimp_image_set_selected_channels()
+ gimp_image_set_selected_vectors()
+ gimp_image_take_selected_channels()
+ gimp_image_take_selected_vectors()
+ gimp_image_list_selected_drawables()
* Updated functions:
+ gimp_vectors_stroke_translate() now uses offsets in double type.
* New classes:
+ GimpTextLayer: child class of GimpLayer.
- Changes in libgimpwidgets:
* Updated widgets:
+ GimpPickButton now has a specific implementation for Windows. In
particular it improves color picking with multi-monitor and scales
different than 100%.
Build:
- meson requirement bump to meson 0.56.0.
- Many fixes to the meson build scripts, making it closer to be our
official build for GIMP 3.0.
- The CI now generates a tarball containing the GIMP references,
generated by gi-docgen and g-ir-doc.
- Improved Clang 15.0.0 support.
- "win*-nightly" jobs were added back and are now more efficient with the
--output-dll-list option.
- babl requirement bumped to babl 0.1.98.
- GEGL requirement bumped to GEGL 0.4.40.
- GIMP macOS builds (gimp-macos-build repository) was moved to using MacPorts
in order to take advantage of a bigger community to maintain our
dependencies.
- GIMP now has an Apple Silicon build.
Overview of Changes from GIMP 2.99.10 to GIMP 2.99.12
=====================================================
Core:
- Added concept of "hidden item" to a GimpImage. This would allow to
process non attached items for internal processing more easily.
- Do not show a crosshair anymore when "Show brush outline" is
checked and "Show pointer for paint tools" is unchecked, if the
brush outline cannot be drawn (in which case a fallback 4-arcs
generic outline showing the size is displayed), for instance because
using a dynamic changing the size.
- When both "Show brush outline" and "Show pointer for paint tools"
are unchecked, show a minimal visual feedback of a few pixels only,
as inconspicuous as possible, instead of a crosshair.
- Move and reorganize pointer-related settings in Preferences from
"Image Windows" to "Input Devices" tabs.
- On macOS, delay opening new images dropped on the application icon
in the dock to after GIMP is fully initialized.
- Some code reorganization and factorization of image colormap and
palette handling.
- Language changes will trigger plug-in query() call at next GIMP
restart. This allows to have strings in query() and stored in GIMP
config being re-localized. This implies both explicit language
changes in Preferences or system language changes when GIMP is set
to follow system language.
- Keyboard grab removed from the canvas display, hence getting rid of
annoying grab permission warnings on Wayland.
- Preferences > Display > Transparency > Check style has now a new
option "Custom checks" allowing to select any RGB colors.
- Full migration from intltool to gettext only.
- The soft-proof profile, soft-proofing rendering intent and whether
black point compensation is used when soft-proofing are now image
data. These have also been moved to the Image menu (out of View).
These 3 simulation data are also stored in the XCF file now.
- Hacks on canvas rulers and statusbar added in GIMP 2.99.10 for macOS
triggering too big redraws were removed. This depends on patches
added to upcoming GTK+ 3.24.35.
- CMYK color picking and sample point now use babl and the space
specified by the soft-proof profile set on the image, if any.
- The "Create New Image" dialog now has settings for the simulation
profile, intent and black point compensation. This is also shown in
templates and the "Default Image" tab in Preferences, and has been
removed from the "Color Management" tab, because these are now first
and foremost image data.
- GimpColorFrame is now current image's simulation profile/intent/bpc
aware. In other words, CMYK shown by the color picker or in sample
point shows values in the correct simulation space (not in some
default CMYK space).
- A new default action to change the current brush size was mapped to
Alt + right button click.
- Some Preferences settings have been moved to a new Preferences >
Canvas Interaction tab.
- All on-canvas interactions (panning, canvas rotation, etc.) are now
customizable in Preferences > Canvas Interaction > Modifiers tab. It
allows to switch/change the modifiers used for an action, or even
just remove some modifiers mapping (when you never use an action,
e.g. some people say the canvas rotation is not useful to them).
- GtkAction-s can also be mapped to modifiers now through the same
settings.
- GIMP themes can now have a "gimp-dark.css" file which will be used
if the "Use dark theme variant if available" option was checked.
- The FG/BG editor area in the toolbox is now sized relatively to
toolbox icon size, allowing for it to be much bigger when using big
icons, or smaller when using small icons (which can e.g. be aligned
on a very narrow single column for people who appreciate this
organization).
- The Welcome dialog can now show "demo" bullet points, from scenarios
written within the Appstream metadata.
Tools:
- The "Fill by line art detection" mode of the Bucket Fill tool got
the following improvements:
* New "Stroke borders" option where you can select a paint tool
(except source tools) to stroke the fill mask before filling with
the color. The settings will be the ones as set on the
corresponding tool (except for the color).
* The options got reorganized in 3 sections (Line Art Detection,
Line Art Closure and Fill Borders) and some options were reworded.
This should hopefully make the now many options more
understandable.
- Full text layer's text size will now be changed when changing font
size in the text editor window, when no text is selected.
- Raise tool options before blinking specific settings widgets when
some tools fail to work because of various tool options settings
(e.g. selection tool cannot remove from an empty selection; warp
tool cannot stroke; move tool cannot move because of the types of
object to move isn't selected; and so on).
Graphical User Interface:
- New "Drag to Zoom" mode and speed settings in Preferences. Existing
drag-to-zoom behavior was linear depending only on pointer direction
(which makes it more or less time-based if we consider that pointer
events are regular). The new mode will take the actual distance
moved into account allowing to go faster or slower by dragging
further or not. The "speed" settings allows a finer zoom speed
control for both the old and new modes.
- Touchpad gesture rotation (2-finger pinch) on canvas now
implemented. Note that rotation or scaling by pinch are exclusive so
GIMP will detect the expected behavior through the initial movement
and will therefore lock on either rotation or scaling for the whole
duration of the pinch.
- Slight tweak of the "You will have to restart GIMP" popup: the list
now uses nicer "bullet point" characters and the nick (short
description) is shown rather than the internal property name.
- New soft-proof toggle in status bar to see the soft-proofing status
and enable/disable it. It is only active when a soft-proof profile
was set.
- GimpContainerTreeView (e.g. Layers/Channels/Vectors dockables) now
have zooming through ctrl+mouse wheel (for preview size).
- GimpContainerTreeView (e.g. Layers/Channels/Vectors dockables) now
have zooming with touchpad pinch (touchscreen pinch now kinda exists
but is not so usable in our tests, at least on Linux through
libinput) for preview size.
- Gradient editor now has zooming with touchpad pinch (touchscreen
pinch not so fancy either, at least on Linux through libinput,
similar to GimpContainerTreeView case).
- A new soft-proofing pop-over dialog appears when right-clicking the
new soft-proof toggle in the status bar. It allows to view or change
all soft-proofing related settings (whether they are associated to
the image, such as the profile, intent or black-point compensation;
or to the view, such as the out-of-gamut check) very easily.
- New "Default" theme containing a dark and light variant. As the name
implies, this theme is now made the default theme on new
installations.
- New "Compact" theme containing a dark and light variant.
Command Line Interface:
- Unless only one batch interpreter is available, there is no default
interpreter anymore (it used to be script-fu). Therefore if you set
`--batch` but not `--batch-interpreter`, GIMP will output an error
message and will list the available interpreters.
- GIMP will stop running the batch commands as soon as one command
fails (it won't try the following ones).
- A new `--quit` option allows you to quit GIMP immediately after
running the batch commands.
- If `--quit` is set and batch commands are run, the GIMP binary exit
code will propagate errors from any batch failure. Exit codes are
taken from common Linux error codes: 0 for success, 69 for service
unavailable (e.g. setting a non-existing interpreter name), 64 for
usage (e.g. not specifying any interpreter or calling errors), 70
for execution errors (bugs in the interpreter plug-in) and 130 for
canceling the call.
Plug-ins:
- BigTIFF: our TIFF plug-in now officially supports BigTIFF import and
export.
* Import was actually already working transparently if you had
a recent enough libtiff. Now the recent libtiff is enforced by
dependency requirements.
* Export support was added with a checkbox in the interactive dialog
and a new "bigtiff" argument in the "file-tiff-save" PDB
procedure.
* When an interactive export of ClassicTIFF fails for the explicit
reason of "Maximum TIFF file size exceeded", the export dialog is
raised again with a message proposing to try again as BigTIFF or
trying another compression algorithm.
This allows because discoverability and understandibility of the
issue, while not forcing BigTIFF export (since it might not be
supported everywhere).
- GIF: new option to specify a number of repeat for animated GIF
(rather than single run vs. infinite loop only).
- help-browser: rewritten to use GtkAction and GtkApplication, even
though it's now a deprecated plug-in (though it's a good example for
porting other plug-ins the same way).
- PNG:
* the format does not have any flag for linear RGB, but it can
simply include a linear profile (or a 1.0 gAMA chunk). Therefore
since we always attach the profile when importing (or transform
the gAMA chunk into a profile), we now always load PNG images as
non-linear backend.
* Add toggle to choose PNG bit depth behavior.
- python-fu-eval and plug-in-script-fu-eval ported to new
GimpBatchProcedure class.
- JPEG:
* CMYK export is now possible. It uses the "Soft-proofing"
profile set on the image.
* CMYK import ported to GEGL/babl conversion. The CMYK profile in
the JPEG image will be stored as soft-proof profile on the image.
- WebP:
* new option "Use Sharp YUV" available in non-lossless export.
It renders sharper edges at the cost of a slower export.
* On export, the "bad image dimensions" error message is now more
accurate and tells the max dimension possible for WebP images
(16383 as it's stored on 14 bits).
- DDS:
* 16-bit masks now supported.
* DDS images with single 16-bit channel support added.
* DDS images with 2 16-bit channels correctly converted to 16-bit
RGB images.
* More robust DDS loading.
- script-fu:
* Various updates to get the API back in shape.
* Porting doc updated.
* "script-fu-server" was now extracted into its own separate
plug-in so that it doesn't need to run permanently with the
script-fu extension (could be seen as security hazard too) and it
also makes each of these plug-ins more robust by being on their
own process each.
* A new `gimp-script-fu-interpreter-3.0` binary is installed
globally to be used to create Scheme plug-ins, similarly to other
plug-ins, in particular in the plug-ins/ directory, not the
scripts/ directory anymore. Moreover it makes the whole script-fu
infrastructure much more robust as script-fu individual scripts
won't crash the whole script-fu extension any longer (they only
crash themselves).
Note: this is not a GObject Introspected Scheme binding, just our
own binding based on script-fu interpreter. Script-fu plug-ins
still don't have access to the whole of libgimp.
* New function 'script-fu-register-filter' to declare a multi-layer
capable script.
* Many script-fu scripts were ported to newer API.
- FLI:
* Internal type usage improvements, mnemonics added, etc.
* 1-frame animation now loaded correctly (it's not really an
animation then, yet it should still open!).
* Better error handling.
* Layer names now include the delay in ms.
* More robust FLI/FLC loading, double-checking data rather than
assuming that the file writer properly followed the specs.
- Several plug-ins now follow the user-set checkboard color
preferences, when relevant.
- RAW data:
* Improved export dialog with better labels and ported to new dialog
generation API.
* Improved import dialog, ported to new dialog generation API, with
factorized code to more easily handle more cases.
* All the exportable formats can now be loaded back.
* "file-raw-load" and "file-raw-save" procedures API are now much
better with all relevant arguments.
* "file-hgt-load" doesn't show a dialog anymore when sample spacing
detection worked correctly since we already have all the necessary
information.
- WBMP: new plug-in to load WBPM image files. It is still limited
support and doesn't support all types of WBMP images.
- TIFF:
* 8 and 16-bit CMYK(A) TIFF files can be exported, using the
image soft-proof profile.
* Imported CMYK TIFF profiles are now set as soft-proof profile
on the image.
- SVG: on import, when parsing fails, GIMP will propose to disable
size parsing limitations, while explaining this has security
implications and should only be done on SVG files from trusted
sources.
- PSD:
* Import now uses babl conversion inconditionally, even for CMYK
images, using the soft-proof profile set on the image.
* Improved error logging during load.
* CMYK profile on a CMYK PSD file is now stored as soft-proof
profile in the image.
* Added support for extra layer mask: According to the specs the
extra mask (which they call real user supplied layer mask) is used
"when both a user mask and a vector mask are present".
We haven't seen an example that has the extra mask, so not sure
which of the masks would appear first.
For now assuming that the extra mask will be first. The advantage
of adding this here now, is that we won't try to add a mask
channel as a normal channel.
* Minimal support of duotone data: on import, a duotone image will
be imported as grayscale image with an alert and the color
information will be stored in a parasite; on export, a dialog will
propose you to re-include the duotone data if the image is still
grayscale. This allows for a roundtrip in GIMP without losing the
duotone information.
- ANI: new import/export support.
API:
- Changes in libgimpbase:
* gimp_checks_get_colors() added.
* gimp_checks_get_shades() removed (replaced by gimp_checks_get_colors())
- Changes in libgimpcolor:
* New functions:
+ gimp_color_managed_get_simulation_profile()
+ gimp_color_managed_simulation_profile_changed()
+ gimp_color_managed_get_simulation_bpc()
+ gimp_color_managed_get_simulation_intent()
+ gimp_color_managed_simulation_bpc_changed()
+ gimp_color_managed_simulation_intent_changed()
- Changes in libgimp:
* New functions:
+ gimp_image_metadata_save_filter()
+ gimp_check_custom_color1()
+ gimp_check_custom_color2()
+ gimp_procedure_dialog_get_int_radio()
+ gimp_procedure_dialog_get_file_chooser()
+ gimp_image_get_simulation_profile()
+ gimp_image_set_simulation_profile()
+ gimp_image_set_simulation_profile_from_file()
+ gimp_image_get_selected_drawables()
+ gimp_image_get_simulation_bpc()
+ gimp_image_get_simulation_intent()
+ gimp_image_set_simulation_bpc()
+ gimp_image_set_simulation_intent()
* Removed functions:
+ gimp_plug_in_set_translation_domain()
+ image_get_active_drawable()
+ image_get_active_layer()
+ image_set_active_layer()
+ image_get_active_channel()
+ image_set_active_channel()
+ image_get_active_vectors()
+ image_set_active_vectors()
* Updated functions:
+ gimp_procedure_dialog_get_widget() now supports
%G_TYPE_PARAM_FILE and %G_TYPE_PARAM_ENUM properties.
+ gimp_prop_file_chooser_button_new() now works with
G_PARAM_SPEC_OBJECT having a value_type == G_TYPE_FILE
(additionally to GIMP_PARAM_SPEC_CONFIG_PATH properties).
* Functions skipped by bindings:
+ gimp_get_images() (in favor of gimp_list_*() variant)
+ gimp_image_get_layers() (in favor of gimp_image_list_*() variant)
+ gimp_image_get_channels() (in favor of gimp_image_list_*() variant)
+ gimp_image_get_vectors() (in favor of gimp_image_list_*() variant)
+ gimp_image_get_selected_layers() (in favor of gimp_image_list_*()
variant)
+ gimp_item_get_children() (in favor of gimp_item_list_*() variant)
* New class:
+ GimpBatchProcedure: procedure usable as a batch interpreter on
command line.
* Protocol bumped to handle the check colors passed at call time on
the wire.
* Plug-ins are now expected to have their localization in a Gettext
catalog folder locale/ under their main directory, named the same
way as this directory (i.e. usually the plug-in name). If the
catalog is absent, a message will be outputted on stderr. To
override this behavior, a GimpPlugIn is encouraged to override the
new set_i18n() method. If it returns FALSE, localization is
disabled (or it may be implemented in a different way, for
instance with another system than Gettext); if it returns TRUE,
you can set a different subfolder and catalog name.
* The core does not localize menu items from plug-ins anymore. All
plug-ins are now expected to handle their localization within
their code. In particular gimp_procedure_set_menu_label() and
gimp_procedure_set_documentation() should now pass the localized
text. With gettext, it usually means passing arguments through
gettext() and not just marking them with N_().
- Changes in libgimpwidgets:
* Freedesktop portal implementation of GimpPickButton now checks the
version of the XDG portal since `PickColor()` API only got added
in version 2.
* New classes:
+ GimpIntRadioFrame
* New functions:
+ gimp_color_notebook_set_simulation()
+ gimp_color_selection_set_simulation()
+ gimp_color_selector_set_simulation()
* Removed functions:
+ gimp_prop_int_radio_box_new()
* Updated functions:
+ GimpColorNotebook, GimpColorSelection and GimpColorSelector are
now ported to babl code and are simulation space aware.
+ GimpPickButton will now use the X11 color picking API as a
default when GIMP is running on X11 (instead of trying the
portals first), because it has color space information of the
display (so we can convert back the color from display space to
image space); and also on some desktop, the portal looks
available while it's actually not implemented (hence picking
fails).
This fixes or improves the color picking in the Colors dockable,
in Change Foreground/Background Color dialogs, etc.
- Changes in PDB:
* gimp-plug-in-domain-register removed.
Modules:
- The CMYK color selector is now simulation space aware, i.e. that it
shows CMYK values in the soft-proof profile space if a soft-proof
profile has been set.
Translations:
- New Galician and Georgian translations for the installer.
Build:
- libtiff dependency's minimum required version bumped to 4.0.0.
- gexiv2 dependency's minimum required version bumped to 0.14.0.
- Our meson/Debian CI now runs `meson dist` too.
- gvfs is marked as an expected dependency for GIMP (as a GIO module)
on Linux, since it seems we wouldn't have HTTP support without. This
is only written in the INSTALL file though, no tests are run on
configure time.
- The distribution stage now has a new `dev-docs` job containing both
the C API reference (gi-docgen) and the Python and Javascript (gjs)
ones (g-ir-doc).
- The `pdbgen` (generation of PDB source files) build step is finally
ported to meson too, which is a major step to one day consider this
build system out of the "experimental" zone.
- Windows installer's gettext files (.po) will now also contain
extracted comments from the source to give more context to
translators.
- Flatpak manifest upgraded with new version constraints so that the
flatpak-external-data-checker does not warn wrongly on major update
when we don't want to or can't update immediately.
- meson is now recommended for Windows and macOS builds and our
official installer and DMG respectively are now built (still from
CI) with meson.
- Flatpak manifest improved with version constraints for dependencies
where we should not update just yet (hence don't want new version
notifications).
- appstream-util replaced by appstreamcli for AppStream file testing
(requires appstreamcli 0.15.3 or over).
- gi-docgen API documentation will now properly link to other API
namespaces thanks to a new urlmap file.
- Separate libgimp-scriptfu-3.0 library for a future where it will be
shared by several binaries.
- GEGL dependency's minimum required version bumped to 0.4.38.
- "flatpak" job now uses a gnome-runtime-images migrated to Quay.
- "win*-nightly" jobs removed.
- Improved meson infrastructure to support Windows installer languages
which don't have base language files provided by upstream InnoSetup.
We started using it for Kabyle (which was showing up as "English"
otherwise!).
- After various fixes and implementations of missing build features to
the meson scripts, we are going to start advising packagers (for all
platforms) to build GIMP 2.99.12 with meson as a trial by fire to
make it the new default build system.
- New "sources-meson" CI job to distribute a tarball built with the
meson scripts.
- INSTALL now targets meson build as a test recommendation. We'll see
if any issue arises from packagers!
- Improved support for homebrew build on macOS.
Documentation:
- Draft devel doc for scriptfu v3 script authors.
Overview of Changes from GIMP 2.99.8 to GIMP 2.99.10
====================================================
Core:
- Linked layers concept replaced by named sets of layers:
* One can now store your current selection of layers under any given
name and select it again later.
* You can also search for layers by their names with patterns
(as configured in Preferences, see next news item) and save this
pattern search if desired.
- Preferences > Interface now has an "Item search" with a dropdown
settings proposing the following values:
* Basic text search: this search does tokenization, case-folding and
UTF-8 normalization. Moreover ASCII alternates are compared, which
means that e.g. "e" would matched accented versions (such as "é"
or others).
* Glob pattern search: this is the GLib implementation of this
pattern syntax. It matches '*' (wildcard) and '?' (joker). GLib
docs notes also: "Note that in contrast to glob(), the '/'
character can be matched by the wildcards, there are no '[...]'
character ranges and '*' and '?' can not be escaped to include
them literally in a pattern."
* Regular expression search: Perl-compatible regular expressions as
implemented in GLib.
- New item visibility lock: forbidding to change the state of
visibility of a given item. This is useful when shift-clicking
massively items visibility, but you want to exclude some specific
items from the visibility switch.
- New internal API gimp_widget_blink_rect() to blink only specific
area of a widget, which may be useful for various notification-type
exchanges. This is used in particular to blink lock cells in
GimpItemTreeView in order to point attention to the reason why an
action is forbidden (e.g. when trying to paint on a layer with
pixels locked, a message would be shown on status bar and the "Lock
pixels" icon would blink).
- XCF version 16 with support of item sets.
- Wayland:
* Clean some popup code out of gtk_menu_popup() which is deprecated
and won't work anymore on Wayland (wrong positionning).
* Use GtkGestureDrag in ColorWheel module and ScrolledPreview widget
to avoid unwanted popups and make us future-proof for GTK4.
- macOS: various improvements for macOS support of the development
version. In particular the slowness issues have been solved and
various bugs have been fixed.
- The debug dialog only gets a backtrace of the main thread now,
because of some bugs in GDB locking GIMP when trying to get a full
backtrace for all threads.
- The line art data is now stored for a few additional minutes in the
user context after closing the bucket fill tool. This allows quick
switch between tools without forcing a recomputation of the line
art.
- Stroking a path with source tools (Clone, Heal…) is now possible
when the tool is active and a source was selected.
Technically it's more of a bug fix because the GUI existed as though
it was meant to work, but since the report has existed for more than
13 years and I'm not sure it has ever worked, it's worth writing it
here.
- Block the statusbar from needlessly triggering full canvas redraws
by not propagating its resize requests. This is quite a useful
optimization for macOS in particular (but any OS in general too).
- Alpha and position locks can now be set on layer groups. Alpha lock
on groups mostly works like pixel lock (except for the alpha channel
only). Position lock work both ways by forbidding moving child
layers but also parent layers.
- XCF version 17 with support of visibility locks, as well as ability
to set alpha or position locks on layer groups.
User Interface:
- Link icon removed from the Layers dockable.
- Lock icon its now made visible next to the "Eye" icon (visibility)
on each item row, where the Link icon was. It raises a popover to
switch all available locks (contents, position, visibility, alpha):
* This makes locks much more obvious rather than when they were at
the dockable header.
* This also works better with multiple selection of items (when one
selected item is locked and another is not, the lock button were
ending up in inconsistent state).
* This is clearer by showing or not icons (rather than always
showing several icons, yet with toggle design which is not even so
understandable depending on the theme used). If no locks are set,
nothing is shown; if only one lock is set, a specific icon is
shown; if several locks are set, a multi-lock icon is shown (and
one need to click to get the list of locks).
* Locks can now be set massively with shift and alt-click (see next
item) with the same logics as you can change visibility massively
on the eye button.
- Visibility (eye icon) and lock columns in the item dockables are
given an icon header to be more discoverable.
- Alt-click on eye and lock icons allows to massively switch
visibility/lock state but only within selected items (unlike
shift-click which switch within all items at same level).
- Channels and vectors are now multi-selectable (though actions may
have not been all updated yet to handle multiple items).
- On-hover indicators around inactive/unset eye/locked toggles in
Layer/Channels/Paths dialogs.
- GimpSpinScale made more compact.
- New "Welcome dialog" which appears only after a new installation or
an update, will show a few common links, and the release notes
(taken from the AppStream data, so they can even be localized).
- The new "Welcome dialog" comes with a new splash screen by Aryeom.
Tools:
- It is now possible to enable/disable dynamics in a single checkbox.
The dynamics "Dynamics Off" which used to be in the default list has
been removed as disabling dynamics is now equivalent and much faster
(it's also faster to get back to whatever dynamics you were using
before).
- A new action "context-dynamics-toggle" is available, allowing to
switch dynamics ON/OFF (see previous news item) with a shortcut.
- New option "Allow closing lines in selected layer" in the "Fill by
line art detection" mode of bucket fill tool. Basically this allows
to use the fill color (foreground or background color) as closure
color in the drawable to be filled. This is an additional step after
the line art computation to allow fast usage.
Plug-ins:
- PSD:
* new support for loading 16-bit per channel CMYK images.
* new support for files in LAB colorspace.
* new support for loading 32-bit per channel images (some code
existed yet may have never really worked).
* Add extra layer groups when loading PSD images with clipping
layers: PhotoShop handles clipping layers in a different way than
GIMP. The only way to have it look the same is by adding extra
layer groups. PSD layers that have clipping set, combined with the
first non clipping layer below it are grouped together in a new
layer group. Doing this results in the same image as the PSD
merged image unless there are other PSD elements in play that we
don't handle yet.
* PSD layers with clipping set need clip to backdrop as composite
mode: Certain PSD layers have a flag called clipping set to 1. We
were not handling this flag and had some reports about colors
bleeding where they were not supposed to. We are going to set
GIMP's layer composite_mode to GIMP_LAYER_COMPOSITE_CLIP_TO_BACKDROP,
which is the closest we can get to PhotoShop's clipping. With
this, the colors won't bleed anymore.
- JPEG XL:
* Bit depth now selectable in JXL export.
* Import in 8-bit and 16-bit integer precision now possible for
lossless images. (GIMP used to import all JXL images as 32-bit float
precision images).
* New very fast export settings: thunder and lightning (fastest).
* Compression slider is disabled for lossless.
- Screenshot:
* Remove KDE and GNOME screenshot portal in favor of Freedesktop
portal. Security restrictions make them more and more unsuable on
recent KDE and GNOME versions.
* Set the "interactive" option to TRUE for the Freedesktop API, so
that the screenshot options are presented immediately (instead of
taking a screenshot, then only proposing options to try again).
This is more consistent to how our non-D-Bus screenshot plug-in
used to work.
* Windows: cursor capture option now available.
- CUR: added load and export support for Microsoft Windows cursor
(.cur) files.
- HEIF: bit depth heuristic removed for the settings. The plug-in just
stores and set back the last used values as for other settings
instead of trying to be "clever".
- help-browser and webpage are now marked "unmaintained" and building
them is discouraged, except for developers. The reasons are: the
multiple problems for building, while it is not even available on
Windows anymore (and unsure if it will ever be solved anytime soon),
bringing features which nowadays most people have with browsers
installed by default on systems (allowing to read the manual and
take full webpage screenshots).
Build:
- Improved Coding Style document with commit message styling, git
usage, comment styling, natural language text rules, localization
and some section reorganization.
- GExiv2 dependency bumped to 0.12.2 (fixing bothersome warnings on
some unknown metadata domains).
- libjxl dependency bumped to 0.6.1.
- New meson option -Dcan-crosscompile-gir=true to force
GObject-Introspection generation even when cross-compiling (some
people manage to do it, e.g. with Yocto).
- Added .clang-format file and new CI pipeline to verify coding-style
issues in merge requests.
- New tool `flatpak-releases` to easily list and install specific
versions of our flatpak builds, which can be a great help when
debugging or trying to bisect with released binaries.
- Important refactoring of icon builds:
* Whether using meson or autotools, and whether installing vector
icons or raster ones (with --disable-vector-icons), the same lists
are always used and no icons are missing. The new custom tool
tools/generate-icon-makefiles.py makes sure the Makefile list is
in sync with the meson one.
The lists are committed in icons/icon-lists/ with a "usage
grouping" logics when possible.
* PNG versions for Color and Symbolic icon themes should not be
committed anymore. The Symbolic PNG version are generated with
GTK tool gtk-encode-symbolic-svg and the Color PNG version are
rendered with a new custom tool tools/colorsvg2png.c.
* New weekly CI to build with raster icons on meson and autotools
and making sure the build systems are well synced.
* Meson's -Dvec-icons option renamed to -Dvector-icons.
- meson dependency bumped to 0.53.0.
- We recommend fontconfig 2.13.95 or over on Windows where support for
user-installed fonts (feature appeared in Windows 1809) was
implemented. GIMP had its own workaround until now, which got
removed in this version.
- Optimization of the DLL search script for creating the Windows
installer, which made the "packaging-win*-native" jobs in particular
run from over 2 hours in some cases to about 10 minutes. So it's a
big gain for the creation wait for the Windows installer.
- GEGL minimum required version bumped to 0.4.36.
API:
- Vala bindings gimp-3.vapi and gimp-ui-3.vapi were renamed to
gimp-3.0.vapi and gimp-ui-3.0.vapi respectively in the autotools
build (now consistent with meson).
- Changes in libgimp:
* GimpStringArray type was removed in favor of GStrv. Various libgimp
API were updated to use GStrv, and relevant plug-in procedures with
GStrv arguments or return values were updated as well.
* New functions:
+ gimp_context_are_dynamics_enabled()
+ gimp_context_enable_dynamics().
+ gimp_item_get_lock_visibility()
+ gimp_item_set_lock_visibility()
+ gimp_pdb_run_procedure_config()
* Removed functions:
+ gimp_item_get_linked()
+ gimp_item_set_linked()
- Changes in libgimpui:
* New widgets:
+ GimpLabelColor (now used by default for GimpRGB properties in
GimpProcedureDialog)
+ GimpLabelEntry (now used by default for string properties in
GimpProcedureDialog)
+ GimpSpinScale (formerly a core-only widget, e.g. used by the
"Opacity" slider on the Layers dockable, moved to libgimpui to be
usable by plug-ins)
* New functions:
+ gimp_color_area_enable_drag()
+ gimp_event_triggers_context_menu(): alternative to
gdk_event_triggers_context_menu() with the additional ability of
using button release events as contextual menu triggering
(instead of press events), which might be prefered in some
cases. Other than this, it uses exactly the same conditions as
its GDK counterpart.
+ gimp_procedure_dialog_get_spin_scale()
+ gimp_prop_label_color_new().
+ gimp_prop_label_entry_new()
+ gimp_prop_spin_scale_new()
+ gimp_prop_widget_set_factor()
* Improved functions:
+ gimp_procedure_dialog_get_widget() can now generate widgets of
type GimpSpinScale (for int/double properties) and GimpLabelColor
or GimpColorButton (for GimpRGB properties).
+ gimp_procedure_dialog_get_color_widget() now only return
GimpLabelColor widgets (editable or not).
Documentation:
- API documentation is now built with `gi-docgen` instead of
`gtk-doc`. The syntax for in-comment documentation is slightly
changed.
- Important rework of the developer documentation has started in
devel-docs/.
Translations:
- 20 translations were updated: Basque, British English, Catalan,
Chinese (China), Danish, German, Greek, Hungarian, Italian, Kabyle,
Latvian, Lithuanian, Polish, Portuguese, Russian, Slovenian,
Spanish, Swedish, Ukrainian, Vietnamese.
Overview of Changes from GIMP 2.99.6 to GIMP 2.99.8
===================================================
Core:
- Selection display implementation now updated to more modern display
server logics when drawing to display buffer. This fixes selection
drawing in Wayland and macOS Big Sur.
- "Create a New Image" default action is "OK" so that hitting Enter in
text/number fields is equivalent to clicking OK.
- Paint tool core code can now receive multiple drawables as input
though it is disabled by default, unless a tool calls
gimp_paint_tool_enable_multi_paint() in its init() method. This is
only used in source tools so far.
- Clicking anywhere on toolbox empty space (dead areas between
buttons) or on Wilber's drop area, as well as on the toolbox buttons
themselves, actively focuses the canvas (similarly to the `Esc`
shortcut).
- Config folder migration for GIMP 3 with initial implementation.
- Action "view-rotate-reset" renamed to "view-reset" (resets both
flipping and rotate). New "view-rotate-reset" and "view-flip-reset"
for resetting rotation and flipping respectively.
- New GimpEarlyRc class replacing GimpLangRc for very early config
parsing (it used to be for language setting, now also for the
pointer input API choice on Windows).
- All g_memdup() ported to g_memdup2() thanks to GLib version bump.
- Various leaks and other bugs fixed, notably with several static
analyzer results
- Add metadata preference for saving thumbnail by default: saving a
thumbnail is closely related to the other metadata preferences,
but so far this was the only one that didn't have a preference for a
default user value. A new settings in the "Image Import & Export"
section of the Preferences allows to select whether thumbnail saving
should be enabled by default or not.
- Preferences now allows to select the input device API on Windows
(Wintab or Windows Ink), as Windows Pointer Input Stack (Windows
Ink) support was added recently in GTK3.
Tools:
- Clone, Heal and Perspective clone now work on multiple selected
layers. There are 2 new modes:
* When cloning while multiple drawables are being selected, each
drawable clones from itself to itself, i.e. every drawable is both
its source and target.
* When sourcing from multiple drawables then cloning into a single
drawable, the source is the composited image. This is similar to
"Sample Merged", except limited to a list of drawables.
User Interface:
- Layout of the Canvas Size dialog re-designed a bit more horizontally
after the template selector feature made it too high.
- Thumbnail icon feature was dropped: when images were opened, the
application icon used to be a composition of the active image and
the application icon (Wilber). This was confusing, hard to
distinguish and working on less and less platforms because of recent
OS and desktop rules or logics changes.
API:
- New gimp_display_present() function to present a specific display at
the top of the image display stack.
- New gimp_procedure_dialog_fill_expander() to create a GtkExpander in
procedure dialogs.
- All widgets within a same container in a GimpProcedureDialog are
added to their own GtkSizeGroup.
- New function gimp_export_thumbnail() to query the user settings (as
set in Preferences) on whether or not a file plug-in should export
the image thumbnail.
Plug-ins:
- PSD now supports bigger-than-4GiB files. File support was ported to
GIO API with 64-bit offsets, hence allowing loading correctly very
big files.
- PSD now supports loading up to 99 channels (specs say that 56 is the
max but some sample PSD files have more channels).
- PSB file format is now supported for loading.
- Scriptfu now handles GFile and GimpObjectArray types.
- 16-bit SGI images now supported (until now, they were loaded as
8-bit).
- file-webp ported to GimpSaveProcedureDialog.
- New JPEG XL plug-in (loading and exporting).
- Various cleaning replacing g_file_get_path() with g_file_peek_path()
Translations:
- New Vietnamese, Lithuanian and Portuguese translations for the
installer.
Build:
- Windows installer scripts updated to all supported languages.
- New "windows-installer-langs" unit test to detect discrepancies of
langs listed in build system, installer and gettext files.
- New CI jobs for Windows native builds with MSYS2.
- Less critical CI jobs (meson/clang build and cppcheck static