I already go through PSNR python file that works fine for .png. I have to calculate psnr between BPG and WebP.