![]() DWObject.HTTPUploadAllThroughPostAsPDF(location.hostname, $POST_URL, 'my-test-file.pdf') For an example, if you like to upload all images as PDF, and like to use HTTP post request, you should use 'HTTPUploadAllThroughPostAsPDF'. You know better which one is appropriate for you. ![]() HTTPUploadAllThroughPostAsMultiPageTIFF().You can use anyone of the following that fulfills your needs. DWT provides a number of functions for this purpose. But we must have to upload it to our server. The Html file is being processed as a MultipartFile on the server side.ĭynamic Web Twain (DWT) doesn't provide the captured image to browser so that, browser can use it as an input field. Please refer to the sample 'Scan' -> 'Custom Scan' for more info. ![]() Snippet to acquire the scan image - var DWObject = ('dwtcontrolContainer') ĭWObject.IfDisableSourceAfterAcquire = true // Source will be closed automatically after acquisition.ĭWObject.SelectSource() // Select a Data Source (a device like scanner) from the Data Source Manager.ĭWObject.OpenSource() // Open the source. I am using the dynasoft web twain api for scanning the images. How do i get the image output from Scanner as a file input for HTML File Input field. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |