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:
parent
ab9363e989
commit
fee210fb1b
9
vips.c
9
vips.c
@ -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
2
vips.h
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user