Giter Club home page Giter Club logo

Comments (5)

fuzziqersoftware avatar fuzziqersoftware commented on May 19, 2024 1

Thanks - looks like these all have invalid extended headers. I guess QuickDraw just ignores the extended header if its version field has an incorrect value in it, so I made resource_dasm do the same (revision da55fe5) and now all of these render properly.

from resource_dasm.

fuzziqersoftware avatar fuzziqersoftware commented on May 19, 2024 1

Feel free to reopen this issue if you find more PICTs that don't work - one of the goals of this project is maximum compatibility.

from resource_dasm.

fuzziqersoftware avatar fuzziqersoftware commented on May 19, 2024

Thanks for the report - this is fixed in revision 7668295. The issue was that in PICT command 0C00 (extended header), we didn't change the canvas size if the extended header specified a different size than the main header. This seems to be a fairly rare case, but fixing it corrects about 120 PICTs in my testing dataset, which is a notable improvement.

from resource_dasm.

fuzziqersoftware avatar fuzziqersoftware commented on May 19, 2024

Ah, I missed the second part - yeah, for the other PICTs that fail completely, please upload them here and I'll take a look.

from resource_dasm.

Iritscen avatar Iritscen commented on May 19, 2024

Sure, here you go. Three of these PICTs actually fail conversion in picttoppm too. And yet all of them QuickLook correctly in the Finder and can be opened in Preview!

worsepicts.zip

from resource_dasm.

Related Issues (20)

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.