Comments (5)
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.
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.
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.
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.
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!
from resource_dasm.
Related Issues (20)
- Suggestion: Rework the codebase into a .hsb/.rmf extractor HOT 11
- compile error with g++ 11.2.1_p20220115 HOT 1
- Any way to group the items by resource type? HOT 6
- Encoding.hh: shifting a negative signed value is undefined HOT 1
- Format string errors HOT 2
- Black borders when decoding PICT HOT 3
- Format of Spectre Supreme "shap" resources HOT 7
- Technically, it's "PEF", not "PEFF" (Preferred Executable Format) HOT 1
- Improvement : extracting as png instead of bmp HOT 5
- compile error in Ubuntu on Pi4 ARM HOT 16
- warning: PICT rendering failed (mask region rect Rect(x1=-27892, y1=26790, x2=0, y2=256) is not same as source rect HOT 5
- Suggestion: Conditional compilation for some features HOT 4
- Easier way to convert TEXT/styl to .rtf? HOT 2
- Prebuilt binary for Linux with phosg prelinked HOT 2
- issue with Mail.app .emlx files HOT 6
- Maelstrom icns converted to PNG/BMP are just mask HOT 4
- Bad CPU type in executable HOT 2
- Doesn't Work On Amazon Trail? HOT 2
- compile errors with g++ 13.2.1 20230826 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resource_dasm.