GithubHelp home page GithubHelp logo

provide nuget package about usbcamera HOT 4 OPEN

djonasdev avatar djonasdev commented on July 3, 2024
provide nuget package

from usbcamera.

Comments (4)

secile avatar secile commented on July 3, 2024 1

Thank you.
This issue is currently stopped because I felt some difficulties when creating DLL.
The library change behavior if it is defined 'USBCAMERA_WPF' symbol that makes GetBitmap() returns image of BitmapSource.
To release the library as nuget package, I have to create DLL, but it is not able to do same behavior with DLL.

Maybe I have to create two kind of DLL like UsbCameraWinForms and UsbCameraWpf.
and I have to provide 2 kind of nuget package. (Is my idea correct?)

Could you give me more time to think it over.

from usbcamera.

secile avatar secile commented on July 3, 2024

Hello, Thank you for your suggestion.
I will try it.

from usbcamera.

wxharry avatar wxharry commented on July 3, 2024

Hi secile, I would like to help if you haven't worked on the nuget packging. ๐Ÿ˜„

from usbcamera.

wxharry avatar wxharry commented on July 3, 2024

Thank you. This issue is currently stopped because I felt some difficulties when creating DLL. The library change behavior if it is defined 'USBCAMERA_WPF' symbol that makes GetBitmap() returns image of BitmapSource. To release the library as nuget package, I have to create DLL, but it is not able to do same behavior with DLL.

Maybe I have to create two kind of DLL like UsbCameraWinForms and UsbCameraWpf. and I have to provide 2 kind of nuget package. (Is my idea correct?)

Could you give me more time to think it over.

Hi, thank you for the reply. I think we can have adapters for wpf and winforms that implement the GitBitmap() differently and resue the other codes. To use the dll(let's say it is named as Secile.UsbCamera), developers can use base methods by using Secile.UsbCamera, and import wpf related methods by using Secile.UsbCamera.Wpf and the same for the winforms using Secile.UsbCamera.Winforms. What do you think?

from usbcamera.

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.