This is a comment on Captcha: freeCap, posted by WikiAdmin at 07/22/2025 07:17
View source for Use WebP as default freeCap image type
%% // image type: // possible values: 'avif', 'gif', 'jpg', 'png', 'webp' // jpg doesn't support transparency (transparent bg option ends up white) // avif and webp may not be supported by your GD Lib. $output = 'webp'; %% #| *| image type | output | size |* || avif | freecap.avif | 1,7 KiB || || png | freecap.png | 6,5 KiB || || webp | freecap.webp | 2,4 KiB || |# I'm tempted to set **WebP** as the new default image type for Captcha. Are there stacks with GD Lib without WebP support in 2025? %% if (gd_info()['WebP Support']) { // Server supports WebP } %% https://caniuse.com/webp