00001 /* 00002 * "$Id: image.h,v 1.4 2004/03/28 21:17:38 rlk Exp $" 00003 * 00004 * Print plug-in driver utility functions for the GIMP. 00005 * 00006 * Copyright 2003 Robert Krawitz (rlk@alum.mit.edu) 00007 * 00008 * This program is free software; you can redistribute it and/or modify it 00009 * under the terms of the GNU General Public License as published by the Free 00010 * Software Foundation; either version 2 of the License, or (at your option) 00011 * any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00015 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00016 * for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 00023 00024 #ifndef GIMP_PRINT_INTERNAL_IMAGE_H 00025 #define GIMP_PRINT_INTERNAL_IMAGE_H 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 extern void stpi_image_init(stp_image_t *image); 00032 extern void stpi_image_reset(stp_image_t *image); 00033 extern int stpi_image_width(stp_image_t *image); 00034 extern int stpi_image_height(stp_image_t *image); 00035 extern stp_image_status_t stpi_image_get_row(stp_image_t *image, 00036 unsigned char *data, 00037 size_t limit, int row); 00038 extern const char *stpi_image_get_appname(stp_image_t *image); 00039 extern void stpi_image_conclude(stp_image_t *image); 00040 00041 #endif /* GIMP_PRINT_INTERNAL_IMAGE_H */ 00042 /* 00043 * End of "$Id: image.h,v 1.4 2004/03/28 21:17:38 rlk Exp $". 00044 */