1. 程式人生 > >開啟影象檔案失敗彙總:“Could not load image... ...0x## 0x##”錯誤

開啟影象檔案失敗彙總:“Could not load image... ...0x## 0x##”錯誤

造冰箱的熊貓@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