"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gd_tiff.c" between
libgd-2.3.1.tar.gz and libgd-2.3.2.tar.gz

About: LibGD is a library for the dynamic creation of images by programmers (PNG, JPEG, GIF, WebP, XPM, BMP support).

gd_tiff.c  (libgd-2.3.1):gd_tiff.c  (libgd-2.3.2)
skipping to change at line 46 skipping to change at line 46
* There is only most basic support for the TIFF format available for now; * There is only most basic support for the TIFF format available for now;
* for instance, multiple pages are not yet supported. * for instance, multiple pages are not yet supported.
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
#endif #endif
#include "gd.h" #include "gd.h"
#include "gd_errors.h" #include "gd_errors.h"
#include "gd_intern.h"
#include "gdfonts.h" #include "gdfonts.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <limits.h> #include <limits.h>
#include "gdhelpers.h" #include "gdhelpers.h"
#ifdef HAVE_LIBTIFF #ifdef HAVE_LIBTIFF
#include "tiff.h" #include "tiff.h"
skipping to change at line 74 skipping to change at line 75
/* I define those here until the new formats /* I define those here until the new formats
* are commited. We can then rely on the global * are commited. We can then rely on the global
* def * def
*/ */
#define GD_PALETTE 1 #define GD_PALETTE 1
#define GD_TRUECOLOR 2 #define GD_TRUECOLOR 2
#define GD_GRAY 3 #define GD_GRAY 3
#define GD_INDEXED 4 #define GD_INDEXED 4
#define GD_RGB 5 #define GD_RGB 5
#define MIN(a,b) (a < b) ? a : b;
#define MAX(a,b) (a > b) ? a : b;
typedef struct tiff_handle { typedef struct tiff_handle {
int size; int size;
int pos; int pos;
gdIOCtx *ctx; gdIOCtx *ctx;
int written; int written;
} }
tiff_handle; tiff_handle;
/* /*
Functions for reading, writing and seeking in gdIOCtx Functions for reading, writing and seeking in gdIOCtx
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)