jpg图片不能预览显示!
Tofloor
poster avatar
andktan
deepin
2020-03-05 04:34
Author
jpg图片不能预览显示!有办法解决吗?
Reply Favorite View the author
All Replies
avatar
Feng Yu
deepin
2020-03-05 05:48
#1
怀疑你那个图可能不是jpg,用file命令看看那张图实际的后缀应该是什么
Reply View the author
avatar
jzc
deepin
2020-03-05 06:05
#2
后缀改换成jpge 试试
Reply View the author
avatar
andktan
deepin
2020-03-24 00:13
#3
https://bbs.deepin.org/post/189464
后缀改换成jpge 试试

不行呀,改了变成下面图这个样子了
Reply View the author
avatar
andktan
deepin
2020-03-24 00:16
#4
https://bbs.deepin.org/post/189464
怀疑你那个图可能不是jpg,用file命令看看那张图实际的后缀应该是什么

PC:~/Desktop$ file 0.jpg
0.jpg: data
Reply View the author
avatar
jzc
deepin
2020-03-24 00:21
#5
https://bbs.deepin.org/post/189464
PC:~/Desktop$ file 0.jpg
0.jpg: data

看起来是文件元信息损坏了,这个文件有问题
Reply View the author
avatar
Feng Yu
deepin
2020-03-24 02:33
#6
https://bbs.deepin.org/post/189464
PC:~/Desktop$ file 0.jpg
0.jpg: data

说明这个文件就不是jpg图片了,而是无法识别类型的数据文件,可能文件损坏了
Reply View the author
avatar
andktan
deepin
2020-03-24 23:03
#7
https://bbs.deepin.org/post/189464
看起来是文件元信息损坏了,这个文件有问题

可是同样的图片在win7下面可见呀
Reply View the author
avatar
andktan
deepin
2020-03-24 23:04
#8
https://bbs.deepin.org/post/189464
说明这个文件就不是jpg图片了,而是无法识别类型的数据文件,可能文件损坏了 ...

可是同样的图片在win7下面可见呀
Reply View the author
avatar
jzc
deepin
2020-03-25 00:32
#9
https://bbs.deepin.org/post/189464
可是同样的图片在win7下面可见呀

这个文件不符合标准jpg格式,只能用某些特定的软件打开,用其他软件可能打不开。

jpg格式文件元信息
$ file ./s28284137.jpg
./s28284137.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 1080x1519, frames 3
Reply View the author
avatar
jzc
deepin
2020-03-25 00:36
#10
https://bbs.deepin.org/post/189464
可是同样的图片在win7下面可见呀

我之前遇到过类似的问题,jpg是从网页上下载的。右键 选择打开方式用浏览器可以打开,但用其他的软件就不行。你可以在浏览器里输入这个文件的路径(带上file前缀),看看能不能打开。例如 file:///home/jzc/Pictures/s29455483.jpg  。

总之,就是图片有问题!不符合标准jpg格式
Reply View the author
avatar
andktan
deepin
2020-03-27 23:29
#11
也不行呀,即使可以也太麻烦了呀
Reply View the author
avatar
andktan
deepin
2020-03-27 23:34
#12
虽然还不能解决,还是很感谢大家的支持
Reply View the author