diff --git a/src/response/payload/ImagePayload.php b/src/response/payload/ImagePayload.php
index <HASH>..<HASH> 100644
--- a/src/response/payload/ImagePayload.php
+++ b/src/response/payload/ImagePayload.php
@@ -91,7 +91,7 @@ final class ImagePayload extends Payload implements PayloadInterface
             }
 
             unset($temp);
-        } else {
+        } elseif (!is_image($image)) { // Image may be GdImage.
             if (File::errorCheck($image, $error)) {
                 throw new PayloadException($error->getMessage(), null, $error->getCode());
             }
response.payload.ImagePayload: fix GdImage issue.