1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-23 11:14:48 +02:00

Remove unneeded code

This commit is contained in:
DarthSim 2019-06-03 21:27:46 +06:00
parent ab9363e989
commit fee210fb1b
2 changed files with 0 additions and 11 deletions

9
vips.c
View File

@ -25,9 +25,6 @@
#define VIPS_SUPPORT_WEBP_ANIMATION \
(VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 8))
#define VIPS_SUPPORT_N_PAGES \
(VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 8))
#define VIPS_SUPPORT_BUILTIN_ICC \
(VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 8))
@ -122,7 +119,6 @@ vips_webpload_go(void *buf, size_t len, double scale, int pages, VipsImage **out
#endif
#if VIPS_SUPPORT_WEBP_ANIMATION
"n", pages,
"page", 0,
#endif
NULL
);
@ -148,11 +144,6 @@ vips_svgload_go(void *buf, size_t len, double scale, VipsImage **out) {
#endif
}
int
vips_support_n_pages() {
return VIPS_SUPPORT_N_PAGES;
}
int
vips_get_exif_orientation(VipsImage *image) {
const char *orientation;

2
vips.h
View File

@ -29,8 +29,6 @@ int vips_webpload_go(void *buf, size_t len, double scale, int pages, VipsImage *
int vips_gifload_go(void *buf, size_t len, int pages, VipsImage **out);
int vips_svgload_go(void *buf, size_t len, double scale, VipsImage **out);
int vips_support_n_pages();
int vips_get_exif_orientation(VipsImage *image);
void vips_strip_meta(VipsImage *image);