Forum Replies Created
- AuthorPosts
Thanks for the suggestion – heres what happens…
Placing a break point at the TwainTwainAcquire event – the program has failed before this point is reached… so I expect this is only called after the image has been grabbed by the scanner.
As for the Jpeg – I would guess that 48 bits would be stripped down to 24 bits as I am unsure if Jpeg supports 48 Bit colour – but as I am no expert – I could be wrong?
Keith.
In the lower Bit depth resolution it works perfectly OK. In the higher bit depth, you can watch the progress bar proceed… but then you get an “Access violation at address 00402851 in module ‘Example.exe’. Write of address 5165729E, when the progress bar is around 1/2 way through.
Looking with the debugger into this address is not that informative – as it doesnt take you into a line of Delphi Code, but into a section of assembly.
It appears to me, that the image is being sent to some block of memory that hasn’t had enough space assigned for the 48Bit image (which will be around 2X that of the standard 24Bit colour I expect.)
It doesnt matter which image format (for transfer I expect you mean) I use, the same problem occurs. Ultimately, I just want to grab one of the RGB colours and then window down into that to process a type of X-ray film.
Keith.
@Benedictum wrote:
Downloaded this – it appears simple to set up and use… but how can I get it to work with 48 Bit colour – the scanner supports 48Bit colour (Epson V700) but sample application hangs when 48Bit colour selected, and scanned.
Thanks.
- AuthorPosts