~ubuntu-branches/ubuntu/intrepid/gimp/intrepid

« back to all changes in this revision

Viewing changes to plug-ins/jpeg/jpeg-save.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20081006133041-axco233xt49jobn7
Tags: 2.6.0-1ubuntu1
* Sync on debian and new version (lp: #276839)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* GIMP - The GNU Image Manipulation Program
2
 
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or modify
5
 
 * it under the terms of the GNU General Public License as published by
6
 
 * the Free Software Foundation; either version 2 of the License, or
7
 
 * (at your option) any later version.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
 * GNU General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
 
 */
18
 
 
19
 
typedef struct
20
 
{
21
 
  gdouble  quality;
22
 
  gdouble  smoothing;
23
 
  gboolean optimize;
24
 
  gboolean progressive;
25
 
  gboolean baseline;
26
 
  gint     subsmp;
27
 
  gint     restart;
28
 
  gint     dct;
29
 
  gboolean preview;
30
 
  gboolean save_exif;
31
 
  gboolean save_thumbnail;
32
 
  gboolean save_xmp;
33
 
  gboolean use_orig_quality;
34
 
} JpegSaveVals;
35
 
 
36
 
extern JpegSaveVals     jsvals;
37
 
 
38
 
extern gint32           orig_image_ID_global;
39
 
extern gint32           drawable_ID_global;
40
 
 
41
 
 
42
 
gboolean    save_image         (const gchar *filename,
43
 
                                gint32       image_ID,
44
 
                                gint32       drawable_ID,
45
 
                                gint32       orig_image_ID,
46
 
                                gboolean     preview);
47
 
gboolean    save_dialog        (void);
48
 
void        load_save_defaults (void);