Gimp/plug-ins/file-tiff/file-tiff.h
Jehan 492f61e4c1 Issue #12816: fix custom procedure config parasite.
It was broken in 2 ways:

- The parasite name was wrong, first because it used the old -save name
  instead of the new -export name, but also because the prefix was
  wrong. Since it is hard to automatize correctly having the correct
  name (if this changes again), I left a quite exhaustive comment for
  future people to easily retrieve where it is used.
- The format for the compression argument was wrong (it is now a
  GimpChoice arg, which is serialized as a string).
2025-10-24 02:24:53 +02:00

28 lines
683 B
C

/* tiff for GIMP
* -Peter Mattis
*/
#ifndef __FILE_TIFF_H__
#define __FILE_TIFF_H__
#define LOAD_PROC "file-tiff-load"
#define EXPORT_PROC "file-tiff-export"
typedef enum
{
GIMP_COMPRESSION_NONE,
GIMP_COMPRESSION_LZW,
GIMP_COMPRESSION_PACKBITS,
GIMP_COMPRESSION_ADOBE_DEFLATE,
GIMP_COMPRESSION_JPEG,
GIMP_COMPRESSION_CCITTFAX3,
GIMP_COMPRESSION_CCITTFAX4
} GimpCompression;
gint gimp_compression_to_tiff_compression (GimpCompression compression);
GimpCompression tiff_compression_to_gimp_compression (gint compression);
const gchar * gimp_compression_to_nick (GimpCompression compression);
#endif /* __FILE_TIFF_H__ */