-
Notifications
You must be signed in to change notification settings - Fork 2
/
changelog.txt
82 lines (66 loc) · 4.46 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
DELPHITWAIN CHANGE LOG
======================
2024/12/18 MaxM - Moved General Types in DelphiTwainTypes Unit;
Added GetParamsCapabilities method;
Added Languages support;
Some UI adjustments due to the length of Italian Language
13 MaxM - Added Download method and Download_XXX properties;
Modified TransferImages method to handle multiple files scan (Feeder);
Commented the Obscure RefreshVirtualWindow method that Destroy all;
2024/11/06 MaxM - Changed GetTwainDirectory function to tests 32/64 bit dll
2024/09/10 MaxM - Added Select and Settings Forms taken from Project DigIt by changing parameters, field names and types
Deleted obsolet uFormSelectSource_VCL and Twain_o;
Delphi Compatibility for Forms;
2023/12 MaxM - CapabilityCanGet/Set; GetOneValue overloads; GetIndicators; Get/Set AutoScan;
SetFeederEnabled set also AutoScan and AutoFeed;
Paper Feeding Get/Set in TTwainPaperFeedingSet; GetOrientation
GetEnumerationValue overloads; changed params of GetPaperSizeSet, GetIBitDepth;
CreateWindow Delphi compatibility;
GetRangeValue,GetArrayValue,SetOneValue overload;
Use of Fix32ToFloat intestead of StrToFloat;
Use of overloaded methods in code (to remove annoying repetitions)
RangeCeckError Off in Fix32ToFloat/FloatToFix32
Delphi compatibility;
Enum and Array Capabilities always return Current and Default; DuplexEnabled; TwainPixelTypes;
14 Changed Extended to Single (for platform compatibility and for my actual state);
Added OnTwainAcquire, rOnAcquireProgress in TCustomDelphiTwain;
changelog in text file.
15 added Native Image Handle to DoTwainAcquire params
18 Utils: new function WriteBitmapToFile; moved DibNumColors
19 Divided the two events OnTwainAcquireNative OnTwainAcquire; changed Handle param Names
ReadNative not create the HBitmap if unused and delete it after if used;
GetResolution distinguishes between Enum and array (A very serious mistake);
Utils: WriteBitmapToFile with only HBitmap param
20 Renamed OnTwainAcquire to OnTwainAcquireBitmap (no confusion with derived classes) and changed params;
ReadNative don't free HBitmap;
Example updated and reduced to just 2 (shared with Delphi);
2023/11 MaxM - Fixed various obscurities in code
Added GetCapabilitySupportedOp
Completed TTwainPaperSize enum and set;
Added PaperSizes in cm; GetTwainPaperSize function;
GetPaperSizeSet; PaperSizeToTwain as function;
2023/10 MaxM - Control over the functioning of the source code; FindSource overloaded methods
Completely changed the creation scheme
Added DoCreateVirtualWindow; DoDestroyVirtualWindow;
DoCreateTimer; DoDestroyTimer; DoMessagesTimer;
First Test of VirtualWindow/Timer in Console Application;
2014/04/29 - Fix for unloading library cancelling acquire window on Lazarus
Typo fixes in language constants; cosmetic fixes.
(Thanks to Reinier).
2013/12/21 - Default TransferMode set to ttmNative. Color bug fix for TransferMode = ttmMemory
2013/12/18 - FireMonkey support, color bug fix.
2013/11/05 - FireMonkey support (XE2, XE3, XE4, XE5) - thanks to Frediano Palazzi for financially supporting this modification.
TDelphiTwain is not a TComponent descendand any more - you have to use it from code only and free it by yourself.
For FireMonkey add DelphiTwain and DelphiTwain_FMX units to the uses clause.
For VCL add DelphiTwain and DelphiTwain_VCL to the uses clause.
2013/10/21 - Fixed function FloatToFix32 - thanks to Chad Berchek
2013/08/18 - New method OnTransferComplete: fired when all documents are scanned or the scan is canceled.
Thanks to Andrei Galatyn.
2013/07/26 - Color problems solved (thanks to Marco & Christian).
TWAIN drivers did not respond - now both WIA and TWAIN can be used.
2013/04/29 - Typo fixes in language constants; cosmetic fixes.
Lazarus fixes: fix for unloading library cancelling acquire window on Lazarus.
(Thanks to Reinier.)
2012/11/01 - Ondrej Pokorny: small changes for Lazarus and 64bit compiler
2009/11/10 - Some changes to make it work in Delphi 2009, and above
2004/01/20 - Some updates and bug fixes by Nemeth Peter