-
-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heif load error #1888
Comments
Hello @yanxianrui, It's working for me:
libheif 1.6.1 I'm not sure which of your packages you need to update though. Did you mean libvips 8.11? Your ubuntu sounds too old as well. Your x265 seems very old too. Here's the If you can vipsthumbnail that I guess the problem must be in your x265. |
sorry it's vips 8.10.2 and thank you for your prompt reply. |
I think this is a duplicate of #1808. Since commit strukturag/libheif@c6f7945 (i.e. libheif >= v1.8.0) an odd-sized HEIF file is written with a A similar issue can be observed with Google Chrome and libheif-encoded AVIF images smaller than 16×16 pixels (only when libheif is built with aom). |
Ah, I understand! Sorry Kleis, I've not been following that issue. I suppose libvips needs a patch for this change? |
Probably some additional clipping code needs to be added. |
Hello @jcupitt |
@jcupitt dunno if it's related but I'm getting a: It's from "the wild" so I have no clue how it was created/saved. I'm using a custom build with:
I cannot seem to find libvips 8.11 and I'm unable to test with it, was it released some place else than github? |
Hi @jaubourg, that looks like a different issue. I tried with git master libheif and their Could you open a new issue please? |
@jcupitt done! ;) |
some pictures saved by vips_heifsave_buffer can not be loaded by vips_heifload_buffer
error occurs when i use vips copy to transfrom this picture to heif and thumbnail it.
my test file:
1.zip
errors:
xxx$ vips copy 1.jpg 1-80.heif[strip,Q=80]
xxx$ vipsthumbnail 1-80.heif
(vipsthumbnail:26915): VIPS-WARNING **: heifload: ignoring nclx profile
(vipsthumbnail:26915): VIPS-WARNING **: heifload: ignoring nclx profile
(vipsthumbnail:26915): VIPS-WARNING **: heifload: ignoring nclx profile
(vipsthumbnail:26915): VIPS-WARNING **: heifload: ignoring nclx profile
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 0
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 0
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 0
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 10
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 20
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 30
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 40
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 50
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 60
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 70
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 80
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 90
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 100
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 110
(vipsthumbnail:26915): VIPS-WARNING **: error in tile 0 x 120
vipsthumbnail: unable to thumbnail 1-80.heif
1-80.heif: bad seek to 93963
1-80.heif: bad seek to 93963
1-80.heif: bad seek to 93963
heifload: bad image dimensions on decode
vips version: 8.12
libheif: 1.9.1
x265: 1.9
libde265: 1.0.2
os: ubuntu 12.04
I'm new to libvips. thanks a lot for any reply.
The text was updated successfully, but these errors were encountered: