SoftCreatR / imei

IMEI - ImageMagick Easy Install
ISC License
293 stars 35 forks source link

Not HEIC support #79

Closed nightdread closed 1 year ago

nightdread commented 1 year ago

The script completely works, but after installing it, there is still no support for HEIC.

Detected OS : Ubuntu 20.04.6 LTS Detected Arch : aarch64 Detected Cores : 8

Version: ImageMagick 7.1.1-10 Q16-HDRI aarch64 3b5d98645:20230520 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP(4.5) Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg jxl lcms lqr ltdl lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib Compiler: gcc (9.4)

SoftCreatR commented 1 year ago

Can you provide the imei.log file?

nightdread commented 1 year ago

imei.log

SoftCreatR commented 1 year ago

I have to admit, that IMEI was never tested on AArch64 / ARM64. Maybe, libheif isn't compatible with this architecture.

I will test this by myself, and get back to you.

SoftCreatR commented 1 year ago

There were two problems:

  1. The package libdav1d-dev doesn't exist in Ubuntu 20.04. This leads to a failure of the dependency installation. Since it's not really required, I just removed it from the dependencies.
  2. The source package list, that is added during the execution, wasn't compatible with AArch64 due do the fact, that at least on Ubuntu, a different URL is used.

However, it turned out, that this isn't the ultimative solution yet. I'm still investigating.

nightdread commented 1 year ago

php -r 'phpinfo();' | grep HEIC php: symbol lookup error: /usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/heic.so: undefined symbol: heif_init

SoftCreatR commented 1 year ago

Please create a new issue for that.