Back to index

texmacs  1.0.7.15
gs_utilities.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : gs_utilities.hpp
00004 * DESCRIPTION: Utilities for GhostScript
00005 * COPYRIGHT  : (C) 2010 David MICHEL
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 GS_UTILITIES_HPP
00013 #define GS_UTILITIES_HPP
00014 
00015 #include "tm_configure.hpp"
00016 #ifdef USE_GS
00017 
00018 #include "url.hpp"
00019 
00020 bool gs_supports (url image);
00021 void gs_image_size (url image, int& w_pt, int& h_pt);
00022 void gs_to_png (url image, url png, int w_px, int h_px);
00023 void gs_to_eps (url image, url eps);
00024 void gs_to_pdf (url doc, url pdf);
00025 void tm_gs (url image);
00026 
00027 #endif // USE_GS
00028 
00029 #endif // GS_UTILITIES_HPP
00030