app: add a reason string for internal zlib compression in GIMP 2.10.
Even though chosen as a parameter to gimp_image_get_xcf_version() and
not a feature within the image itself, we also want to list this reason
in the compatibility list.
(cherry picked from commit 0fa2ef9118
)
This commit is contained in:
@ -2507,7 +2507,11 @@ gimp_image_get_xcf_version (GimpImage *image,
|
|||||||
|
|
||||||
/* need version 8 for zlib compression */
|
/* need version 8 for zlib compression */
|
||||||
if (zlib_compression)
|
if (zlib_compression)
|
||||||
|
{
|
||||||
|
ADD_REASON (g_strdup_printf (_("Internal zlib compression was "
|
||||||
|
"added in %s"), "GIMP 2.10"));
|
||||||
version = MAX (8, version);
|
version = MAX (8, version);
|
||||||
|
}
|
||||||
|
|
||||||
/* if version is 10 (lots of new layer modes), go to version 11 with
|
/* if version is 10 (lots of new layer modes), go to version 11 with
|
||||||
* 64 bit offsets right away
|
* 64 bit offsets right away
|
||||||
|
Reference in New Issue
Block a user