Git Product home page Git Product logo

Comments (5)

lclevy avatar lclevy commented on September 24, 2024

use https://github.com/lclevy/canon_cr3/blob/master/parse_cr3.py instead with extract flag. the Lib version is not finished. crx data can not be uncompressed by my tool as compression scheme is unknown.

from canon_cr3.

seblanc avatar seblanc commented on September 24, 2024

Thank you for your answer.

Surprisingly, using the sample images on this repository (e.g. samples/IMG_0482_raw.CR3), I can extract some data in the mdat. It seems that the samples were taken with a Canon EOS R and not RP.

from canon_cr3.

lclevy avatar lclevy commented on September 24, 2024

Ok, i'll check that

from canon_cr3.

lclevy avatar lclevy commented on September 24, 2024

should be fixed now

from canon_cr3.

seblanc avatar seblanc commented on September 24, 2024

Hi Laurent,
Thank you for the update. May I suggest the following correction:

def stsz(self, d, l, depth):
        version = self.get_long_be(d, 0)
        if l==0x14:
          size = self.get_long_be(d, 4)
          count = self.get_long_be(d, 8)
        else:  #0x18
          size = self.get_long_be(d, 12)
          count = self.get_long_be(d, 8)
        return size

Replace getLongBE()with self.get_long_be().

from canon_cr3.

Related Issues (16)

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.