.heic images conversion debugging requested

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

.heic images conversion debugging requested

Post#1 by francois » 01 Nov 2023, 21:11

I get .heic format images from my android phone. I want a simple way to transform them into a more democratic format, that is .jpeg. I have tried to install the plugin to gimp with no result as an alternative.
https://superuser.com/questions/1252004 ... s-on-linux
proposes libheif library which is already on our porteus system according to gslapt or getmod:

Code: Select all

root@porteus:/home/guest# getmod -m libheif-1.12.0-x86_64-2salix15.0
Reading Package Lists...Done
The following packages will be upgraded:
  libheif 
1 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Need to get 231.0kB of archives.
Do you want to continue? [y/N] 
I have tried with no success transforming heic to jpeg with the following:

Code: Select all

root@porteus:/home/guest# cd /home/guest/Downloads/detruire/aquarium/
root@porteus:/home/guest/Downloads/detruire/aquarium# ls
20231031_181558.heic  20231031_181611.heic  20231031_181637.heic
20231031_181607.heic  20231031_181618.heic
20231031_181610.heic  20231031_181635.heic
root@porteus:/home/guest/Downloads/detruire/aquarium# ./heif-convert 20231031_181558.heic20231031_181558.jpeg
bash: ./heif-convert: No such file or directory
root@porteus:/home/guest/Downloads/detruire/aquarium# ./heif-convert 20231031_181558.heic 20231031_181558.jpeg
bash: ./heif-convert: No such file or directory
root@porteus:/home/guest/Downloads/detruire/aquarium# heif-convert 20231031_181558.heic 20231031_181558.jpeg
heif-convert: error while loading shared libraries: libx265.so.192: cannot open shared object file: No such file or directory
root@porteus:/home/guest/Downloads/detruire/aquarium# exit
exit
guest@porteus:~$ 
Will be missing:
libx265.so.192
root@porteus:/home/guest# ln -s /usr/lib64/libx265.so /usr/lib64/libx265.so.192
librav1e.so.0
not available for slackware

What is your way of transforming heic to jpeg?
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

.heic images conversion debugging requested

Post#2 by Rava » 03 Nov 2023, 06:06

francois wrote:
01 Nov 2023, 21:11
What is your way of transforming heic to jpeg?
I never heard of heic. Seems having an outdated Android smartphone can have its unexpected perks. :D
But as for libx265.so.192 … as long as it works for the GLIBC your system has, you can try a different Linux distribution. (I would try that first)
Or try it via a .SlackBuild. (I would try that second)

Sorry to be of no more help than that. :(

Or… try an App for Android that converts your heic images on the smartphone, not on your Linux system?
Cheers!
Yours Rava

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

.heic images conversion debugging requested

Post#3 by francois » 04 Nov 2023, 07:49

Finally, there are applications for android phones that will do that. You have to endure the publicity. And hope that they do not hack your phone or your information. :(
Prendre son temps, profiter de celui qui passe.

User avatar
M. Eerie
Moderator
Moderator
Posts: 711
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

.heic images conversion debugging requested

Post#4 by M. Eerie » 04 Nov 2023, 09:38

francois wrote:
01 Nov 2023, 21:11
What is your way of transforming heic to jpeg?
You can grab the latest ImageMagick AppImage build, which is often updated, then:

Code: Select all

for magickCMD in magick animate compare composite conjure convert display identify import mogrify montage stream; do ln -nsf /path/to/your/ImageMagick-whatever-.Appimage /usr/local/bin/$magickCMD 2>/dev/null; done
And then, as stated here, you can simply:

Code: Select all

mogrify -format jpg *.HEIC
For the record, HEIC is the extension used for the High Efficiency Image File Format, where HEVC is the analogous video solution, most commonly known as .x265 or h265. Hence, the need for libx265 codec library.
Last edited by M. Eerie on 04 Nov 2023, 09:53, edited 1 time in total.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

.heic images conversion debugging requested

Post#5 by Rava » 04 Nov 2023, 09:51

M. Eerie wrote:
04 Nov 2023, 09:38
For the record, HEIC is the extension used for the High Efficiency Image File Format, where HEVC is the analogue video solution, most commonly known as .x265 or h265. Hence, the need for libx265 codec library.
Thanks for the heads up, amazingly helpful like always. :)
Cheers!
Yours Rava

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

.heic images conversion debugging requested

Post#6 by francois » 04 Nov 2023, 16:50

M. Eerie;
Thanks a lot.

Post Reply