diff options
Diffstat (limited to 'ext/gd/libgd/gd_jpeg.c')
-rw-r--r-- | ext/gd/libgd/gd_jpeg.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd_jpeg.c b/ext/gd/libgd/gd_jpeg.c index a71469137..0d9bae151 100644 --- a/ext/gd/libgd/gd_jpeg.c +++ b/ext/gd/libgd/gd_jpeg.c @@ -107,6 +107,18 @@ int gdJpegGetVersionInt() return JPEG_LIB_VERSION; } +const char * gdJpegGetVersionString() +{ + switch(JPEG_LIB_VERSION) { + case 62: + return "6b"; + break; + default: + return "unknown"; + } +} + + /* * Write IM to OUTFILE as a JFIF-formatted JPEG image, using quality * QUALITY. If QUALITY is in the range 0-100, increasing values |