Giter VIP home page Giter VIP logo

Comments (3)

d00ML0rDz avatar d00ML0rDz commented on July 28, 2024

From a quick look, I think this exception is getting thrown by the HeyRed.Mime package we use to help identify what image format we are classifying. ML.NET doesn't support the increasingly popular .webp image format, so to support it in NsfwSpy we convert that to a .png:

var fileType = MimeGuesser.GuessFileType(imageData);
if (fileType.Extension == "webp")
{
    using (MagickImage image = new MagickImage(imageData))
    {
        imageData = image.ToByteArray(MagickFormat.Png);
    }
}

I've just tried using this on a fresh Ubuntu virtual machine and see the same error message as you so I've just created an issue on their GitHub page to ask for clarification on whether an extra dependency is needed for Linux installs:
hey-red/Mime#44

Will update you when I hear back.

from nsfwspy.net.

d00ML0rDz avatar d00ML0rDz commented on July 28, 2024

This issue should now be resolved in NsfwSpy v3.4.3.

@Krutonium are you happy to test the issue is now resolved for you when using the new version please?

from nsfwspy.net.

Krutonium avatar Krutonium commented on July 28, 2024

Will do when I'm at my PC 👍

from nsfwspy.net.

Related Issues (17)

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.