I am trying to make a Christmas letter with text and pictures. The pictures are texted to me and I proceed to email them to my openSUSE Tumbleweed session as I have done for many years. I save the file as a .jpg file. It fails to open in LibreOffice writer with the error message, “Image Filter Not Found.”
Gimp will not open the file. It gives the error message, JPEG image plug-in coult not open image. Also gives the message “Not aJPEG file: starts with 0x00 0x00”
Gwenview opens the file just fine, but doesn’t let me change its filetype.
It seems that maybe the file is a .heic file type.
Any ideas how to get my pictures into LibreOffice?
If it is indeed an heic file, you might install the heif-examples package from Packman to get heif-convert, which I’m led to understand can do the conversion.
But use file as hui suggested to determine what the file actually is first - heic is more commonly used by Apple than Android, from what I understand.
The files came from text entries on my phone. I emailed them to my openSUSE system. Perhaps something corrupted them along the way, but FILE identified them as heic files.
All the way along the download and storage, you seem to do something totally wrong. Why do you save a heic file as jpg? You can’t convert an image file simply by renaming. That is also the reason why some apps like Gimp complain that the file is not an jpg.
But did you check that you have the heif/heic packages installed? On my machine as example following packages are installed:
For GIMP, you also need the “gimp-plugin-heif” package from the Packman repositories.
If you’re using the KDE Plasma desktop then, the KDE application “Krita” can handle High Efficiency Image Format (*.heif, *.heic) files and, save them as JPEG files.
BTW, Krita can also handle AV1 Image Format (*.avif) files …
The appearance of .heic files is a new feature on my phone. I did it wrong because it was always a .jpg file. Since linux uses file types more than my phone, I added the .jpg suffix without thinking. When things started failing, I decided it was time to start thinking and asking questions.
Thank you all for your help. My Christmas letter can now go out with pretty pictures!