Gimp/app
Jacob Boerema a8339021f8 app: fix #14311 Incorrect loading of Photoshop pattern with alpha channel
We did not load the alpha channel when loading Photoshop patterns.
The Photoshop pattern format doesn't tell you whether a pattern has
an alpha channel. You can only find out by reading the color channels
first and then checking if there is enough room for another channel.
In addition to that there is also an 88-byte empty space before the
alpha channel.

To fix this, we now always add an alpha channel to the pattern and
then check if there is enough room. We separated the code inside the
channel reading loop into a separate function, which is now also
called if an alpha channel is detected. If none is detected, we
initialize that channel to 255 (fully opaque).

Besides this a few minor error checking improvements were made:
- Only show the unsupported color mode text once per pattern file.
- Only accept 8-bit color channels, other values will print a console
warning.
2025-06-24 13:12:38 -04:00
..
actions actions: Select next palette entry after deletion 2025-06-19 18:57:08 +00:00
config Add support for respecting the system's color scheme 2025-06-04 22:12:43 +00:00
core app: fix #14311 Incorrect loading of Photoshop pattern with alpha channel 2025-06-24 13:12:38 -04:00
dialogs app, pdb: allow rendering font previews with theme colors. 2025-06-20 00:11:08 +02:00
display app: clean out unused functions. 2025-06-20 00:11:08 +02:00
file app, pdb: move filter duplication to one place in 2025-05-28 17:28:01 +02:00
file-data app, libgimp*, plug-ins: move all GimpObjectArray procedure args to GimpCoreObjectArray. 2024-10-25 23:28:42 +02:00
gegl app: re-add "gegl:hstack" to blacklist. 2025-02-17 22:33:38 +01:00
gui app: small ordering cleanup. 2025-06-07 16:39:23 +02:00
menus app: fix #13288 crash when opening a recently closed dock 2025-04-04 19:29:04 +00:00
operations app: include mask_value as part of the target alpha value. 2025-06-20 23:24:10 +00:00
paint paint: Prevent crash on out-of-bounds smudge tool 2025-04-13 22:55:12 +00:00
pdb app, pdb: allow rendering font previews with theme colors. 2025-06-20 00:11:08 +02:00
plug-in plugin, macos: Fix #12711, #12898 2025-02-22 17:32:51 +00:00
propgui app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
tests app/tests: Drop dangling create_test_env.sh 2025-04-21 12:30:42 -03:00
text app, pdb: allow rendering font previews with theme colors. 2025-06-20 00:11:08 +02:00
tools tools: Don't alter merge filter status unexpectedly 2025-06-18 23:14:36 +00:00
vectors app, pdb: allow rendering font previews with theme colors. 2025-06-20 00:11:08 +02:00
widgets widgets: Confirm image is indexed before setting entry 2025-06-24 14:38:20 +00:00
xcf app: add accessors for GimpDrawableFilter::temporary and use them 2025-05-31 14:14:02 +02:00
about.h
app.c app: localize some strings now that we are out of string freeze. 2025-06-04 23:46:39 +02:00
app.h
errors.c Issue #12789: make sure gimp-debug-tool is correctly found on Windows. 2025-02-24 18:37:58 +01:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c
gimp-log.h
gimp-priorities.h
gimp-update.c app: allow GIMP_DEV_VERSIONS_JSON to be empty for disabling it. 2025-06-23 14:25:26 +02:00
gimp-update.h
gimp-version.c app: add gexiv2 and exiv2 versions to crash data 2024-09-23 18:24:48 +00:00
gimp-version.h
gimpconsoleapp.c app: fix some glib related deprecations 2023-06-16 00:13:02 -04:00
gimpconsoleapp.h
gimpcore.def Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00
gimpcoreapp.c
gimpcoreapp.h
git-version.h.in
language.c Issue #12722: force-query when system language change was not working with LANGUAGE. 2025-01-24 20:54:44 +01:00
language.h app: move "System Language" out of GIMP_L10N_LANGS_SIZE. 2024-08-15 20:57:02 +02:00
main.c Issue #13183: use the renamed desktop filename in Flatpak. 2025-06-12 02:31:36 +02:00
meson.build meson: fix install scripts not taking DESTDIR into account 2025-05-18 10:36:56 -03:00
sanity.c build, app: depend on babl-0.1.114 and GEGL 0.4.62 2025-05-08 12:30:10 +02:00
sanity.h
signals.c app: fix build warning. 2025-05-17 23:10:10 +02:00
signals.h
unique.c Eliminate warning: ‘gimp_unique_dbus_open’ defined but not used [-Wunused-function] 2023-06-25 18:01:45 +00:00
unique.h