Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In my project, I want to see the documents I scanned using the naps2 library. #486

Open
busraaguler opened this issue Nov 19, 2024 · 1 comment

Comments

@busraaguler
Copy link

Hello, we want to save the data we scanned to the database using the naps2 library. How can I at least see the page I scanned using naps2? I'll save it to a path for now and preview it later. Do you have sample code for these operations? I tinkered with the project a lot, but. It scans, but I can't see where it saves what I scanned.

@cyanfish
Copy link
Owner

I'm not exactly sure what you're asking. Do you have something like a Windows Forms application and want to see it in your UI? Maybe this sample will help, it shows how to create a System.Drawing.Bitmap object from the scanned images (or you can use the equivalent method for WPF) https://github.com/cyanfish/naps2/blob/master/NAPS2.Sdk.Samples/ScanToBitmapSample.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants