"Fossies" - the Fresh Open Source Software Archive

Member "gnuastro-0.8/lib/gnuastro/tiff.h" (11 Apr 2018, 1928 Bytes) of package /linux/privat/gnuastro-0.8.tar.lz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "tiff.h" see the Fossies "Dox" file reference documentation.

    1 /*********************************************************************
    2 tiff -- functions to read and write TIFF files.
    3 This is part of GNU Astronomy Utilities (Gnuastro) package.
    4 
    5 Original author:
    6      Mohammad Akhlaghi <mohammad@akhlaghi.org>
    7 Contributing author(s):
    8 Copyright (C) 2018, Free Software Foundation, Inc.
    9 
   10 Gnuastro is free software: you can redistribute it and/or modify it
   11 under the terms of the GNU General Public License as published by the
   12 Free Software Foundation, either version 3 of the License, or (at your
   13 option) any later version.
   14 
   15 Gnuastro is distributed in the hope that it will be useful, but
   16 WITHOUT ANY WARRANTY; without even the implied warranty of
   17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   18 General Public License for more details.
   19 
   20 You should have received a copy of the GNU General Public License
   21 along with Gnuastro. If not, see <http://www.gnu.org/licenses/>.
   22 **********************************************************************/
   23 #ifndef __GAL_TIFF_H__
   24 #define __GAL_TIFF_H__
   25 
   26 
   27 /* Include other headers if necessary here. Note that other header files
   28    must be included before the C++ preparations below */
   29 #include <gnuastro/list.h>
   30 
   31 
   32 
   33 /* C++ Preparations */
   34 #undef __BEGIN_C_DECLS
   35 #undef __END_C_DECLS
   36 #ifdef __cplusplus
   37 # define __BEGIN_C_DECLS extern "C" {
   38 # define __END_C_DECLS }
   39 #else
   40 # define __BEGIN_C_DECLS                /* empty */
   41 # define __END_C_DECLS                  /* empty */
   42 #endif
   43 /* End of C++ preparations */
   44 
   45 
   46 
   47 
   48 
   49 /* Actual header contants (the above were for the Pre-processor). */
   50 __BEGIN_C_DECLS  /* From C++ preparations */
   51 
   52 
   53 
   54 
   55 
   56 /* Functions */
   57 int
   58 gal_tiff_name_is_tiff(char *name);
   59 
   60 int
   61 gal_tiff_suffix_is_tiff(char *name);
   62 
   63 size_t
   64 gal_tiff_dir_string_read(char *string);
   65 
   66 gal_data_t *
   67 gal_tiff_read(char *filename, size_t dir, size_t minmapsize);
   68 
   69 
   70 
   71 
   72 __END_C_DECLS    /* From C++ preparations */
   73 
   74 #endif           /* __GAL_TIFF_H__ */