Tags: SRWieZ/thumbhash
Tags
fix: throw an Exception when GD can't decode the image data (#8) * fix: throw an Exception when GD can't decode the image data This throws a more descriptive exception when GD fails to decode the image, which is likely to be because GD doesn't have support for that image type. Before, it would just fail on the subsequent call to imagesx(). * Tests --------- Co-authored-by: Eser DENIZ <[email protected]>