1 (edited by sparrow 2024-07-27 21:17:25)

Topic: Scanner

Hi all


Working with the scanner. Alpha version.
The program is working. There may be errors.
Errors will be corrected and functions will be added in the future (I hope).
Something like this...

Post's attachments

Attachment icon tst-alpha.rar 116.3 kb, 185 downloads since 2024-07-27 

Re: Scanner

Hello Sparrow, I tested the program and I didn't find any errors, it works very well.
Destiny

Destiny

Re: Scanner

Destiny wrote:

Hello Sparrow, I tested the program and I didn't find any errors, it works very well.
Destiny


Hi Destiny,


Thank you. Use it for your work.
I tried to handle abnormal situations and avoid them, but I'm still not completely sure that something
unexpected won't appear.
I continue to test the program on different equipment and will add some features over time.


Peace to all.

4 (edited by sparrow 2024-08-02 16:22:09)

Re: Scanner

Hi all,


As promised, the development of the scanning project in MVD continued. The project is supplemented with basic
editing functions: cropping, rotation, mirroring.
This release can be called a Beta version.
POSSIBLY in the future there will be a new version with fixes, but everything is in your hands to customize it for yourself.
The project allows you to use all its features and integrate them into your projects. I will be glad if the project is useful))).
Some errors have been fixed, new errors have been added))).
If critical errors are found, they will be fixed, if possible.


Something like this ...


Peace to all.

Post's attachments

Attachment icon tst - B.zip 468.63 kb, 225 downloads since 2024-08-02 

5 (edited by k245 2024-08-03 13:16:24)

Re: Scanner

Hello Sparrow.

Thank you for the work done! Professional and powerful. Thanks to you, the MVDB project continues to live and shine with new colors.

Working with a scanner is an up-to-date functionality for programs for personnel accounting, for maintaining document flow in educational institutions and other systems that require registration and scanning of documents.

Thank you again!

Визуальное программирование: блог и телеграм-канал.

Re: Scanner

k245 wrote:

Hello Sparrow.

Thank you for the work done! Professional and powerful. Thanks to you, the MVDB project continues to live and shine with new colors.

Working with a scanner is an up-to-date functionality for programs for personnel accounting, for maintaining document flow in educational institutions and other systems that require registration and scanning of documents.

Thank you again!


Привет Константин


Thanks for the feedback.
Of course, I really don't want the MVD project to end. That's why I'm trying to expand its scope of application.
As for this project, I'll definitely add Resize in the near future. I'll try to make scaling in the editing window, but we'll see how it goes.

Re: Scanner

Hi, Sparrow!

I used TImage capabilities to scale the image. See the "Family Album" project (script folder "ImageEdit")

https://k245.ru/software-ru/is-ru/semejnyj-albom-2.html


You may need two copies of the image: one for display on the desktop (visible) and one for scaling/re-sizing etc. (hidden).

https://k245.ru/wp-content/uploads/2024/06/Albom-3.png

Визуальное программирование: блог и телеграм-канал.

Re: Scanner

k245 wrote:

Hi, Sparrow!

I used TImage capabilities to scale the image. See the "Family Album" project (script folder "ImageEdit")

https://k245.ru/software-ru/is-ru/semejnyj-albom-2.html


You may need two copies of the image: one for display on the desktop (visible) and one for scaling/re-sizing etc. (hidden).

https://k245.ru/wp-content/uploads/2024/06/Albom-3.png



Ok. Thanks, let's see.
Note "WIA.ImageFile" together with "WIA.ImageProcess".
For W10 it will allow to apply filters without a scanner including thumbnails. I want to implement this too. The scanner was a priority.
I added Resize to the program, I will post it a bit later.

Re: Scanner

i WANT PDF SCANING

Re: Scanner

SCANING AFTER SAVE PDF FILE

Re: Scanner

epancard723143 wrote:

SCANING AFTER SAVE PDF FILE

To do this, scanned images need to be loaded into the report (via the database or a script), and then exported to PDF (using a script)

Визуальное программирование: блог и телеграм-канал.

Re: Scanner

exported to PDF (using a script)

I Want exaple script

Re: Scanner

epancard723143 wrote:

exported to PDF (using a script)

I Want exaple script

Report_Open() - https://k245.ru/en/mvdb-en/qr-codes-in-mvdb.html
Export to PDF example ( procedure UserApp_LinearCalc_Report() )  - https://k245.ru/en/mvdb-en/linear-sutting.html

Визуальное программирование: блог и телеграм-канал.

Re: Scanner

Hi all.

Something like this.

Post's attachments

Attachment icon tst - b1.zip 148.05 kb, 188 downloads since 2024-08-07 

Re: Scanner

Hello Sparrow,
Congratulations for the excellent scanning application. It worked well with my Canon DR C225 scanner. Is it possible to add the following features?
a) Dropdown for Resolution with options like 150,300,600,1200, Match page resolution.
b) Continuous scanning/batch scanning of pages and saving files at the end. This feature is needed to quickly scan a bunch of pages.
c) Option to set File name in a pre-defined format like ABC_001. This is needed for batch scanning.
d) Dropdown for page size with options like A4, A5, Match page size etc. Match page option is needed to do batch scan containing a bunch of pages of different sizes.
e) Further enhance the Edit window to show all scanned images, with option to reorder/edit images. This will help to export pages in pdf format in correct order.

Regards,
Eyeman

Re: Scanner

HI Eyeman


Thank you.
Of course you can add it. )))
You can modify the example yourself for your needs. Remove unnecessary functions or add your own.
Much of what you described is not difficult to implement. A little more difficult is point 'b' and more complex 'e'.

I showed you the possibility of scanning and processing for the development of the MVD project.
I had all the points you described in my plans. But I decided to leave it for MVD users in the public Beta version.
If you have specific questions, I will try to help.
It was interesting for me to read, work on this project and learn it. Something like that.
But there are other examples in the plans)

Re: Scanner

k245 wrote:

Hi, Sparrow!

I used TImage capabilities to scale the image. See the "Family Album" project (script folder "ImageEdit")

https://k245.ru/software-ru/is-ru/semejnyj-albom-2.html


You may need two copies of the image: one for display on the desktop (visible) and one for scaling/re-sizing etc. (hidden).

https://k245.ru/wp-content/uploads/2024/06/Albom-3.png

Hi K245! I really liked your Family Album project! I encountered a problem, which I'll show in the attached photo. The first time an image is edited, when the user wants to change the mini-photo that will be displayed on the home screen, everything works correctly. If the user enters the same screen a second time, the frame displaying the mini-photo disappears. The only way to solve this is to restart the application. I tried to identify which part of the script this happens in, but my knowledge of MVD is not yet sufficient. Also, my MVD version is 5.6. I would appreciate it if you could fix this part.

Post's attachments

Attachment icon two_screens.png 322.97 kb, 10 downloads since 2025-10-31 

Roberto Alencar

18 (edited by Destiny 2025-11-01 09:20:04)

Re: Scanner

The program works very well.
I scanned some stamp images and they lack sharpness for optimal viewing.
Otherwise, it's perfect, Sparrow.

Destiny