/* * Photo Image Print System * Copyright (C) 2001-2004 EPSON KOWA Corporation. * Copyright (C) SEIKO EPSON CORPORATION 2001-2004. * * This file is part of the `dtrfilter' program. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * As a special exception, EPSON KOWA Corporation gives permission * to link the code of this program with the `dtr' library and * distribute linked combinations including the two. You must obey * the GNU General Public License in all respects for all of the * code used other then `dtr'. */ #ifndef IMG_H #define IMG_H #include "defs.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ void* img_init (FILE*); u_int img_get_width (void*); u_int img_get_height (void*); void img_get_image (void*, u_int, u_char*); void img_end (void*); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* IMG_H */