Menu

#1364 Invalid stride error

7.X
open
nobody
Windows
8.2.1
Support
Medium
N/A
5 days ago
5 days ago
Leon
No

We can not scan anymore with the Canon DR-F120 Twain scanner. We encounter an Invalid Stride error. Changing the settings on native interface has no effect.

The error is:

System.ArgumentException: Invalid stride
at new NAPS2.Images.PixelInfo(int width, int height, SubPixelType subPixelType, int stride, int strideAlign)
at void NAPS2.Scan.Internal.Twain.TwainMemoryBufferReader.CopyBufferToImage(TwainMemoryBuffer memoryBuffer, TwainImageData imageData, IMemoryImage outputImage)
at void NAPS2.Scan.Internal.Twain.TwainImageProcessor.MemoryBufferTransferred(TwainMemoryBuffer memoryBuffer)
at async Task NAPS2.Remoting.Worker.WorkerServiceAdapter.TwainScan(ScanOptions options, CancellationToken cancelToken, ITwainEvents twainEvents)
at async Task NAPS2.Scan.Internal.Twain.RemoteTwainController.StartScan(ScanOptions options, ITwainEvents twainEvents, CancellationToken cancelToken)
at async Task NAPS2.Scan.Internal.Twain.TwainScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<imemoryimage> callback)+(?) => { }
at async Task NAPS2.Scan.Internal.RemoteScanController.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<processedimage, postprocessingcontext=""> callback)
at async Task NAPS2.Scan.ScanController+<>c__DisplayClass15_1.<scan>g__DoScan|7(?)+DoScan(?)
at async IAsyncEnumerable<processedimage> NAPS2.Scan.ScanController.Scan(ScanOptions options, CancellationToken cancelToken)+(?) => { }</processedimage></scan></processedimage,></imemoryimage>

Regards, Leon

1 Attachments

Discussion


Log in to post a comment.

Auth0 Logo