Comments (11)
At https://github.com/j256/simplemagic/wiki, only 2 links : central maven repository and github works. Rest all down.
from simplemagic.
I've got a bad bug that I'm looking at now and I hope to release a new version once that's done.
On Sep 19, 2016, at 13:01, Saurabh Khanduja [email protected] wrote:
Done and thank you. One question, will you release a new version of library, or just patched the current version to maven?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from simplemagic.
1.7 has been released. http://repo1.maven.org/maven2/com/j256/simplemagic/simplemagic/1.7/
from simplemagic.
a. What was the need of Partial Match?
Sorry for the delay on this @se7en007 . The partial match is needed because in magic files, often there are multiple matches and later ones may be better. For example, SVG images are XML matches but the SVG+XML match is better.
from simplemagic.
Documentation in github wiki seems to point to urls which redirect to external websites.
I sold my 256.com domain a while back. I should have migrated all of those links to 256stuff.com. Which URL are you talking about that has out of date links?
from simplemagic.
b. When Partial Match happens, what happens to ContentType - Multiple Values/Single Value always?
It should return good information. Can you give me an example of where it doesn't?
from simplemagic.
No worries for the delay.
The library gives partial match on webp files.
So, read from google docs that webp files are in RIFF container. If I run on webp files, it gives There was a partial match, RIFF, type OTHER, msg 'RIFF (little-endian) data'
. This is also a feature request as enum com.j256.simplemagic.ContentType#WEBP is provided but it is not what returned but enum com.j256.simplemagic.ContentType#OTHER.
1472812600656_679_92337e55-d140-4da1-8c79-94582c05ad61_540x360.webp.zip
For now I am using workaround:
if(contentInfo.getName().equalsIgnoreCase("RIFF")) return ImageMimeType.WEBP;
from simplemagic.
Fixed thanks.
from simplemagic.
Hey, can you turn the WEBP request into another issue so I can track it right? Thanks.
from simplemagic.
Done and thank you. One question, will you release a new version of library, or just patched the current version to maven?
from simplemagic.
No hurries. Thank you once again.
from simplemagic.
Related Issues (20)
- Problem with detecting Illustrator file HOT 4
- CMYK Jpeg files being incorrectly read with mime-type octet-stream
- RegexType reads a line for every byte in mutableOffset.offset HOT 1
- svg is not recognized HOT 1
- Doesn't recognize bitmap files exported from GIMP HOT 5
- Bash script not recognized correctly HOT 1
- findMatch() reads too much bytes HOT 4
- Possible bug inside of MagicEntryParser HOT 4
- Slim version without internal config files HOT 2
- Support for audio/amr HOT 6
- Questions about compatibility with Android HOT 3
- bug: Weird identification of heic image file HOT 1
- Upgrade built-in magic file and use external on Linux HOT 1
- How to use external magic db? HOT 1
- AWS cloudfront image return as content type html HOT 2
- ContentInfoUtil.findMatch([77, 90]) generates NPE HOT 1
- pcapng filetype support
- .xls file shows null in return of getMimeType
- Can't read the correct content type for .xlsx files (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
- Request: add nullable annotations, to know what can return null HOT 3
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 simplemagic.