replace JPG extension with PNG