Code Monkey home page Code Monkey logo

Comments (11)

se7en007 avatar se7en007 commented on July 26, 2024 1

At https://github.com/j256/simplemagic/wiki, only 2 links : central maven repository and github works. Rest all down.

from simplemagic.

j256 avatar j256 commented on July 26, 2024 1

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.

j256 avatar j256 commented on July 26, 2024 1

1.7 has been released. http://repo1.maven.org/maven2/com/j256/simplemagic/simplemagic/1.7/

from simplemagic.

j256 avatar j256 commented on July 26, 2024

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.

j256 avatar j256 commented on July 26, 2024

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.

j256 avatar j256 commented on July 26, 2024

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.

se7en007 avatar se7en007 commented on July 26, 2024

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.

j256 avatar j256 commented on July 26, 2024

Fixed thanks.

from simplemagic.

j256 avatar j256 commented on July 26, 2024

Hey, can you turn the WEBP request into another issue so I can track it right? Thanks.

from simplemagic.

se7en007 avatar se7en007 commented on July 26, 2024

Done and thank you. One question, will you release a new version of library, or just patched the current version to maven?

from simplemagic.

se7en007 avatar se7en007 commented on July 26, 2024

No hurries. Thank you once again.

from simplemagic.

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.