Search found 25 matches

by sarzan
Mon Nov 12, 2007 12:09 pm
Forum: Example requests & Code samples
Topic: Drawing on a picture
Replies: 3
Views: 4124

Tnks can be a good work around :P
by sarzan
Thu Nov 08, 2007 5:46 pm
Forum: Example requests & Code samples
Topic: Drawing on a picture
Replies: 3
Views: 4124

Drawing on a picture

I have to add the free hand drawing capability to my app. My first try is using gdViewer but, obiuvsly, i realize that is not in the scope of the object and it haven't drawing method. Then i focus my try on Imaging object. There is a couple of nice drawing method to use. Ok but how link the 2 thing ...
by sarzan
Wed Oct 03, 2007 3:50 pm
Forum: TWAIN & WIA Acquisition
Topic: Twain Driver Hang the System
Replies: 6
Views: 5534

Hi Loic, i need some help with twain issues and i think your experience can help :) We have bought the last release of PicturePro that include twain capabilities. We still have some problem with Twain hanging the system and require a OS reboot (and this is a big problem for Server). In this case i t...
by sarzan
Wed Sep 26, 2007 10:11 am
Forum: Image Processing & Document Imaging
Topic: gdpicturepro4 why ?
Replies: 1
Views: 2990

gdpicturepro4 why ?

Im using gdpicturepro picture and viewer included in gdpicture demo (v.1.9.xx). Today i buy and install GdPicturePro. What appens ? gdPicturePro libs (GdPicture Pro - Graphics Toolkit) are now named gdPicturePro4 (GDPicture Pro - Imaging Toolkit) , the viewer control is not backward compatible and i...
by sarzan
Wed Sep 26, 2007 9:59 am
Forum: Image Processing & Document Imaging
Topic: CreateImageFromDIB Method
Replies: 4
Views: 3452

K tnks.
by sarzan
Fri Sep 21, 2007 12:58 pm
Forum: Image Processing & Document Imaging
Topic: CreateImageFromDIB Method
Replies: 4
Views: 3452

Is SimpleOCR. Yes i try GetHBimap. I try to use the DIBToIMG method of SimpleOCR to get the IMG structure that SimpleOCR use from a DIB pointer. But passing the handler obtained with gdPicture.GetHBitmap to DIBToIMG cause SimpleOCR dll to crash :( Probably the pointer to HBitmap is not exactly the p...
by sarzan
Fri Sep 21, 2007 12:24 pm
Forum: Image Processing & Document Imaging
Topic: CreateImageFromDIB Method
Replies: 4
Views: 3452

CreateImageFromDIB Method

Hi,

I need the opposite of this method.

I have to pass the handler of a DIB to an OCR control that can handle only file or DIB handler (and i don't want to use a file).

So there is a way to get an handler of a DIB structure created from current GDPicture image ?

Like CreateDIBFromImage :)
by sarzan
Fri Sep 14, 2007 4:15 pm
Forum: Document Viewing
Topic: Printer Management
Replies: 1
Views: 3100

Printer Management

When setting printer quality in the printer properties you (or the driver ?? ) display an enumerator (like Draft, Normal, ecc). You know if there is some way to get the exact DPI corresponding to this enumerator (i mean... Draft quality how many DPI is ??). I suppose that is depend on printer driver...
by sarzan
Tue Sep 11, 2007 11:04 am
Forum: Image Processing & Document Imaging
Topic: CropBorders2
Replies: 14
Views: 7441

Tnks for the help.

I sent you a zip file with some "cropping" experiments :)

Best regards.
by sarzan
Mon Sep 10, 2007 3:57 pm
Forum: Image Processing & Document Imaging
Topic: CropBorders2
Replies: 14
Views: 7441

[For Sarzan] Hi Sarzan, I got your image. It is a special image because the first line of the top of your image are not totaly white... The autocrop algorithm consider it not like a white band so it doesn't want to remove it. The better way with this kind of image is to use the CropWhiteBands metho...
by sarzan
Fri Sep 07, 2007 6:09 pm
Forum: Image Processing & Document Imaging
Topic: Reading and using scanner capabilities
Replies: 3
Views: 3108

yes im sure (the scanning code execute in an if that depend on TwainOpenSource )

Result from the msgbox are (in same order as you write it):
- false
- 1
- 0
- False
- 1
- 13
- False
- 1
- 13

But if i try to test the 3 features one at time i get:
-False
- 1
- 0

For all of them.
by sarzan
Fri Sep 07, 2007 2:24 pm
Forum: Document Viewing
Topic: Preview file with gdViewer lock files....
Replies: 1
Views: 3712

Preview file with gdViewer lock files....

I m using version 3,9005 of gdViewer (included in gdPicture Pro control). When i use the .DisplayFromFile method the source file is locked. Other application can access it read only. And more.. if i close the application without close the picture first (using .closepicture or .close2picture method) ...
by sarzan
Fri Sep 07, 2007 10:20 am
Forum: Image Processing & Document Imaging
Topic: CropBorders2
Replies: 14
Views: 7441

Hi Loic, In the meanwhile i implement an "hand made" routine to do the crop on the same image. The routine work fine and use gdPicture object with same "confidence" level of the .Cropborder2 routine. So i don't understand why the method .Cropoborder2 don't work. See the code: Pub...
by sarzan
Thu Sep 06, 2007 9:19 am
Forum: Image Processing & Document Imaging
Topic: CropBorders2
Replies: 14
Views: 7441

Done. I send you the originale post with Sample.zip attached.

File Sample.zip contain a tiff of a full A4 page with the card i try to crop.
by sarzan
Wed Sep 05, 2007 3:56 pm
Forum: Image Processing & Document Imaging
Topic: CropBorders2
Replies: 14
Views: 7441

I have similar problem in using CropBorder2. As write in an other post i wish to use scan features to crop image, but setting properties like TwainSetAutomaticBorderDetection or TwainSetAutomaticDeskew don't have any effect (and im sure that the scanner have this features). So in the meanwhile i try...