~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to libgimp/gimpexport.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* LIBGIMP - The GIMP Library
 
2
 * Copyright (C) 1995-1999 Peter Mattis and Spencer Kimball
 
3
 *
 
4
 * gimpexport.h
 
5
 * Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Lesser General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Lesser General Public
 
18
 * License along with this library; if not, write to the
 
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
 * Boston, MA 02111-1307, USA.
 
21
 */
 
22
 
 
23
#ifndef __GIMP_EXPORT_H__
 
24
#define __GIMP_EXPORT_H__
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
/* For information look into the C source or the html documentation */
 
29
 
 
30
 
 
31
typedef enum
 
32
{
 
33
  GIMP_EXPORT_CAN_HANDLE_RGB                 = 1 << 0,
 
34
  GIMP_EXPORT_CAN_HANDLE_GRAY                = 1 << 1,
 
35
  GIMP_EXPORT_CAN_HANDLE_INDEXED             = 1 << 2,
 
36
  GIMP_EXPORT_CAN_HANDLE_BITMAP              = 1 << 3,
 
37
  GIMP_EXPORT_CAN_HANDLE_ALPHA               = 1 << 4,
 
38
  GIMP_EXPORT_CAN_HANDLE_LAYERS              = 1 << 5,
 
39
  GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_ANIMATION = 1 << 6,
 
40
  GIMP_EXPORT_CAN_HANDLE_LAYER_MASKS         = 1 << 7,
 
41
  GIMP_EXPORT_NEEDS_ALPHA                    = 1 << 8
 
42
} GimpExportCapabilities;
 
43
 
 
44
typedef enum
 
45
{
 
46
  GIMP_EXPORT_CANCEL,
 
47
  GIMP_EXPORT_IGNORE,
 
48
  GIMP_EXPORT_EXPORT
 
49
} GimpExportReturn;
 
50
 
 
51
GimpExportReturn   gimp_export_image (gint32                 *image_ID,
 
52
                                      gint32                 *drawable_ID,
 
53
                                      const gchar            *format_name,
 
54
                                      GimpExportCapabilities  capabilities);
 
55
 
 
56
 
 
57
G_END_DECLS
 
58
 
 
59
#endif /* __GIMP_EXPORT_H__ */