Giter Club home page Giter Club logo

Comments (9)

yohhoy avatar yohhoy commented on July 19, 2024

Which HEIC file (content name) did you select?

from heifreader.

renovatio0424 avatar renovatio0424 commented on July 19, 2024

every images

from heifreader.

shaggyarora94 avatar shaggyarora94 commented on July 19, 2024

Having the same issue.

from heifreader.

dustinshu avatar dustinshu commented on July 19, 2024

same issue with me

from heifreader.

RJSDevel avatar RJSDevel commented on July 19, 2024

same issue with me

from heifreader.

RJSDevel avatar RJSDevel commented on July 19, 2024

All images

from heifreader.

10045125 avatar 10045125 commented on July 19, 2024

I also encountered such a problem, how can I solve it?

from heifreader.

yohhoy avatar yohhoy commented on July 19, 2024

The cause of this error is nokiatech/heif@b05c0ae, they says "Update HEIF files, regenerated with the new writer." If we use old HEIF files, it works.

- private static final String URL_BASE = "https://github.com/nokiatech/heif/raw/gh-pages/content/images/";
+ private static final String URL_BASE = "https://github.com/nokiatech/heif/raw/ce04febfbf6f9aba9df635d6bcfbf3f447f9af2c/content/images/";

from heifreader.

yohhoy avatar yohhoy commented on July 19, 2024

The value of ItemLocationBox.items[0].extents[0].extentOffset is changed between previous and current HEIC files.

Previous autumn_1440x960.heic:

ItemLocationBox{offsetSize=4, lengthSize=4, baseOffsetSize=4, indexSize=0, items=[
  Item{baseOffset=548, itemId=20002, constructionMethod=0, dataReferenceIndex=0,
    extents=[Extent{extentOffset=0, extentLength=289408, extentIndex=0}]},
  Item{baseOffset=289964, itemId=20003, constructionMethod=0, dataReferenceIndex=0,
    extents=[Extent{extentOffset=0, extentLength=3658, extentIndex=0}]}]}

Current autumn_1440x960.heic:

ItemLocationBox{offsetSize=4, lengthSize=4, baseOffsetSize=4, indexSize=0, items=[
  Item{baseOffset=534, itemId=1002, constructionMethod=0, dataReferenceIndex=0,
    extents=[Extent{extentOffset=8, extentLength=289408, extentIndex=0}]},
  Item{baseOffset=534, itemId=1005, constructionMethod=0, dataReferenceIndex=0,
    extents=[Extent{extentOffset=289416, extentLength=3658, extentIndex=0}]}]}

from heifreader.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.