gimp/plug-ins/file-tiff
Michael Natterer e16c8a2352 Move the new "default_new_layer_mode" APIs to the image...
...in both the core and libgimp.

Images now know what the default mode for new layers is:

- NORMAL for empty images
- NORMAL for images with any non-legacy layer
- NORMAL_LEGAVY for images with only legacy layers

This changes behavior when layers are created from the UI, but *also*
when created by plug-ins (yes there is a compat issue here):

- Most (all?) single-layer file importers now create NORMAL layers
- Screenshot, Webpage etc also create NORMAL layers

Scripts that create images from scratch (logos etc) should not be
affected because they usually have NORMAL_LEGACY hardcoded.

3rd party plug-ins and scripts will also behave old-style unless they
get ported to gimp_image_get_default_new_layer_mode().
2017-08-21 20:18:00 +02:00
..
.gitignore plug-ins: merge the file-tiff-load and file-tiff-save plug-ins 2015-12-05 08:53:09 +01:00
Makefile.am plug-ins: Fix missing GEXIV2_LIBS for file-tiff 2015-12-29 10:12:36 -08:00
file-tiff-io.c plug-ins: add a new possible format for TIFF tag warning messages. 2016-07-23 18:35:16 +02:00
file-tiff-io.h plug-ins: pass GFiles around instead of filenames in file-tiff 2016-04-19 17:18:17 +01:00
file-tiff-load.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
file-tiff-load.h Revert "New GimpMetadata as subclass of GExiv2Metadata" 2017-01-03 19:36:22 +01:00
file-tiff-save.c Bug 770897 - Opening and overwriting a linear gamma tiff produces wrong colors 2016-11-08 18:41:12 +01:00
file-tiff-save.h plug-ins: pass GFiles around instead of filenames in file-tiff 2016-04-19 17:18:17 +01:00
file-tiff.c libgimpbase: make GimpMetadata its own type derived from GExiv2Metadata 2017-01-30 16:43:59 +01:00