2006-12-09 13:33:38 -08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2001-03-30 05:31:41 -08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
*
|
2004-09-22 08:12:24 -07:00
|
|
|
* file-utils.h
|
|
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2001-03-30 05:31:41 -08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 14:28:01 -08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2001-03-30 05:31:41 -08:00
|
|
|
* (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
|
2018-07-11 14:47:19 -07:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2001-03-30 05:31:41 -08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __FILE_UTILS_H__
|
|
|
|
|
#define __FILE_UTILS_H__
|
|
|
|
|
|
|
|
|
|
|
2014-07-08 01:25:25 -07:00
|
|
|
GFile * file_utils_filename_to_file (Gimp *gimp,
|
2014-07-08 01:14:53 -07:00
|
|
|
const gchar *filename,
|
|
|
|
|
GError **error);
|
2014-07-07 17:58:59 -07:00
|
|
|
|
2014-07-08 01:14:53 -07:00
|
|
|
GdkPixbuf * file_utils_load_thumbnail (const gchar *filename);
|
|
|
|
|
gboolean file_utils_save_thumbnail (GimpImage *image,
|
|
|
|
|
const gchar *filename);
|
2006-04-10 05:59:17 -07:00
|
|
|
|
2001-03-30 05:31:41 -08:00
|
|
|
|
|
|
|
|
#endif /* __FILE_UTILS_H__ */
|