Back to index

texmacs  1.0.7.15
image_files.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : image_files.hpp
00004 * DESCRIPTION: image file handling
00005 * COPYRIGHT  : (C) 1999  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef IMAGE_FILES_H
00013 #define IMAGE_FILES_H
00014 #include "url.hpp"
00015 
00016 tree         xpm_load (url file_name);
00017 void         xpm_size (url file_name, int& w, int& h);
00018 array<string> xpm_colors (tree t);
00019 array<SI>     xpm_hotspot (tree t);
00020 void         ps_bounding_box (url image, int& x1, int& y1, int& x2, int& y2);
00021 string              ps_load (url image);
00022 void          image_size (url image, int& w, int& h);
00023 void          image_to_eps (url image, url eps, int w_pt= 0, int h_pt= 0, int dpi= 0);
00024 string        image_to_psdoc (url image);
00025 void          image_to_png (url image, url png, int w= 0, int h= 0);
00026 
00027 #endif // defined IMAGE_FILES_H