Comments (4)
acutally i noticed the pattern:
FF D8 FF E0
seems to be missing. Does yur image fall into this category?
from magic-bytes.
Nope, mine is FF D8 FF E2
. It contains a proprietary segment E2
, but image viewers seem to ignore this and display the image data.
The structure of JPG makes it difficult to generalize the fourth byte, since some programs add arbitrary segments. See https://stackoverflow.com/a/5413049
from magic-bytes.
Hey, thanks for adding 2ea4e40 in v1.8.0. But this addition would obsolete existing checks for JPEG, as they are now redundant:
magic-bytes/src/model/pattern-tree.ts
Lines 70 to 109 in 4beef5e
I expected you to remove them altogether, but you left them in. Are these still necessary? If not, I'll submit a PR to delete them.
from magic-bytes.
You are right. Your PR is merged. Thanks
from magic-bytes.
Related Issues (19)
- "types" field in package.json has incorrect path to index.d.ts
- Filetype mime HOT 2
- No browser.js file in /dist folder HOT 3
- mp4 HOT 3
- License HOT 2
- Cannot detect apng File Type HOT 1
- filetypeinfo failing on subsequent requests HOT 2
- Is it possible to support detection of .mov files
- Issue with MKV files HOT 2
- The automated release is failing 🚨 HOT 5
- .srt & . vtt subtitle/caption file support HOT 6
- Question: dealing with false positives within same signature group HOT 2
- Detects "tda2" instead of truetype ttf HOT 1
- new file types: ELF, macho, eml HOT 1
- new file types to add
- *.hevc files support (ios video format) HOT 2
- Add CSV support? HOT 1
- Add support for SVG HOT 2
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 magic-bytes.