New Post: limit scanner settings and abort operation
Hello, gajendra20. Follow code as sample:if(_twain32.Capabilities.PixelType.IsSupported(TwQC.SetConstraint)) { _twain32.Capabilities.PixelType.SetConstraint(TwPixelType.BW, TwPixelType.Gray); }
View ArticleNew Post: Issue with the language of scanner driver
thank you Saraff, now i got my twain devices interface in english language. And now am little struck with the scanning process where am not able to view the scanned images in the picturebox as soon as...
View ArticleNew Post: Feeder doesn't work
Hello! I'm trying get feeder (ADF) images with serveral pages. If I don't especify any setting o capabilitie, it only gets one page. If I try put the feeder capabilitie, the methode Acquire does...
View ArticleNew Post: Issue with the language of scanner driver
Hello, jiiva_bpy. Try use a Buffered Memory Mode Transfer mode (see Options for Transferring Data). Otherwise, the image can only be obtained after scanning the page.
View ArticleNew Post: Feeder doesn't work
Hello, hgramaje. Try follow code.if(this._twain32.Capabilities.FeederEnabled.IsSupported(TwQC.Set)) { this._twain32.Capabilities.FeederEnabled.Set(true);...
View ArticleNew Post: Feeder doesn't work
Hi Saraff!! I discovered my problem was on drivers scanner. Now I have other important problem: When I scan with high resolution (600 ppp), the method "Twain32.GetImage(index)" returns Out Of Memory...
View ArticleNew Post: Вопрос про освобождении памяти
ДОбрый день. Есть такой вопрос - в конце работы со сканером, те когда вызываешь CloseDataSource CloseDSM() , память под картинки отсканированые освобождается? И когда делаешь tw.GetImage(number) -...
View ArticleNew Post: Feeder doesn't work
Hello, hgramaje. Try follow code:///<summary>/// Occurs at the end of every transfer when the application has received all the data it expected.///</summary>///<param...
View ArticleNew Post: Вопрос про освобождении памяти
Добрый день, Aleksey1555. При вызове CloseDataSource CloseDSM() , память под картинки отсканированые НЕ освобождается. При скарировании в режиме Native (по умолчанию) полученные данные хранятся в виде...
View ArticleUpdated Wiki: Options for Transferring Data
Options for Transferring Data There are three modes defined by TWAIN for transferring data: NativeDisk FileBuffered Memory A DS is required to support Native and Buffered Memory transfers.Get a list of...
View ArticleUpdated Wiki: Options for Transferring Data
Options for Transferring Data There are three modes defined by TWAIN for transferring data: NativeDisk FileBuffered Memory A DS is required to support Native and Buffered Memory transfers.Get a list of...
View ArticleSource code checked in, #ed01d37c09b937bae4e8bb24766b6017553a394a
Ревизия: 558 Автор: SARAFF Дата: 20 ноября 2016 г. 15:59:26 Сообщение: Добавлена очистка внутреннего списка отсканированных изображений. Добавлена поддержка IStreamProvider, предоставляющего потоки для...
View ArticleNew Post: Вопрос про освобождении памяти
а хранится картинка в каком формате? BMP?Этот байт массив под каждую картинку освобождается или мне его надо освобождать?Заметил что после сканирования память не освобождается.Т.е. я создал объект...
View ArticleNew Post: Вопрос про освобождении памяти
Добрый день, Aleksey1555. Как-то запутано у Вас вышло. Вам надо освобождать только изображения, которые Вы получили, т.е., например:privatevoid _twain32_EndXfer(object sender,Twain32.EndXferEventArgs...
View ArticleNew Post: Asynchronous
Hello, I am making RESTfull service for web scanning using MVC Web API. Can I use Saraff asynchronously? Best regards
View ArticleNew Post: Asynchronous
Yes, See Saraff.Twain.NET Outproc Samples and Saraff.Twain.NET Service Samples.
View ArticleNew Post: Feeder doesn't work
Not working. The process throws one exception:e.Image = 'e.Image' threw an exception of type 'System.OutOfMemoryException' And if I repeat the execution of the image that give problems, like a while,...
View ArticleNew Post: Вопрос про освобождении памяти
Конечно делать. P.S. Если Twain32 лежит в контейнере, Dispose контейнера автоматически вызовет Twain32.Dispose.
View Article