Open vishal-bacancy opened 1 month ago
This error came from this function https://github.com/le0pard/webp-ffi/blob/master/ext/webp_ffi/util.c#L68 - this mean of C code cannot open the file or cannot decode image to get width and height
thank you @le0pard for this information. I tried giving full access to the file but still, it wasn't working as expected, perhaps there are some issues with the decoding.
Hello,
Currently, I'm using this library to convert PNG/JPG files to webP files for better performance, it was working fine but suddenly, the library stopped working and it is raising the below exception
path has .png file and webp_path has .webp file
WebP::EncoderError: Cannot read input picture file
I tried to use
cwebp input_file -o output_file
command to convert it from the terminal and it is working fine, but My Rails app is unable to convert it to the webp file using this library