issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"strukturag",
"libheif"
] | Hi I download the code and compile on my Mac. What I can see is:
--- ./examples/heif-info /Users/xxxxxx/Downloads/IMG_0024.HEIC
MIME type: image/heic
main brand: heic
compatible brands: mif1, MiHE, MiPr, miaf, MiHB, heic
image: 3024x4032 (id=49), primary
colorspace: YCbCr, 4:2... | No decoding plugin installed for this compression format | https://api.github.com/repos/strukturag/libheif/issues/1250/comments | 2 | 2024-07-24T08:28:20Z | 2024-07-25T03:11:14Z | https://github.com/strukturag/libheif/issues/1250 | 2,426,918,769 | 1,250 |
[
"strukturag",
"libheif"
] | Hello,
Since the update to 1.18.0 we are having an issue to package it on Gentoo. We build the packages on a build directory and, once everything is installed there, we proceed to effectively moving everything under the real file system (controlled by our package manager).
With the new 1.18.0 version, it seems t... | libheif-1.8.0: create_symlink tries to directly modify real file system instead of building dir | https://api.github.com/repos/strukturag/libheif/issues/1249/comments | 10 | 2024-07-21T08:15:59Z | 2024-08-10T10:42:18Z | https://github.com/strukturag/libheif/issues/1249 | 2,421,286,067 | 1,249 |
[
"strukturag",
"libheif"
] | `heif_item_get_property_raw_data()` appears to include the flags / version, but not the extended type field (i.e. the UUID for the `uuid` box case).
Without the UUID, its hard to tell which UUID box is being returned. | heif_item_get_property_raw_data() should include the UUID for uuid boxes | https://api.github.com/repos/strukturag/libheif/issues/1244/comments | 6 | 2024-07-16T10:58:03Z | 2024-07-20T08:25:57Z | https://github.com/strukturag/libheif/issues/1244 | 2,410,849,222 | 1,244 |
[
"strukturag",
"libheif"
] | Hi, I am a Canon user and my camera produces 10 bit HIF files. The use of these files is (currently) heavily limited on Android, e.g., Google Photos, WhatsApp,... don't support it. I checked and tested that AVIF (10 bit) is however supportet by these apps. Might a conversion feature for HEIF to AVIF be of interest to o... | HEIF (10 bit) to AVIF (10 bit) conversion, e.g., for Android compatibility | https://api.github.com/repos/strukturag/libheif/issues/1241/comments | 0 | 2024-07-11T21:09:50Z | 2024-07-11T21:10:31Z | https://github.com/strukturag/libheif/issues/1241 | 2,404,131,291 | 1,241 |
[
"strukturag",
"libheif"
] | On just released 1.18.0, both 64-bit and 32-bit:
```
C:/msys64/home/kmilos/MINGW-packages/mingw-w64-libheif/src/libheif-1.18.0/examples/decoder_tiff.cc:136:22: warning: conversion from 'toff_t' {aka 'long long unsigned int'} to 'off_t' {aka 'long int'} may change value [-Wconversion]
136 | if (!seekTIFF(tif, e... | Type conversion warning on new TIFF decoder | https://api.github.com/repos/strukturag/libheif/issues/1235/comments | 3 | 2024-07-10T12:05:11Z | 2024-07-10T13:36:30Z | https://github.com/strukturag/libheif/issues/1235 | 2,400,581,741 | 1,235 |
[
"strukturag",
"libheif"
] | Using GCC 9.3 and just got the folloving errors:
```
[73/81] Linking CXX executable tests/encode
FAILED: tests/encode
: && /usr/bin/g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat... | Unable to build current "master" branch | https://api.github.com/repos/strukturag/libheif/issues/1229/comments | 1 | 2024-07-09T15:05:48Z | 2024-07-09T15:13:35Z | https://github.com/strukturag/libheif/issues/1229 | 2,398,466,870 | 1,229 |
[
"strukturag",
"libheif"
] | ## Overview
Due to insufficient validation of image overlay offset values, it is possible to OOB read & write in `HeifPixelImage::overlay()`.
## Reproduction
This vulnerability exists on both master (7c9729ea8d0f319ab423f8e4e6de121fd78596d0) and develop-v1.18.0 (44a9705568a18955230ad9d2b5de4d2682dd50f9).
```
g... | OOB Read/Write in `HeifPixelImage::overlay()` | https://api.github.com/repos/strukturag/libheif/issues/1226/comments | 2 | 2024-07-07T09:16:35Z | 2024-07-08T10:27:14Z | https://github.com/strukturag/libheif/issues/1226 | 2,393,967,067 | 1,226 |
[
"strukturag",
"libheif"
] | I noticed that ppa builds are missing for Ubuntu 24.04. Any chance they can be added? 24.04 is a LTS release. | ppa builds for Ubuntu noble 24.04 | https://api.github.com/repos/strukturag/libheif/issues/1225/comments | 0 | 2024-07-06T13:57:02Z | 2024-07-06T13:57:02Z | https://github.com/strukturag/libheif/issues/1225 | 2,393,571,543 | 1,225 |
[
"strukturag",
"libheif"
] | ```
/buildstream-build/libheif/plugins/encoder_svt.cc: In function ‘heif_error svt_encode_image(void*, const heif_image*, heif_image_input_class)’:
/buildstream-build/libheif/plugins/encoder_svt.cc:654:34: error: invalid conversion from ‘uint8_t’ {aka ‘unsigned char’} to ‘EbColorPrimaries’ [-fpermissive]
654 | ... | Build with svt-av1 fails with GCC 14.1 | https://api.github.com/repos/strukturag/libheif/issues/1223/comments | 1 | 2024-07-05T07:30:54Z | 2024-07-05T07:44:53Z | https://github.com/strukturag/libheif/issues/1223 | 2,392,019,987 | 1,223 |
[
"strukturag",
"libheif"
] | Currently, libheif checks the `ispe` image size against the security limit. However, this does not catch the case when the `ispe` content is fake and not matching the encoded image data. We would have to pass the maximum image size to the decoder plugin and in each plugin check the compressed image size before actually... | Forward maximum image size to decoder plugins | https://api.github.com/repos/strukturag/libheif/issues/1220/comments | 0 | 2024-07-04T11:43:28Z | 2024-07-04T11:43:28Z | https://github.com/strukturag/libheif/issues/1220 | 2,390,671,677 | 1,220 |
[
"strukturag",
"libheif"
] | I have been looking into improving heic decoding performance. My use case is:
* Input: YUV420 HEVC, multiple tile
* Output: RGB interlaced
In my benchmark with hacky implementation with libyuv (see the question below about why libyuv) and fixing the separate RGB channel to interlaced RGB conversion, my numbers are... | Improving heif decoding performance | https://api.github.com/repos/strukturag/libheif/issues/1215/comments | 0 | 2024-07-01T18:09:07Z | 2024-07-01T18:09:07Z | https://github.com/strukturag/libheif/issues/1215 | 2,384,446,021 | 1,215 |
[
"strukturag",
"libheif"
] | When attempting to identify (or otherwise work with) the attached file, I receive the following error. I'm running a build from commit 7a8c58e4be8b3eb77d82330a407a7f5e6da15a44 (couple days ago).
The image is from iOS 18 developer beta 2.
```
MIME type: image/heic
main brand: heic
compatible brands: mif1, MiHB, M... | More iOS 18 format trouble - Non-existing depth image referenced | https://api.github.com/repos/strukturag/libheif/issues/1213/comments | 8 | 2024-07-01T12:45:14Z | 2024-07-10T20:16:51Z | https://github.com/strukturag/libheif/issues/1213 | 2,383,757,705 | 1,213 |
[
"strukturag",
"libheif"
] | The AOM encoder currently defaults to 4 threads and limits to 16 threads:
https://github.com/strukturag/libheif/blob/ddb541afdbe8dadfada4536077b8e4af1bb34b5e/libheif/plugins/encoder_aom.cc#L237-L246
Is there a reason for exactly these values or could we default to "number of cpu threads" and limit to a higher value... | Number of threads for AOM encoder limited | https://api.github.com/repos/strukturag/libheif/issues/1212/comments | 2 | 2024-07-01T08:45:56Z | 2024-07-04T13:08:51Z | https://github.com/strukturag/libheif/issues/1212 | 2,383,229,455 | 1,212 |
[
"strukturag",
"libheif"
] | @bradh I got a fuzzer hitting an integer overflow:
````
libheif/codecs/uncompressed_box.cc:263:38: runtime error: unsigned integer overflow: 4294967295 + 1 cannot be represented in type 'unsigned int'
````
https://github.com/strukturag/libheif/blob/9d4a5107c469c76fec7146b896819bc215a66fbe/libheif/codecs/uncompr... | Integer overflow in uncompressed_box.cc | https://api.github.com/repos/strukturag/libheif/issues/1206/comments | 3 | 2024-06-28T10:50:56Z | 2024-07-05T09:36:49Z | https://github.com/strukturag/libheif/issues/1206 | 2,380,141,842 | 1,206 |
[
"strukturag",
"libheif"
] | My understanding is that when attempting to decode heic to an output colorspace (such as RGB), libheif does this:
* Use plugin to decode
* Each plugin has its own decode buffer to decode to and call into heif_image_add_plane to allocate for each plane and then memcpy from the decode buffer into the heif image plane b... | Reuse decoder buffer (instead of alloc + memcpy) | https://api.github.com/repos/strukturag/libheif/issues/1202/comments | 4 | 2024-06-27T18:50:41Z | 2024-06-28T01:29:50Z | https://github.com/strukturag/libheif/issues/1202 | 2,378,879,426 | 1,202 |
[
"strukturag",
"libheif"
] | Currently, the quality factor is specific to each codec (even each encoder).
Investigate whether it is possible to find a comparable quality scale over all codecs.
#1136
| Comparable quality scale | https://api.github.com/repos/strukturag/libheif/issues/1200/comments | 0 | 2024-06-26T22:54:35Z | 2024-06-26T22:54:35Z | https://github.com/strukturag/libheif/issues/1200 | 2,376,402,674 | 1,200 |
[
"strukturag",
"libheif"
] | Some codecs support images composed of tiles at the codec level (ISO 23001-17, h.265).
Is there any use-case to support this for writing and fast access or would it be easier to just use the HEIF tiling mechanism and consider each coded image as a unit?
Note: clearly, we should support tiles in the codec when readi... | Image grids at the codec level | https://api.github.com/repos/strukturag/libheif/issues/1197/comments | 7 | 2024-06-25T20:05:35Z | 2024-07-19T10:54:40Z | https://github.com/strukturag/libheif/issues/1197 | 2,373,568,483 | 1,197 |
[
"strukturag",
"libheif"
] | The Go language binding is currently is a deserted state. I am no Go user and thus I do not plan to maintain this in the future.
Is anybody interested in maintaining the Go language bindings?
This could be either within the libheif repository as it is now, or we could move the Go bindings to a different repository ... | Go language binding maintainer needed | https://api.github.com/repos/strukturag/libheif/issues/1196/comments | 3 | 2024-06-25T19:27:14Z | 2024-08-10T21:26:46Z | https://github.com/strukturag/libheif/issues/1196 | 2,373,491,015 | 1,196 |
[
"strukturag",
"libheif"
] | cmin box is a fullbox that owns its flags definitions, but I don't find the spec from ISO 23008-12 or 14496-12.
I got a heic image that its version-flags bytes are: 00 00 1D 00
but when I set_intrinsic_matrix(), the flags are always 00 00 13 00
I don't know how to manage it. Is there a hint for me? | "cmin" box header flags meaning | https://api.github.com/repos/strukturag/libheif/issues/1191/comments | 5 | 2024-06-19T09:42:38Z | 2024-06-21T01:09:13Z | https://github.com/strukturag/libheif/issues/1191 | 2,361,889,491 | 1,191 |
[
"strukturag",
"libheif"
] | I found that the heic format photos taken by **iPhone15 pro** under **iOS18** cannot be converted to jpg by **heif-convert**
libheif version: 1.17.6
Here are some logs:
```bash
nero@d2c24395c402:/upload# heif-convert IMG_1159.HEIC 1.jpg
Could not read HEIF/AVIF file: Invalid input: Unspecified: Too many auxili... | Unable to convert heic to jpg taken by iPhone 15 pro iOS18 | https://api.github.com/repos/strukturag/libheif/issues/1190/comments | 13 | 2024-06-17T09:44:48Z | 2024-08-06T08:27:11Z | https://github.com/strukturag/libheif/issues/1190 | 2,356,896,036 | 1,190 |
[
"strukturag",
"libheif"
] | Hi, I use heif_convert command(from libheif example) to convert below heif image to jpg/png. The output image color incorrect which seems too green
[1040g008313u8g0qp1m4g5nkalku094d2qla98k0 2.heic.zip](https://github.com/user-attachments/files/15837489/1040g008313u8g0qp1m4g5nkalku094d2qla98k0.2.heic.zip)
| heic image decode color incorrect | https://api.github.com/repos/strukturag/libheif/issues/1189/comments | 11 | 2024-06-14T11:42:20Z | 2024-06-18T08:01:10Z | https://github.com/strukturag/libheif/issues/1189 | 2,353,189,459 | 1,189 |
[
"strukturag",
"libheif"
] | Hello all, I tried the [demo ](https://strukturag.github.io/libheif/) (version 1.16.2) to convert a [HIF file (10 bit) ](https://we.tl/t-sgYLO9lAY7) to JPG. The conversion went smoothly, however, I noticed two things : 1) No tone mapping has been applied (JPG image looks flat) and 2) All EXIF have been lost.
Is this a... | Canon HIF (10 bit) Conversion to JPG : Tone Mapping & EXIF | https://api.github.com/repos/strukturag/libheif/issues/1183/comments | 11 | 2024-06-09T18:32:15Z | 2024-06-13T15:09:00Z | https://github.com/strukturag/libheif/issues/1183 | 2,342,418,813 | 1,183 |
[
"strukturag",
"libheif"
] | Now that kvazaar is available in Debian (https://packages.debian.org/source/sid/kvazaar), I want to enable the kvazaar plugin there.
Unfortunately the encode tests are failing now:
```
./tests/encode.cc:154: FAILED:
REQUIRE( ispe_width == expected_ispe_width )
with expansion:
128 == 122
```
Full log:
<... | Encode tests failing with kvazaar plugin available | https://api.github.com/repos/strukturag/libheif/issues/1178/comments | 1 | 2024-05-27T13:21:36Z | 2024-06-17T17:51:48Z | https://github.com/strukturag/libheif/issues/1178 | 2,319,149,525 | 1,178 |
[
"strukturag",
"libheif"
] | I saw the code do ImageGrid::write() but I don't know how to use it. I think this is related with Box_iref, iloc and iinf box.
Is there spec or handbook to do this? I have 23008-12 and 14496-12 spec but don't understand how this works..
Could somebody give me some hint?
And is iref_box can reference to single imag... | How to create a grid HEIF | https://api.github.com/repos/strukturag/libheif/issues/1176/comments | 1 | 2024-05-23T13:08:09Z | 2024-06-25T18:19:11Z | https://github.com/strukturag/libheif/issues/1176 | 2,312,883,259 | 1,176 |
[
"strukturag",
"libheif"
] | Null on this line:
console.log("Using libheif", libheif.heif_get_version());
> Uncaught TypeError: libheif.heif_get_version is not a function at window.onload (libheif/:314:46)
But it works fine if I reload. execution order maybe?
```
window.onload = function() {
hide("loading");
... | null in js demo https://strukturag.github.io/libheif/ | https://api.github.com/repos/strukturag/libheif/issues/1174/comments | 0 | 2024-05-21T06:20:50Z | 2024-05-21T06:26:36Z | https://github.com/strukturag/libheif/issues/1174 | 2,307,415,914 | 1,174 |
[
"strukturag",
"libheif"
] | Hi all,
I want to test the JPEG encode into HEIC, so I build libjpeg by myself although I'm not familiar to cmake and Windows programming. But when using the command:
`cmake .. -DPNG_LIBRARY=e:\Downloads\libheif-master\lib\ -DPNG_PNG_INCLUDE_DIR=e:\Downloads\libheif-master\include\
-DZLIB_LIBRARY=e:\Downloads\... | When cmake with JPEG will failed: CMakeLists.txt:32: Parse error. Function missing ending ")". | https://api.github.com/repos/strukturag/libheif/issues/1170/comments | 4 | 2024-05-20T12:54:48Z | 2024-05-24T23:11:54Z | https://github.com/strukturag/libheif/issues/1170 | 2,305,940,530 | 1,170 |
[
"strukturag",
"libheif"
] | Mentioning this here for lack of a better place (I can't seem to create a bug [here](https://bugs.launchpad.net/~strukturag)).
Signing keys for strukturag PPAs are encrypted using rsa1024 ([link](https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=index&search=0xC6610628A707A7E5E391D27A9641080A705C2B92)), whic... | Encrypt ppa signing key with non-deprecated algorithm | https://api.github.com/repos/strukturag/libheif/issues/1169/comments | 5 | 2024-05-09T19:39:46Z | 2024-07-25T14:36:22Z | https://github.com/strukturag/libheif/issues/1169 | 2,288,332,101 | 1,169 |
[
"strukturag",
"libheif"
] | When heif_context* doesn't read from a file, `HeifFile::m_input_stream` never initialized. Therefore, calling `heif_decode_image()` results in an unexpected Segmentation Fault.
```C
// Read HEIF
heif_context* ctx_read = heif_context_alloc();
heif_context_read_from_file(ctx_read, filename, nullptr);
hei... | Encode then Decode Crash | https://api.github.com/repos/strukturag/libheif/issues/1168/comments | 0 | 2024-05-07T16:16:42Z | 2024-05-07T16:16:42Z | https://github.com/strukturag/libheif/issues/1168 | 2,283,755,913 | 1,168 |
[
"strukturag",
"libheif"
] | Inside the `reset` method of the `decoder_context` the following is done:
```
dpb.clear();
nal_parser.remove_pending_input_data();
```
Should this not also be done inside the destructor of `decoder_context`? We are getting an oss-fuzz error report about memory leaks of `NAL_unit` in the oss-fuzz tooling ... | Should the destructor of decoder_context include more cleanups? | https://api.github.com/repos/strukturag/libheif/issues/1166/comments | 1 | 2024-05-04T16:30:39Z | 2024-06-11T18:49:02Z | https://github.com/strukturag/libheif/issues/1166 | 2,279,103,313 | 1,166 |
[
"strukturag",
"libheif"
] | ### Summary
SEGV in `openjpeg_decode_image`
### Version
- commit : 9ea417c17d91516291cfad193363f9915273a65d
### reproduce
```
# openjpeg commit: 51f097e6d5754ddae93e716276fe8176b44ec548
# step1: you need build this openjpeg with asan.
# step2: build libheif with asan with it.
CC="gcc -g -fsanitize=addres... | SEGV in `openjpeg_decode_image` | https://api.github.com/repos/strukturag/libheif/issues/1165/comments | 1 | 2024-04-30T01:21:38Z | 2024-04-30T01:30:35Z | https://github.com/strukturag/libheif/issues/1165 | 2,270,308,542 | 1,165 |
[
"strukturag",
"libheif"
] | Original issue with file example is here:
https://github.com/bigcat88/pillow_heif/issues/234
Is there a way to get this information from an image and save the file so it contains it?

I tried to find where... | How can I retrieve additional metadata information from the Spatial HEIC | https://api.github.com/repos/strukturag/libheif/issues/1164/comments | 23 | 2024-04-25T11:53:26Z | 2024-06-17T10:09:19Z | https://github.com/strukturag/libheif/issues/1164 | 2,263,393,799 | 1,164 |
[
"strukturag",
"libheif"
] | The `--depth` of avifenc enables it, can heif-enc add a similar option? Thanks. | Is it possible to add the option to convert 8bit input to 10bit encoding for heif-enc? | https://api.github.com/repos/strukturag/libheif/issues/1163/comments | 17 | 2024-04-13T10:04:15Z | 2024-04-14T00:41:54Z | https://github.com/strukturag/libheif/issues/1163 | 2,241,473,901 | 1,163 |
[
"strukturag",
"libheif"
] | `Run the aom.cmd script in the third-party directory to download libaom and compile it.`
This script requires cmake, ninja nasm to be installed, and even then it won't build the libaom successfully. In order to build it, use:
`vcpkg install aom:x64-windows`
command in vcpkg folder. Also make sure you do this bef... | Please update the Windows build instructions for libaom to use vcpkg system | https://api.github.com/repos/strukturag/libheif/issues/1162/comments | 1 | 2024-04-12T15:42:26Z | 2024-04-12T23:33:41Z | https://github.com/strukturag/libheif/issues/1162 | 2,240,411,407 | 1,162 |
[
"strukturag",
"libheif"
] | Hello,
I am using libheif to encode large images via x265 encoder. I am interested in testing the smallest CTU size (16).
I receive the `Invalid Image size` error. For squared images with size HxH, this happens for H>1488.
For convenience, we can reproduce the error using `heif-enc` on a 2048x2048 test image:
`... | Error in encoding big images with CTU size 16 | https://api.github.com/repos/strukturag/libheif/issues/1161/comments | 4 | 2024-04-12T15:27:15Z | 2024-07-09T10:34:16Z | https://github.com/strukturag/libheif/issues/1161 | 2,240,386,152 | 1,161 |
[
"strukturag",
"libheif"
] | I am learning libheif, I want to change the compatible brands,, pls help me. | How to change the compatible brands of heic image | https://api.github.com/repos/strukturag/libheif/issues/1160/comments | 2 | 2024-04-02T07:52:25Z | 2024-04-02T10:27:43Z | https://github.com/strukturag/libheif/issues/1160 | 2,219,816,674 | 1,160 |
[
"strukturag",
"libheif"
] | PLS help:
cmake --preset=release-noplugins .. -DCMAKE_INSTALL_PREFIX=/test/libheif/libheif-1.17.6/build/OUT
make
then error happened:
Scanning dependencies of target heif-test
[ 47%] Building CXX object examples/CMakeFiles/heif-test.dir/heif_test.cc.o
[ 48%] Building CXX object examples/CMakeFiles/heif-test.dir/... | compile failed:undefined reference to `get_encoder_plugin_mask()' | https://api.github.com/repos/strukturag/libheif/issues/1159/comments | 8 | 2024-04-02T06:38:04Z | 2024-04-02T10:42:48Z | https://github.com/strukturag/libheif/issues/1159 | 2,219,679,613 | 1,159 |
[
"strukturag",
"libheif"
] | ### Description
SEGV in `uncompressed_image_type_is_supported`
### Version
```
commit ID c98a3fae1ac63cc6052e40b26733396a8598542d
```
```
➜ libheif git:(master) ✗ ./build_asan/examples/heif-info -v
1.17.6
libheif: 1.17.6
plugin path: ./libheif/build_asan/lib/libheif
```
### Replay
```
... | SEGV in `uncompressed_image_type_is_supported` | https://api.github.com/repos/strukturag/libheif/issues/1157/comments | 3 | 2024-03-29T11:02:23Z | 2024-07-09T10:34:49Z | https://github.com/strukturag/libheif/issues/1157 | 2,215,130,072 | 1,157 |
[
"strukturag",
"libheif"
] | There is a flag on item property references if it is "essential" that it be understood. Right now, it looks like we're ignoring that, and potentially trying to handle images that require functionality we don't provide.
I hit this experimenting with the ISO 23001-17 Amd 2 CDAM generically compressed image support, wh... | Essential item properties should be checked | https://api.github.com/repos/strukturag/libheif/issues/1153/comments | 1 | 2024-03-20T10:00:59Z | 2024-06-25T19:33:04Z | https://github.com/strukturag/libheif/issues/1153 | 2,197,128,255 | 1,153 |
[
"strukturag",
"libheif"
] | How to compile libheif with openjpeg ?
I use `PKG_CONFIG_PATH` but failed, I do not want install this library:
```
-- The imported target "opj_decompress" references the file
"/usr/bin/opj_decompress"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to ano... | How to Compile libheif with openjpeg ? | https://api.github.com/repos/strukturag/libheif/issues/1152/comments | 4 | 2024-03-20T08:49:12Z | 2024-03-20T12:31:13Z | https://github.com/strukturag/libheif/issues/1152 | 2,196,973,921 | 1,152 |
[
"strukturag",
"libheif"
] | Not sure why but I can't get it to buildjs using the emscripten script from source or from 1.17.6 per the readme.
```
[ 75%] Building CXX object libheif/CMakeFiles/heif.dir/plugins/encoder_mask.cc.o
cd /home/user/libheif/buildjs/libheif && /usr/bin/em++ -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DLIBHEIF_EXPORTS @CMakeF... | Build error file not found | https://api.github.com/repos/strukturag/libheif/issues/1151/comments | 2 | 2024-03-20T02:38:12Z | 2024-03-24T03:11:35Z | https://github.com/strukturag/libheif/issues/1151 | 2,196,560,911 | 1,151 |
[
"strukturag",
"libheif"
] | Using the command `heif-convert` with the quality option `-q [0...100]` only has an effect when the output type is jpg.
The option has no effect for `.png` and `.y4m`.
It would be cool if that could be reflected in the man pages. | Add info to Man page; Quality; png | https://api.github.com/repos/strukturag/libheif/issues/1150/comments | 1 | 2024-03-19T21:47:46Z | 2024-08-10T08:58:41Z | https://github.com/strukturag/libheif/issues/1150 | 2,196,084,370 | 1,150 |
[
"strukturag",
"libheif"
] | Filing issue to document email thread with @farindk.
ImageMagick is rejecting some prototype files that I have been creating with the following error:
identify: Invalid input: Unspecified: Too many auxiliary image references (2.0) `file_with_shared_alpha.heic' @ error/heic.c/IsHEIFSuccess/142.
The error is comin... | Files with shared auxiliary images fail to parse | https://api.github.com/repos/strukturag/libheif/issues/1147/comments | 8 | 2024-03-18T18:56:43Z | 2024-06-26T17:28:54Z | https://github.com/strukturag/libheif/issues/1147 | 2,193,024,118 | 1,147 |
[
"strukturag",
"libheif"
] | Hi!
I've had this setup before for heic decoding on Android:
CMakeLists.txt
```
if (POLICY CMP0079)
cmake_policy(SET CMP0079 NEW)
endif ()
FetchContent_Declare(libheif
GIT_REPOSITORY https://github.com/strukturag/libheif
GIT_TAG v1.12.0
PATCH_COMMAND echo "" > tests/CMakeList... | Failed to decode image: Unsupported feature: Unsupported codec | https://api.github.com/repos/strukturag/libheif/issues/1145/comments | 8 | 2024-03-12T13:49:39Z | 2024-03-28T18:17:16Z | https://github.com/strukturag/libheif/issues/1145 | 2,181,674,068 | 1,145 |
[
"strukturag",
"libheif"
] | I downloaded photos from my google drive. On the google-drive I can preview my file. When I downloaded it, I can not view.
Some of the other files that I downloaded are 1.7meg or smaller and they can be viewed.
I am using Ubuntu V18.04, your library, correctly installed I think. image_viewer is my rendering ... | HEIC rendering file larger than 1.7meg on ubuntu 18.04 fails | https://api.github.com/repos/strukturag/libheif/issues/1144/comments | 2 | 2024-03-11T15:24:10Z | 2024-03-12T08:46:46Z | https://github.com/strukturag/libheif/issues/1144 | 2,179,424,529 | 1,144 |
[
"strukturag",
"libheif"
] | The kvazaar plugin has some memory leaks. In particular, the data chunks returned from kvazaar as encoded image are not freed in all cases. See See https://github.com/strukturag/libheif/pull/1141 for a possible fix. | Memory leaks when encoding with kvazaar | https://api.github.com/repos/strukturag/libheif/issues/1143/comments | 1 | 2024-03-11T08:22:32Z | 2024-06-27T13:57:32Z | https://github.com/strukturag/libheif/issues/1143 | 2,178,514,779 | 1,143 |
[
"strukturag",
"libheif"
] | null | whether heif supports images with alpha, such as webp? | https://api.github.com/repos/strukturag/libheif/issues/1142/comments | 10 | 2024-03-11T07:12:10Z | 2024-03-12T08:48:04Z | https://github.com/strukturag/libheif/issues/1142 | 2,178,387,602 | 1,142 |
[
"strukturag",
"libheif"
] | ### Description
Stack-buffer-overwrite in function heif_image_get_decoding_warnings
### Version
```
commit ID 33e00a4ec54e6fffca3febe3054017b1b81a0c49
```
```
$ ./examples/heif-convert -v
1.17.6
libheif: 1.17.6
plugin path: /usr/local/lib/libheif
```
```
$ ./examples/heif-convert --list-decoders
HEIC de... | Stack-buffer-overwrite in function heif_image_get_decoding_warnings | https://api.github.com/repos/strukturag/libheif/issues/1140/comments | 0 | 2024-03-08T03:14:14Z | 2024-03-08T03:14:14Z | https://github.com/strukturag/libheif/issues/1140 | 2,175,195,681 | 1,140 |
[
"strukturag",
"libheif"
] | Hello,
How can I set the `ctuSize` when using `heif_compression_HEVC` as `heif::Encoder`?
Is the parameter already exposed to libheif users? Or does the codebase require changes?
Thank you! | ctuSize in heif_compression_HEVC encoder | https://api.github.com/repos/strukturag/libheif/issues/1138/comments | 3 | 2024-03-05T09:02:02Z | 2024-03-05T11:13:35Z | https://github.com/strukturag/libheif/issues/1138 | 2,168,664,175 | 1,138 |
[
"strukturag",
"libheif"
] | I'm trying to compile the libheif library from source on my fedora 39 machine. On both the latest tagged release and the master branch I run into this error:
I'm not sure what I'm doing wrong or how to fix it?
```
[ 87%] Building CXX object libheif/plugins/CMakeFiles/heif-j2kdec.dir/decoder_openjpeg.cc.o
/home/... | Cannot compile OpenJPEG decoder plugin | https://api.github.com/repos/strukturag/libheif/issues/1134/comments | 8 | 2024-02-28T10:18:30Z | 2024-06-11T09:47:15Z | https://github.com/strukturag/libheif/issues/1134 | 2,158,602,933 | 1,134 |
[
"strukturag",
"libheif"
] | Hi!
I faced with some issues after update libheif in a project from 1.12.0 to 1.17.6.
I'm get an errors for some files that were successfully processed in version 1.12.0.
It happens when I call heif_context_read_from_reader().
For sample_1.heic it is error code 2: "Invalid input: Unspecified: 'iref' has double ref... | Some files processing errors after update to 1.17.6 | https://api.github.com/repos/strukturag/libheif/issues/1133/comments | 7 | 2024-02-27T10:26:51Z | 2024-04-10T22:44:02Z | https://github.com/strukturag/libheif/issues/1133 | 2,156,227,665 | 1,133 |
[
"strukturag",
"libheif"
] | [Here](https://github.com/link-u/avif-sample-images/blob/master/kimono.rotate90.avif) is an image for which libheif 1.17 reports wrong dimensions for the primary image. It has width 722 and height 1024 after the correct rotation is applied, but libheif outputs 1024x722.
```
$ ./heif-info kimono.rotate90.avif
MIME ty... | Wrong image dimensions when irot is set | https://api.github.com/repos/strukturag/libheif/issues/1131/comments | 6 | 2024-02-22T22:32:59Z | 2024-06-27T14:06:01Z | https://github.com/strukturag/libheif/issues/1131 | 2,150,055,320 | 1,131 |
[
"strukturag",
"libheif"
] | Running [build-android-libs.sh](https://github.com/strukturag/libheif/blob/master/scripts/build-android-libs.sh) fails with the following error
`[ 79%] Linking CXX executable encode
ld: error: undefined symbol: __android_log_write referenced by catch.hpp:10374 (/home/vboxuser/GitHub/project/externals/libheif/tests/... | Linker fails to find Android logger | https://api.github.com/repos/strukturag/libheif/issues/1126/comments | 1 | 2024-02-10T21:21:58Z | 2024-06-11T08:00:10Z | https://github.com/strukturag/libheif/issues/1126 | 2,128,718,057 | 1,126 |
[
"strukturag",
"libheif"
] | "Error" is a very big claim in the "::" namespace, and it conflicts at link time with other libraries, some of which (eg Helix's Perforce API) are effectively un-recompilable. While it's not fair that libheif should be the one to fix this particular conflict, no library should be polluting the :: namespace like this an... | Please put the ::Error class in a real namespace or rename it something like "::HeifError" | https://api.github.com/repos/strukturag/libheif/issues/1125/comments | 12 | 2024-02-06T01:37:18Z | 2024-02-06T20:44:45Z | https://github.com/strukturag/libheif/issues/1125 | 2,119,768,623 | 1,125 |
[
"strukturag",
"libheif"
] | Why is it important?
At the moment there is no way to turn this off, which may result in unnecessary libraries being loaded, and they will by default have a higher priority than the software that comes with the libheif, what will cause a very tricker debug why for specific cases your code work not as expected.
Also... | Provide a way to disable automatic loading plugins from LIBHEIF_PLUGIN_DIRECTORY | https://api.github.com/repos/strukturag/libheif/issues/1122/comments | 0 | 2024-02-02T09:26:36Z | 2024-02-02T09:26:36Z | https://github.com/strukturag/libheif/issues/1122 | 2,114,479,097 | 1,122 |
[
"strukturag",
"libheif"
] | When there are several encoders / decoders for the same format, we might want to prefer hardware codecs over software, but they may have limitations on their maximum supported sizes, bpp, ... (see comment in: https://github.com/strukturag/libheif/pull/1072/#issuecomment-1869384941).
We need to extend the plugin API to... | Provide a way to specify list of codecs in order of priority | https://api.github.com/repos/strukturag/libheif/issues/1111/comments | 0 | 2024-01-16T11:17:42Z | 2024-01-16T11:17:42Z | https://github.com/strukturag/libheif/issues/1111 | 2,083,688,526 | 1,111 |
[
"strukturag",
"libheif"
] | Probably not really an issue when using software encoders, but might be more complicated if there is hardware involved.
```
$ valgrind --leak-check=full ./examples/heif-enc --params --encoder x265 /usr/share/wallpapers/Dance_of_the_Spirits/contents/images/2560x1600.jpg -o out.heif
==17583== Memcheck, a memory erro... | heif-enc leaks encoder when using --params | https://api.github.com/repos/strukturag/libheif/issues/1102/comments | 1 | 2024-01-11T01:17:58Z | 2024-06-11T18:57:04Z | https://github.com/strukturag/libheif/issues/1102 | 2,075,521,615 | 1,102 |
[
"strukturag",
"libheif"
] | Something like:
```
./examples/heif-enc --params --encoder x265
```
should produce the list of parameters, but it produces a usage statement.
Instead, it needs the input file to get past the command line checks, even though it isn't using that file (and makes no output). | heif-enc requires input file to show parameters | https://api.github.com/repos/strukturag/libheif/issues/1101/comments | 0 | 2024-01-11T01:12:13Z | 2024-06-11T13:23:20Z | https://github.com/strukturag/libheif/issues/1101 | 2,075,512,861 | 1,101 |
[
"strukturag",
"libheif"
] | This is a placeholder, a bit more investigation required to fully scope the problem.
It looks like heif-enc actually shows the current value.
https://github.com/strukturag/libheif/blob/d9daff2e6e54cc21c3f01a9312af73f2cbd4c8f5/examples/heif_enc.cc#L227-L233
and
https://github.com/strukturag/libheif/blob/d9daff2e... | heif-enc --params does not show integer defaults | https://api.github.com/repos/strukturag/libheif/issues/1100/comments | 0 | 2024-01-10T08:56:42Z | 2024-01-10T08:56:42Z | https://github.com/strukturag/libheif/issues/1100 | 2,073,892,752 | 1,100 |
[
"strukturag",
"libheif"
] | Building libheif with brew with modified formula:
`
-DWITH_FFMPEG_DECODER=ON
-DWITH_FFMPEG_DECODER_PLUGIN=ON
`
```
[100%] Linking CXX shared module libheif-ffmpegdec.so
cd /tmp/libheif-20240107-59963-jb96bl/libheif-1.17.6/build/libheif/plugins && /opt/homebrew/Cellar/cmake/3.28.1/bin/cmake -E cmake_link_scri... | [macOS] WITH_FFMPEG_DECODER -> Undefined symbol | https://api.github.com/repos/strukturag/libheif/issues/1095/comments | 5 | 2024-01-07T10:00:42Z | 2024-01-07T14:49:28Z | https://github.com/strukturag/libheif/issues/1095 | 2,069,066,008 | 1,095 |
[
"strukturag",
"libheif"
] | $ /opt/heif/bin/heif-info --version
1.17.6
libheif: 1.17.6
plugin path: /opt/heif/lib/libheif
$ /opt/heif/bin/heif-info /save/axel/alr3/y23/m2306/d2306_wldkrc/IMG_1539.HEIC
MIME type: image/heic
main brand: heic
compatible brands: mif1, MiPr, miaf, MiHB, heic
image: 4032x... | Could not decode image Unsupported feature: Unsupported codec | https://api.github.com/repos/strukturag/libheif/issues/1094/comments | 5 | 2024-01-06T10:57:21Z | 2024-01-08T12:55:31Z | https://github.com/strukturag/libheif/issues/1094 | 2,068,533,886 | 1,094 |
[
"strukturag",
"libheif"
] | Building w/ Clang 17 fails w/
```
C:/_/B/src/libheif-1.17.6/libheif/plugins/encoder_kvazaar.cc:480:12: error: variable 'kvzChroma' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
480 | else if (chroma == heif_chroma_444) {
| ^~~~~~~~~~~~~~~~~~~~~~~... | error: variable 'kvzChroma' is used uninitialized | https://api.github.com/repos/strukturag/libheif/issues/1089/comments | 3 | 2024-01-04T10:19:59Z | 2024-01-08T09:21:18Z | https://github.com/strukturag/libheif/issues/1089 | 2,065,377,396 | 1,089 |
[
"strukturag",
"libheif"
] | Currently the pixbuf loader only supports loading files - it would be great if it also supported saving files, which would enable applications like Pinta (https://github.com/PintaProject/Pinta/issues/653) to support editing `.heic` files | Pixbuf loader: support saving files | https://api.github.com/repos/strukturag/libheif/issues/1088/comments | 0 | 2024-01-03T05:39:13Z | 2024-01-03T05:39:13Z | https://github.com/strukturag/libheif/issues/1088 | 2,063,274,617 | 1,088 |
[
"strukturag",
"libheif"
] | libheif-1.17.6/libheif/plugins/encoder_jpeg.cc:366:37: error: invalid conversion from 'long unsigned
int*' to 'size_t*' {aka 'unsigned int*'} [-Werror=permissive]
366 | jpeg_mem_dest(&cinfo, &outbuffer, &outlength);
| ^~~~~~~~~~
| ... | 32-bit compile fails | https://api.github.com/repos/strukturag/libheif/issues/1086/comments | 1 | 2024-01-02T09:11:23Z | 2024-01-08T19:18:00Z | https://github.com/strukturag/libheif/issues/1086 | 2,062,131,236 | 1,086 |
[
"strukturag",
"libheif"
] | Running libheif's examples in macOS Sonoma 14.2.1 (have not checked earlier macOS versions) gives an error:
```
% /usr/local/bin/heif-info /System/Library/Desktop\ Pictures/Sonoma.heic
dyld[92961]: Library not loaded: @rpath/libheif.1.dylib
Referenced from: <B7A8B87B-46A4-3205-A732-A4F618AFB2F7> /usr/local/bin/he... | libheif's examples do not run in macOS Sonoma | https://api.github.com/repos/strukturag/libheif/issues/1085/comments | 1 | 2024-01-01T21:22:11Z | 2024-01-07T12:17:57Z | https://github.com/strukturag/libheif/issues/1085 | 2,061,779,362 | 1,085 |
[
"strukturag",
"libheif"
] | Hi,
I just discovered that there is CVE-2023-49460 + CVE-2023-49464 impacting libheif1 when the library is compiled with the `WITH_UNCOMPRESSED_CODEC` option and that the vulnerable function is used. So I asked myself, should this experimental option be enabled by default?
There is difference between the Default C... | Uncompressed codec enabled by default even if experimental? | https://api.github.com/repos/strukturag/libheif/issues/1084/comments | 6 | 2023-12-31T13:42:52Z | 2024-01-07T21:06:35Z | https://github.com/strukturag/libheif/issues/1084 | 2,061,064,248 | 1,084 |
[
"strukturag",
"libheif"
] | Exposing the version number in the public header `heif_version.h` is problematic. Client programs might assume that this is the currently installed version, while it is just the libheif version that the client was compiled against. The actually installed libheif version will often be different.
Version information s... | `heif_version.h` should be removed | https://api.github.com/repos/strukturag/libheif/issues/1082/comments | 7 | 2023-12-28T19:36:39Z | 2024-01-07T21:13:24Z | https://github.com/strukturag/libheif/issues/1082 | 2,058,763,678 | 1,082 |
[
"strukturag",
"libheif"
] | Description
Memory leaks in function JpegEncoder::Encode
Version
heif-convert libheif version: 1.17.6
Replay
cd libheif
mkdir build && cd build
export CC=afl-clang-fast CXX=afl-clang-fast++ CFLAGS="-gdwarf-2 -g3 -O0 -fsanitize=address,undefined -fno-omit-frame-pointer" CXXFLAGS="-gdwarf-2 -g3 -O0 -fsanitize=... | Memory leaks in function JpegEncoder::Encode | https://api.github.com/repos/strukturag/libheif/issues/1073/comments | 0 | 2023-12-21T07:52:37Z | 2023-12-21T10:51:01Z | https://github.com/strukturag/libheif/issues/1073 | 2,051,901,212 | 1,073 |
[
"strukturag",
"libheif"
] | At the end of the year I look at what has changed.
A new AV2 codec has arrived, and it is unknown what its future will be. The joke is that you can't install AOM and AVM together because they have the same function names.
Is this a transitional version or maybe a new codec? Who knows that.
webp2 changed practically ... | Competition and trends in the github library. | https://api.github.com/repos/strukturag/libheif/issues/1069/comments | 5 | 2023-12-17T07:06:59Z | 2024-06-28T08:45:02Z | https://github.com/strukturag/libheif/issues/1069 | 2,045,091,217 | 1,069 |
[
"strukturag",
"libheif"
] | Description
Null pointer dereference in libheif/uncompressed_image.cc:758
Version
heif-convert libheif version: 1.17.5
Replay
cd libheif
mkdir build && cd build
export CC=afl-clang-fast CXX=afl-clang-fast++ CFLAGS="-gdwarf-2 -g3 -O0 -fsanitize=address,undefined -fno-omit-frame-pointer" CXXFLAGS="-gdwarf-2 ... | Null pointer dereference in UncompressedImageCodec::decode_uncompressed_image | https://api.github.com/repos/strukturag/libheif/issues/1065/comments | 0 | 2023-12-14T03:35:54Z | 2023-12-14T12:27:12Z | https://github.com/strukturag/libheif/issues/1065 | 2,040,842,864 | 1,065 |
[
"strukturag",
"libheif"
] | ```shell
[root@VM-8-3-centos imageMagick]# heif-convert --list-decoders
HEIC decoders:
AVIF decoders:
JPEG decoders:
- jpeg = libjpeg-turbo 1.2.90 (libjpeg 6.2)
JPEG 2000 decoders:
uncompressed: yes
[root@VM-8-3-centos imageMagick]# heif-convert -q 100 IMG_0376.HEIC -o jpg.jpg
File contains 1 image
Could no... | Unsupported feature: Unsupported codec | https://api.github.com/repos/strukturag/libheif/issues/1063/comments | 1 | 2023-12-12T05:59:30Z | 2023-12-14T12:17:27Z | https://github.com/strukturag/libheif/issues/1063 | 2,037,041,607 | 1,063 |
[
"strukturag",
"libheif"
] | I want to static link libheif.a (on macOS) but got this problem:
```
ld: Undefined symbols:
_inflate, referenced from:
```
`libheif.a` was built using options:
```
preset=release-noplugins
WITH_AOM_DECODER=OFF
WITH_AOM_ENCODER=OFF
WITH_JPEG_DECODER=OFF
WITH_JPEG_ENCODER=OFF
WITH_EXAMPLES=OFF
```
... | ZLIB not listed in Requires.private | https://api.github.com/repos/strukturag/libheif/issues/1057/comments | 6 | 2023-12-04T08:38:13Z | 2023-12-15T15:24:46Z | https://github.com/strukturag/libheif/issues/1057 | 2,023,311,289 | 1,057 |
[
"strukturag",
"libheif"
] | ### Description
AddressSanitizer: SEGV in `decode_uncompressed_image`
### Version
```
commit: 64ece913266609789f5dc70fe7de9eb759badd7f
heif-convert libheif version: 1.17.5
-------------------------------------------
Usage: heif-convert [options] <input-image> [output-image]
The program determines th... | AddressSanitizer: SEGV in `decode_uncompressed_image` | https://api.github.com/repos/strukturag/libheif/issues/1046/comments | 2 | 2023-11-22T12:10:09Z | 2023-12-14T15:36:32Z | https://github.com/strukturag/libheif/issues/1046 | 2,006,207,463 | 1,046 |
[
"strukturag",
"libheif"
] | ### Description
heap-use-after-free/SEGV/heap-buffer-overflow in `UncompressedImageCodec::decode_uncompressed_image`
### Version
```
commit: 64ece913266609789f5dc70fe7de9eb759badd7f
heif-convert libheif version: 1.17.5
-------------------------------------------
Usage: heif-convert [options] <input-ima... | heap-use-after-free/SEGV/heap-buffer-overflow in UncompressedImageCodec::decode_uncompressed_image | https://api.github.com/repos/strukturag/libheif/issues/1045/comments | 1 | 2023-11-22T12:03:58Z | 2024-01-04T02:40:11Z | https://github.com/strukturag/libheif/issues/1045 | 2,006,197,224 | 1,045 |
[
"strukturag",
"libheif"
] | ### Description
heap-use-after-free/SEGV/heap-buffer-overflow `libheif/libheif/uncompressed_image.cc:537` in `UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci`
### Version
```
commit: 64ece913266609789f5dc70fe7de9eb759badd7f
heif-convert libheif version: 1.17.5
--------------------... | heap-use-after-free/SEGV/heap-buffer-overflow in UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci | https://api.github.com/repos/strukturag/libheif/issues/1044/comments | 1 | 2023-11-22T11:55:49Z | 2023-12-07T20:31:37Z | https://github.com/strukturag/libheif/issues/1044 | 2,006,182,548 | 1,044 |
[
"strukturag",
"libheif"
] | ### Description
SEGV `libheif/libheif/exif.cc:55` in `read16`
### Version
```
heif-convert libheif version: 1.17.5
-------------------------------------------
Usage: heif-convert [options] <input-image> [output-image]
The program determines the output file format from the output filename suffix.
Thes... | SEGV libheif/libheif/exif.cc:55 in read16 | https://api.github.com/repos/strukturag/libheif/issues/1043/comments | 2 | 2023-11-22T09:15:02Z | 2023-12-14T15:09:47Z | https://github.com/strukturag/libheif/issues/1043 | 2,005,894,442 | 1,043 |
[
"strukturag",
"libheif"
] | ### Description
SEGV `libheif/libheif/exif.cc:88` in `find_exif_tag`
### Version
```
heif-convert libheif version: 1.17.5
-------------------------------------------
Usage: heif-convert [options] <input-image> [output-image]
The program determines the output file format from the output filename suffix... | SEGV libheif/libheif/exif.cc:88 in find_exif_tag | https://api.github.com/repos/strukturag/libheif/issues/1042/comments | 1 | 2023-11-22T09:11:42Z | 2023-12-14T12:38:24Z | https://github.com/strukturag/libheif/issues/1042 | 2,005,888,692 | 1,042 |
[
"strukturag",
"libheif"
] | good day,
as mentioned here: https://github.com/tonycoz/imager/issues/511
i am experiencing what appears to be extreme growth (500-750MB) in VSZ when reading in a relatively-small (2MB) file.
```
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4280 sburton 20 0 752.5m 47.0m 14.... | high RAM usage when reading in 2MB .heic file | https://api.github.com/repos/strukturag/libheif/issues/1032/comments | 23 | 2023-11-11T03:56:29Z | 2024-01-04T01:34:16Z | https://github.com/strukturag/libheif/issues/1032 | 1,988,706,072 | 1,032 |
[
"strukturag",
"libheif"
] | Discovered during testing when I was trying to add the ability to write the HEIF orientation for Pillow-Heif.
Can be reproduced using heif-enc, attached two samples.
[test_png.zip](https://github.com/strukturag/libheif/files/13250611/test_png.zip)
| Wrong orientation processing for 4 / 7 | https://api.github.com/repos/strukturag/libheif/issues/1026/comments | 12 | 2023-11-03T13:24:15Z | 2023-11-03T16:23:32Z | https://github.com/strukturag/libheif/issues/1026 | 1,976,201,053 | 1,026 |
[
"strukturag",
"libheif"
] | ERROR: type should be string, got "https://github.com/strukturag/libheif/blob/c469dcbd8b70c32a51c393ecfc5c591c681868e1/libheif/heif.cc#L96C1-L99C1\r\n\r\nThis method (along with its `_major` and `_maintenance` counterparts) assume that the version number parts use a packed BCD encoding, when it actually does not.\r\nIn practice, `LIBHEIF_NUMERIC_VERSION` packs the decimal version numbers into a 32-bit integer without BCD encoding, e.g. `#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (17<<16) | (1<<8) | 0)`\r\n\r\nThis bug can be reproduced with the following program:\r\n```c++\r\n#include <stdio.h>\r\n#include \"libheif/heif.h\"\r\n\r\nint main()\r\n{\r\n printf(\"%s\\n\", heif_get_version());\r\n printf(\"0x%08x\\n\", heif_get_version_number());\r\n printf(\"%d.%d.%d\\n\", heif_get_version_number_major(), heif_get_version_number_minor(), heif_get_version_number_maintenance());\r\n}\r\n```\r\n\r\nIt produces the following output:\r\n\r\n```\r\n1.17.1\r\n0x01110100\r\n1.11.1\r\n```\r\n\r\nI think the fix would be to remove the `bcd2dec` method call, and update the API documentation to remove the references to BCD encoding." | Incorrect result from `heif_get_version_number_minor` | https://api.github.com/repos/strukturag/libheif/issues/1023/comments | 1 | 2023-11-02T16:42:21Z | 2023-11-02T17:00:14Z | https://github.com/strukturag/libheif/issues/1023 | 1,974,646,720 | 1,023 |
[
"strukturag",
"libheif"
] | Boxes with a zero size field often raise issues when trying to read the whole box. There is often code like `box_size - header_size` which then gives a negative overflow. We either have to fix this in every box that does this or we have to explicitly restrict the usage of boxes with a zero size field to some types like... | General handling of boxes with zero (undefined) size | https://api.github.com/repos/strukturag/libheif/issues/1021/comments | 0 | 2023-11-02T10:43:56Z | 2023-11-02T10:45:24Z | https://github.com/strukturag/libheif/issues/1021 | 1,973,974,704 | 1,021 |
[
"strukturag",
"libheif"
] | Hello,
I struggle to install heif lib on Docker base on `public.ecr.aws/lambda/go:1.2023.10.24.16`.
Here is my Docker file
```
FROM public.ecr.aws/lambda/go:1.2023.10.24.16
RUN yum upgrade -y
RUN yum groupinstall 'Development Tools' -y # https://www.cyberciti.biz/faq/centos-linux-install-gcc-c-c-compiler/
... | encoder_png.cc error when installing on Dockerfile | https://api.github.com/repos/strukturag/libheif/issues/1020/comments | 7 | 2023-10-31T16:50:55Z | 2023-11-08T08:31:24Z | https://github.com/strukturag/libheif/issues/1020 | 1,970,885,625 | 1,020 |
[
"strukturag",
"libheif"
] | Hello,
Is there a way in the API to take a single input .heif file with multiple AVIF frames and output one .heif-file per frame without re-compressing each frame ?
| split multipage | https://api.github.com/repos/strukturag/libheif/issues/1018/comments | 2 | 2023-10-30T15:26:51Z | 2024-01-05T10:55:35Z | https://github.com/strukturag/libheif/issues/1018 | 1,968,644,605 | 1,018 |
[
"strukturag",
"libheif"
] | I bootstrapped the build with
```
mkdir build
cd build
cmake ..
```
The cmake check fails with
```
Performing C++ SOURCE FILE Test HAVE_JPEG_WRITE_ICC_PROFILE failed with the following output:
Change Dir: /path/to/libheif/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ebf80/fast"
/usr/... | Detection of "jpeg_write_icc_profile" fails on Ubuntu 20.04 | https://api.github.com/repos/strukturag/libheif/issues/1016/comments | 2 | 2023-10-30T09:31:54Z | 2023-12-20T10:27:02Z | https://github.com/strukturag/libheif/issues/1016 | 1,967,906,182 | 1,016 |
[
"strukturag",
"libheif"
] | [crash.zip](https://github.com/strukturag/libheif/files/13198141/crash.zip)
The file from archive is causing crash.
```
heif-convert clusterfuzz-testcase-minimized-kimgio_heif_fuzzer-5997988230856704.heic output.png
terminate called after throwing an instance of 'std::length_error'
what(): cannot create std... | terminate called after throwing an instance of 'std::length_error' | https://api.github.com/repos/strukturag/libheif/issues/1014/comments | 1 | 2023-10-29T13:11:22Z | 2023-10-30T19:54:42Z | https://github.com/strukturag/libheif/issues/1014 | 1,966,985,324 | 1,014 |
[
"strukturag",
"libheif"
] | Had to downgrade to 1.17.0 to restore functionality. | 1.17.1 breaks darktable from opening HEIF files. | https://api.github.com/repos/strukturag/libheif/issues/1010/comments | 18 | 2023-10-23T23:08:07Z | 2023-10-28T04:11:49Z | https://github.com/strukturag/libheif/issues/1010 | 1,958,175,196 | 1,010 |
[
"strukturag",
"libheif"
] | ```
Run ./scripts/install-ci-linux.sh
Removing packages libjpeg.*-dev libpng.*-dev ...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'libjpeg7-dev' is not installed, so not removed
Package 'libpng12-0-dev' is not installed, so not removed
Pac... | Error: pathspec '1.37.40' did not match any file(s) known to git | https://api.github.com/repos/strukturag/libheif/issues/1009/comments | 2 | 2023-10-22T10:39:07Z | 2023-10-22T11:10:50Z | https://github.com/strukturag/libheif/issues/1009 | 1,955,849,578 | 1,009 |
[
"strukturag",
"libheif"
] | `[ 97%] Building CXX object libheif/plugins/CMakeFiles/heif-jpegenc.dir/encoder_jpeg.cc.o
/home/axel/p/rpm/BUILD/libheif-1.17.1/libheif/plugins/encoder_jpeg.cc: In function 'heif_error jpeg_encode_image(void*, const heif_image*, heif_image_input_class)':
/home/axel/p/rpm/BUILD/libheif-1.17.1/libheif/plugins/encoder_j... | 1.17.1 32-bit compile fails | https://api.github.com/repos/strukturag/libheif/issues/1008/comments | 10 | 2023-10-22T08:50:43Z | 2024-01-03T13:34:45Z | https://github.com/strukturag/libheif/issues/1008 | 1,955,817,890 | 1,008 |
[
"strukturag",
"libheif"
] | We have API to get top level images, and anything that is referenced to those images (e.g. regions, metadata, aux images).
We don't have the ability to get top level metadata items. The GIMI profile uses that for security markings that apply to the file as a whole. I call that "file level" to distinguish it from ima... | API to get top level (not referenced) metadata items | https://api.github.com/repos/strukturag/libheif/issues/1007/comments | 2 | 2023-10-21T21:20:08Z | 2023-12-16T01:49:46Z | https://github.com/strukturag/libheif/issues/1007 | 1,955,668,884 | 1,007 |
[
"strukturag",
"libheif"
] | Hello,
I am using strict_decoding and I received following report from fuzzer:
```
heif_decode_image error: Invalid input: Unknown NCLX matrix coefficients: Unknown error
=================================================================
==222987==ERROR: LeakSanitizer: detected memory leaks
Direct leak of ... | memory leak when strict_decoding is enabled | https://api.github.com/repos/strukturag/libheif/issues/1006/comments | 2 | 2023-10-20T19:26:38Z | 2023-10-24T21:06:59Z | https://github.com/strukturag/libheif/issues/1006 | 1,954,905,981 | 1,006 |
[
"strukturag",
"libheif"
] | Subj. Will be good if release will appear. ) | Can we get `1.17.1` version release at `ppa:strukturag/libheif` | https://api.github.com/repos/strukturag/libheif/issues/1005/comments | 6 | 2023-10-20T17:27:42Z | 2023-11-21T09:32:14Z | https://github.com/strukturag/libheif/issues/1005 | 1,954,745,944 | 1,005 |
[
"strukturag",
"libheif"
] | This is work in progress, but ultimatively add ‘taic’ & ‘itai’ boxes which provide support for nano-precision timestamps.
| Add `taic`, `itai` timestamp boxes | https://api.github.com/repos/strukturag/libheif/issues/1003/comments | 3 | 2023-10-19T19:53:42Z | 2023-11-13T00:06:33Z | https://github.com/strukturag/libheif/issues/1003 | 1,952,958,660 | 1,003 |
[
"strukturag",
"libheif"
] | Some applications might want to safe non-standardized data into the HEIF file. To enable this use case, there should be an API function to write (and read) custom data items.
a. Adding an optional item_name
b. Specifying the construction method (store in mdat or idat)
c. An option to associate the item wi... | Add API to add custom `infe` items | https://api.github.com/repos/strukturag/libheif/issues/1002/comments | 15 | 2023-10-19T19:52:01Z | 2023-11-04T05:42:51Z | https://github.com/strukturag/libheif/issues/1002 | 1,952,956,588 | 1,002 |
[
"strukturag",
"libheif"
] | Use case: the GIMI profile defines the ‘geo1’ brand. An API function like `heif_context_add_brand()` would be useful to add these by the application when the generated file conforms to this brand.
| Add API function to add user-defined minor brand | https://api.github.com/repos/strukturag/libheif/issues/1001/comments | 1 | 2023-10-19T19:50:00Z | 2023-11-01T19:01:24Z | https://github.com/strukturag/libheif/issues/1001 | 1,952,954,035 | 1,001 |
[
"strukturag",
"libheif"
] | If libde265 support is enabled heif-covert lists
```
HEIC decoders:
- libde265 = libde265 HEVC decoder, version 1.0.12
```
If libde265 and ffmpeg support is enabled heif-covert lists
```
HEIC decoders:
- libde265 = libde265 HEVC decoder, version 1.0.12
```
Only ffmpeg show no decoders available, looks like a ... | FFmpeg not listed as available decoder in heif-convert | https://api.github.com/repos/strukturag/libheif/issues/998/comments | 10 | 2023-10-17T17:40:00Z | 2024-01-07T10:02:26Z | https://github.com/strukturag/libheif/issues/998 | 1,947,930,062 | 998 |
[
"strukturag",
"libheif"
] | Currently do not know to reproduce it with `heif-enc` (I can not find how to save `nclx` profile with it), still searching was what changed in libheif itself related to this.
I remember our discussion https://github.com/strukturag/libheif/discussions/931 but there was no talks that some breaking change will appear.
... | Problem with saving NCLX profile | https://api.github.com/repos/strukturag/libheif/issues/995/comments | 7 | 2023-10-17T08:54:56Z | 2023-11-14T12:42:12Z | https://github.com/strukturag/libheif/issues/995 | 1,946,904,874 | 995 |
[
"strukturag",
"libheif"
] | When updating **pillow_heif** to libheif with version 1.17.0, the following error appears in tests related to premultiplied-alpha:
```Invalid input: No 'meta' box```
Test consists of opening RGBA image(8,10,12 bit) and resaving it with premultiplied-alpha flag.
Error occurring during opening saved image.
Was ... | error when encoding with premultiplied-alpha(1.17.0) | https://api.github.com/repos/strukturag/libheif/issues/993/comments | 1 | 2023-10-17T07:02:36Z | 2023-10-17T08:36:30Z | https://github.com/strukturag/libheif/issues/993 | 1,946,693,323 | 993 |
[
"strukturag",
"libheif"
] | The change from autotools (libtool in particular) in libheif-1.15.1 to cmake retained the same SONAME of the library (we call it "install_name" on OS X), which seems correct as it appears only ABIs were added rather than removed or changed. But the compatibility_version got decremented (was 17.0.0 now 1.0.0 when I upgr... | Binary-versioning regression | https://api.github.com/repos/strukturag/libheif/issues/992/comments | 10 | 2023-10-16T23:14:34Z | 2023-10-19T10:13:46Z | https://github.com/strukturag/libheif/issues/992 | 1,946,248,193 | 992 |
[
"strukturag",
"libheif"
] | Maybe I'm missing something but logic seems to be broken?
```
-- Found SvtEnc
-- Found SvtEnc: /usr/local/include
...
=== Summary of compiled codecs ===
libde265 HEVC decoder : - disabled
FFMPEG HEVC decoder (HW acc) : + built-in
x265 HEVC encoder : + built-in
Kvazaar HEVC encoder :... | 1.17.0 / master branch: SvtEnc plugin no longer gets compiled | https://api.github.com/repos/strukturag/libheif/issues/991/comments | 2 | 2023-10-16T19:13:10Z | 2023-10-16T19:17:53Z | https://github.com/strukturag/libheif/issues/991 | 1,945,917,221 | 991 |
[
"strukturag",
"libheif"
] | Trying compile libfeif 1.17.0 with enabled kvazaar but this error appears:
```
make[2]: Leaving directory '/builddir/build/BUILD/libheif-1.17.0/build'
DEBUG util.py:442: /builddir/build/BUILD/libheif-1.17.0/libheif/plugins/encoder_kvazaar.cc:368:11: error: no member named 'enable_logging_output' in 'kvz_config'
... | compile with kvazaar = error: no member named 'enable_logging_output' in 'kvz_config' | https://api.github.com/repos/strukturag/libheif/issues/990/comments | 3 | 2023-10-16T13:50:24Z | 2023-10-16T14:39:03Z | https://github.com/strukturag/libheif/issues/990 | 1,945,268,336 | 990 |
[
"strukturag",
"libheif"
] | Found this while building on Focal for our PPA (where we only have aom 2.0.0):
```
/build/libheif-1.17.0/libheif/plugins/encoder_aom.cc: In function 'heif_error aom_encode_image(void*, const heif_image*, heif_image_input_class)':
/build/libheif-1.17.0/libheif/plugins/encoder_aom.cc:873:27: error: 'AOM_USAGE_GOOD_QUA... | Cmake doesn't fail on unsupported version of AOM (e.g. 1.0.0.errata1-3build1 from Ubuntu Focal) | https://api.github.com/repos/strukturag/libheif/issues/989/comments | 7 | 2023-10-16T09:05:20Z | 2023-10-18T09:13:08Z | https://github.com/strukturag/libheif/issues/989 | 1,944,732,686 | 989 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.