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).
28 lines
683 B
C
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__ */
|