diff options
Diffstat (limited to 'src/driver/gd.php')
-rw-r--r-- | src/driver/gd.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/gd.php b/src/driver/gd.php index 1662a1d..be2da37 100644 --- a/src/driver/gd.php +++ b/src/driver/gd.php @@ -1182,6 +1182,8 @@ class ezcGraphGdDriver extends ezcGraphDriver case IMG_JPEG: imagejpeg( $image, $file, $this->options->jpegQuality ); break; + default: + throw new ezcGraphGdDriverUnsupportedImageTypeException( $this->options->imageFormat ); } } } |