image->depth=8;
image->alpha_trait=features->has_alpha != 0 ? BlendPixelTrait :
UndefinedPixelTrait;
- if (IsWEBPImageLossless(stream,length) != MagickFalse)
- image->quality=100;
if (image_info->ping != MagickFalse)
{
stream=(unsigned char*) RelinquishMagickMemory(stream);
(void) CloseBlob(image);
return(DestroyImageList(image));
}
+ if (IsWEBPImageLossless(stream,length) != MagickFalse)
+ image->quality=100;
webp_status=WebPDecode(stream,length,&configure);
}
if (webp_status != VP8_STATUS_OK)