Commit Graph

45081 Commits

Author SHA1 Message Date
04a10e2a54 Update Slovenian translation 2022-06-09 20:59:54 +00:00
7cf888de3e Update Swedish translation 2022-06-09 18:50:07 +00:00
b23ec8f4fc Updated Italian translation 2022-06-09 17:00:00 +02:00
0ee58e722a Update Ukrainian translation 2022-06-09 14:27:03 +00:00
e38661af31 Update Polish translation 2022-06-09 13:31:24 +02:00
fecb490402 Update POTFILES.in 2022-06-09 12:28:19 +02:00
286b5200d2 Update Swedish translation 2022-06-08 22:16:36 +00:00
c34a6c7d87 plug-ins: fix not converting 8 bps grayscale MINISWHITE TIFF
We only set tiff_mode for images with bps < 8, but we also use it for
8 bps grayscale images to detect if MINISWHITE needs to be converted.

So, let's always set tiff_mode for PALETTE, MINISBLACK and MINISWHITE.

(cherry picked from commit 2e4b9bcba7)
2022-06-08 14:34:36 -04:00
e4ae40c1d1 Update Catalan translation 2022-06-08 19:56:39 +02:00
b061fac229 plug-ins: fix #1790 Artifacts when opening tif images ...
generated by matlabs blocproc function

Based on the suggested solution by Massimo, we should not compute the
remaining pixels per line but only at the end of the whole block, be it
tile or scanline.

I have not been able to find bw or palette examples that use load_separate
instead of load_contiguous, so that case is not tested. But, it also
doesn't make much sense to have planar when you have just one plane.

(cherry picked from commit 94de89febf)
2022-06-08 13:29:04 -04:00
95f0822fc3 plug-ins: fix #6766 TIFF B/W image opened as grayscale and not index map
In a previous commit 1, 2 and 4-bit B/W images were converted to grayscale.
However, it seems that there is more of a use case for these images to be
handled as indexed, even though technically they can be considered
grayscale.
Also, the only way to export these images again in the same format, is to
have them as indexed.

So, let's change this back, so that these kind of images will be opened
as indexed. With a reminder that in the future we could add an option
at loading time where the user can choose whether they prefer it to be
loaded as indexed or grayscale.

We use grayscale mappings, that we moved in the previous commit, to
add a palette to these grayscale images.

(cherry picked from commit 3e6237030c)
2022-06-08 13:28:37 -04:00
ddc75a5617 plug-ins: move static variables for grayscale mapping to the top
In preparation of using some of them earlier, we move the variables
used for grayscale mapping of 1, 2 and 4-bit per pixel images to the
top of file-tiff-load.

(cherry picked from commit 11ef2e4432)

# Conflicts:
#	plug-ins/file-tiff/file-tiff-load.c
2022-06-08 13:28:25 -04:00
9f17513c85 Update Finnish translation 2022-06-08 17:09:50 +00:00
5d34a88fc0 Update Finnish translation 2022-06-08 16:53:58 +00:00
bb747359ad Update Finnish translation 2022-06-08 16:46:01 +00:00
55fd1ead15 Update Finnish translation 2022-06-08 16:42:44 +00:00
912b0d479e Updated Italian translation 2022-06-08 14:47:10 +02:00
d198586af4 Update Portuguese translation 2022-06-08 10:49:36 +00:00
35fded975b Update Ukrainian translation 2022-06-08 05:50:43 +00:00
4fbc497c28 desktop: adding a <release> tag for GIMP 2.10.32. 2022-06-08 00:34:54 +02:00
07f6b8a007 NEWS: update. 2022-06-08 00:05:41 +02:00
42977f1c78 build: fix Windows installer language lists.
Georgian translation was added today and Galician in March.
2022-06-07 23:58:31 +02:00
654571a50e build: add an option in the Windows installer to disable update check.
This will allow to use the official Windows installer directly in the
Windows Store, as per the new proposed workflow by Microsoft.

Nevertheless our GIMP for Windows has a built-in update check which
would check if a new version exist and warn people (advising them to go
on the website and download the new installer to update). We obviously
don't want this on the Windows Store which has its own update channel.
It would be confusing.

Therefore I added a feature to disable the built-in update check (not
even showing in Preferences) by tweaking a single package variable. The
installer now comes with new option /DISABLECHECKUPDATE=true which will
add said variable.

(cherry picked from commit 10145bb938)
2022-06-07 23:36:53 +02:00
32ffd69faa Update Slovenian translation 2022-06-07 14:40:08 +00:00
85128072af Update Portuguese translation 2022-06-07 13:46:40 +00:00
915e1bfc27 Add Georgian translation 2022-06-07 03:59:18 +00:00
be6631d607 Add Georgian translation 2022-06-07 03:54:49 +00:00
162c84e25e Add Georgian translation 2022-06-07 03:51:06 +00:00
34502e3829 libgimp: fix #1632 GIMP should not write to IPTC tag DateCreated
GIMP was saving the last changed/saved date to IPTC tag DateCreated,
which should only be used for the original creating date of the image
and thus should not be changed by GIMP.

After discussion in the cited issue, there is no tag in IPTC that we can
use, so we remove saving modified date from the IPTC metadata.

Instead we add two XMP tags, one for modified date and the other for the
date that metadata was changed. Since we do both when exporting, both are
saved with the same date/time in ISO 8601 format.

This also fixes another issue where we were not storing the timezone offset
for Xmp.tiff.DateTime. Since this has the same format as the other
XMP tags, we fix this together with this issue.
2022-06-06 21:34:34 -04:00
0634bf3da9 plug-ins: fix #1106 Add CMYK/A loading for TIFFs
Adds support for loading 8 and 16 bit CMYK/A TIFF files with
attached color profiles.
2022-06-06 10:08:04 +00:00
faee5af33a Update Ukrainian translation 2022-06-06 09:03:33 +00:00
20b218e5a2 app: allow to disable the new version check altogether through a key…
… in the gimp-release file.

This will be useful to disable the update check for the Windows Store
even though we use the same build as the installer. All it will take
will be to append the line `check-update=false` to the file
`share/gimp/2.10/gimp-release` and it will behave as though the update
check is disabled (even though it is actually built-in).

(cherry picked from commit 9ef10c8764)

Conflicts fixed:
	app/dialogs/preferences-dialog.c
2022-06-06 01:11:29 +02:00
7449594336 app: check for invalid offsets when loading XCF files
More safety checks for detecting broken xcf files, also based on examining
issue #8230.

After reading an offset where layer, channel, etc. data is stored, we
add a check to make sure that offset is not before where we read the
offset value. Because the data is always written after the offset that
points to it.

(cherry picked from commit a842869247)
2022-06-05 18:55:26 -04:00
e7d4b580e5 app: check max dimensions when loading xcf files
Improvements in loading broken xcf files, based on examining issue #8230.
Besides checking for a minimum width and height, GIMP also has a maximum
size we can and should check.

In the case of the image itself, we change invalid dimensions to a size of
1 in hope that the individual layers etc will have the correct size.
For layer, we will also try to go on, but for channel and layer mask, we
will give up.

(cherry picked from commit 24c962b95e)
2022-06-05 18:55:16 -04:00
6ab90ecbbd app: fix #8230 crash in gimp_layer_invalidate_boundary when channel is NULL
gimp_channel_is_empty returns FALSE if channel is NULL. This causes
gimp_layer_invalidate_boundary to crash if the mask channel is NULL.

With a NULL channel gimp_channel_is_empty should return TRUE, just like
the similar gimp_image_is_empty does, because returning FALSE here
suggests we have a non empty channel.

(cherry picked from commit 22af0bcfe6)
2022-06-05 18:54:20 -04:00
5f4eea011b Update Swedish translation 2022-06-05 22:11:22 +00:00
072bb68039 Update Swedish translation 2022-06-05 20:00:22 +00:00
3a22719e68 plug-ins: fix #4492 Add export options
Adds a new option to flip the image on export. This allows for
direct imports into certain DirectX engines without altering the
project file. It also adds a new option to save all visible layers on
export, again to avoid altering the user's project file.
2022-06-05 18:19:59 +00:00
8ac561458f plug-ins: Issue #6753 Add toggle for metadata
Backports option from master to toggle whether IPTC and thumbnails
are saved on export. Note that in webp format, IPTC data is saved
via XMP, so if XMP is not saved, IPTC option is deactivated.
2022-06-05 17:22:51 +00:00
90f5ce7863 NEWS: update. 2022-06-05 13:52:21 +02:00
300905ee50 Update Georgian translation 2022-06-05 06:07:00 +00:00
17fd249394 JPEG XL import support
JXL import is backported from GIMP 2.99
Added .jxl association for Windows installer
It was necessary to adjust plugin-defs.pl for HEIF plugin,
because necessary dependencies were missing there.
2022-05-31 18:23:50 +02:00
e0cd10092b Update German translation 2022-05-29 05:07:44 +00:00
d9c9ef7902 app: fix #6961 Scaled image bug
With large image sizes a 32-bit int is not enough for the intermediate
computations, which byte per pixel, width and height are.

So, just like the function below it does: gimp_gegl_pyramid_get_memsize,
we will cast these to gint64.

Thanks to Massimo Valentini for finding the cause.

(cherry picked from commit ba841a98da)
2022-05-28 12:17:30 -04:00
d0a6067fbb Update Catalan translation 2022-05-27 07:40:33 +02:00
919c3ffa91 Update Spanish translation 2022-05-25 12:25:29 +00:00
689b6cb9fd Update Turkish translation 2022-05-24 07:44:51 +00:00
1cd45a7c2e Update Turkish translation 2022-05-24 07:40:50 +00:00
25ce20c4bd Update Chinese (China) translation 2022-05-23 22:14:58 +00:00
4aeaedd3a4 Update Slovenian translation 2022-05-23 15:38:04 +00:00