Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1053692: [graphicsmagick:discussion] Re: Any plans to add HEIC format?

50 views
Skip to first unread message

Dan Jacobson

unread,
Oct 8, 2023, 4:10:06 PM10/8/23
to
Package: graphicsmagick

Hello. The viewnior and gpicview packages support heic, so should gm.

---


On 2023-10-08 08:08, Bob Friesenhahn wrote:
> On Sat, 7 Oct 2023, Dan Jacobson wrote:
>
>> I was using https://packages.debian.org/sid/graphicsmagick on a
>> chromebook
>> $ gm convert -list formats |fgrep -i heif
>> AVIF P r-- HEIF Image Format (heif v16.2.0)
>> HEIC P r-- HEIF Image Format (heif v16.2.0)
>> HEIF P r-- HEIF Image Format (heif v16.2.0)
>> $ gm convert -debug coder,exception C001.heic info:-
>> 18:35:16 0:0.002526 0.000u 3249 constitute.c/ReadImage/1676/Coder:
>> Invoking "HEIC" decoder (HEIF Image Format) subimage=0 subrange=0
>> 18:35:16 0:0.010894 0.010u 3249 heif.c/ReadHEIFImage/571/Coder:
>> Geometry: 1280x720
>> 18:35:16 0:0.011036 0.010u 3249 heif.c/ReadHEIFImage/573/Coder:
>> Matte: False
>> 18:35:16 0:0.011135 0.010u 3249 heif.c/ReadHEIFImage/650/Coder:
>> heif_decode_image() reports error "Unsupported feature: Unsupported
>> codec"
>
> From the above, I deduce that libheif from Debian Sid does not support
> HEIC, or a sub-feature of HEIC. It is possible that Debian Sid
> binaries do not include support for HEIC at all.
>
> The nature of free software is that free software developers (and free
> distributions) may not be willing to pay license fees, or legal fees,
> or financial penalties, associated with patented algorithms.
>
> At least Ubuntu 22.04 LTS does include HEIC support.
>
> Bob
> --
> Bob Friesenhahn
> bfri...@simple.dallas.tx.us,
> http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
> Public Key,
> http://www.simplesystems.org/users/bfriesen/public-key.txt
>
>
> ---
>
> [Any plans to add HEIC
> format?](https://sourceforge.net/p/graphicsmagick/discussion/250738/thread/3082583888/?limit=25#72bc/4107/9a40/a1c7)
>

László Böszörményi

unread,
Oct 8, 2023, 4:50:04 PM10/8/23
to
Control: forwarded -1 https://github.com/strukturag/libheif/issues/974

Hi,

On Sun, Oct 8, 2023 at 10:09 PM Dan Jacobson <jid...@jidanni.org> wrote:
> Hello. The viewnior and gpicview packages support heic, so should gm.
> On 2023-10-08 08:08, Bob Friesenhahn wrote:
> > On Sat, 7 Oct 2023, Dan Jacobson wrote:
> >> $ gm convert -list formats |fgrep -i heif
> >> AVIF P r-- HEIF Image Format (heif v16.2.0)
> >> HEIC P r-- HEIF Image Format (heif v16.2.0)
> >> HEIF P r-- HEIF Image Format (heif v16.2.0)
> >> $ gm convert -debug coder,exception C001.heic info:-
> >> 18:35:16 0:0.002526 0.000u 3249 constitute.c/ReadImage/1676/Coder:
> >> Invoking "HEIC" decoder (HEIF Image Format) subimage=0 subrange=0
> >> 18:35:16 0:0.010894 0.010u 3249 heif.c/ReadHEIFImage/571/Coder:
> >> Geometry: 1280x720
> >> 18:35:16 0:0.011036 0.010u 3249 heif.c/ReadHEIFImage/573/Coder:
> >> Matte: False
> >> 18:35:16 0:0.011135 0.010u 3249 heif.c/ReadHEIFImage/650/Coder:
> >> heif_decode_image() reports error "Unsupported feature: Unsupported
> >> codec"
> >
> > From the above, I deduce that libheif from Debian Sid does not support
> > HEIC, or a sub-feature of HEIC. It is possible that Debian Sid
> > binaries do not include support for HEIC at all.
It's up to the new HEIF library which broke other packages including
GM, GIMP, etc. See the relevant bug report in Debian [1]. Its upstream
stated to solve this, but it seems not the case [2]. That's why GM and
others can't use the mentioned display formats.

Regards,
Laszlo/GCS
[1] https://bugs.debian.org/1041242
[2] https://github.com/strukturag/libheif/issues/974
0 new messages