Follow Me:
Showing posts with label WebP. Show all posts
Showing posts with label WebP. Show all posts

Tuesday 21 July 2015

CwebP Unsupported Color Conversion Request:

    When i am creating WebP images, that time triggering the error as "cwebp unsupported color conversion request, Error Could not be process file".

 Error: 

    $imageName  = "ilikekaraikudi.jpg";
    $webpimgName  = "ilikekaraikudi.webp";
 
   cwebp -q 0 ".$imageName." -o ".$webpimgName.
   Unsupported color conversion request
   Error! Could not process file ilikekaraikudi.jpg
     
   Error! Cannot read input picture 

 

  Solution:

    we can try converting to RBG color-space via ImageMagick (convert) or any other image-editor tool.

    exec("convert -colorspace RGB ".$imageName." ".$webpimgName . " ");

Related Posts:

   1. how to create webp image in php
   2. fedex shipping integration
   3. 413 “Request Entity Too Large” error with uploading a file

   4. How to blink text in html for various browsers
   5. Difference between cookies and sessions in php