1. 程式人生 > >打開圖像文件失敗匯總:“Could not load image... ...0x## 0x##”錯誤

打開圖像文件失敗匯總:“Could not load image... ...0x## 0x##”錯誤

圖片 strong 打開 start web -a error 不支持 圖片文件

造冰箱的熊貓@cnblogs 2018/12/15

在Ubuntu上使用Image Viewer打開圖片文件時,有時會遇到Could not load image ‘001.jpg‘. Error interpreting JPEG image file (Not a JPEG file: starts with 0x## 0x##)”錯誤提示。現將此類錯誤匯總如下:

1)如果為“0x89 0x50”,通常是png文件的後綴名錯誤導致的,將圖像文件後綴設置為“png

2)如果為“0x52 0x49,這是Image Viewer不支持webp格式的圖片導致的,具體操作方法參考這裏

3)如果為“0x47 0x49,通常是gif文件的後綴名錯誤導致的,將圖像文件後綴設置為gif

打開圖像文件失敗匯總:“Could not load image... ...0x## 0x##”錯誤