col*_*ave 5 thumbnails jpeg image-viewers
I have a series of .jpg files that do not show on Ubuntu Image Viewer or as thumbnails. These are perfectly ok on Windows 32 and 64 and on Mac OS.
Strangely one very old .jpg file does display correctly and its thumbnail is visible in Files no bother just these new ones.
After one hair pulling exercise found some which would not display on Windows were wrongly tagged as .jpeg by extension removed all these. Now all are on a memory stick which works ok on Windows and Mac just not on Ubuntu.
Can anyone help? Please bear in mind this is only my third day with Linux installed for the first time.
根据您提到的特征,似乎有问题的 jpeg 文件的后缀错误(它应该是其他内容,而不是.jpg)。尽管在基于 GNU/Linux 的操作系统中文件扩展名本身并不重要,但某些应用程序(例如图像查看器)可能会因后缀错误而无法正确显示图像。
您可以尝试其中一种解决方法。
右键单击有问题的 jpeg 文件之一,选择“使用其他应用程序打开”,然后尝试其他建议的应用程序,看看哪一个有效。正如您已经提到的,ImageMagick和Shotwell运行良好,默认情况下您可以使用其中之一来打开 jpeg 文件。
为此,右键单击 jpeg 文件并选择“属性”。然后转到“打开方式”选项卡,从列表中选择Shotwell,然后单击“设置为默认值”按钮。
一个麻烦的解决方法是仅从.jpg这些文件中删除后缀。
为此,右键单击文件并选择重命名并删除.jpg部分(即更改imagename.jpg为imagename)。现在,文件应该可以使用图像查看器正常打开,文件管理器也应该显示缩略图。
警告:没有扩展名的映像可能无法在其他操作系统(例如 Windows)中打开。