Git Product home page Git Product logo

Comments (4)

takuya-takeuchi avatar takuya-takeuchi commented on September 22, 2024

@tunga76
DlibDotNet extension are not under development.
But I guess you have some mistakes.
!st Argumet image should be Format24bppRgb because you specify RgbPixel.
So please check format of bitmap.

And if you can, attach image file here.

from dlibdotnet.

tunga76 avatar tunga76 commented on September 22, 2024

thank your answer. I will check image file

from dlibdotnet.

Lokdo avatar Lokdo commented on September 22, 2024

@takuya-takeuchi
Dear Sir, thanks for your amazing work.
I got same problem about this function.
And I ensure the format of my picture is “Format24bppRgb”.
I used the version 19.21.0.20220724.
And the following is my code, throws a “not supported” exception.

Bitmap bmp = new Bitmap("./wil.jpg");
Array2D img = BitmapExtensions.ToArray2D(bmp);
Thank you in advance.
prob1
prob2

from dlibdotnet.

Lokdo avatar Lokdo commented on September 22, 2024

Updated. I figured out that when I were using .Net 5.0. It will work fine.
But when .net Framework 4.8. Something wrong will happened.

from dlibdotnet.

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.