Search found 33 matches

by jpro51
Fri Sep 11, 2009 4:47 am
Forum: Image Processing & Document Imaging
Topic: Histogram operation
Replies: 1
Views: 1513

Re: Histogram operation

Got it figured out - used the ConvertTo8BppQ() method - thanks anyway.
by jpro51
Fri Sep 11, 2009 3:30 am
Forum: Image Processing & Document Imaging
Topic: Histogram operation
Replies: 1
Views: 1513

Histogram operation

I'm attempting to use the HistogramGet8Bpp() method on an image and I'm getting an error status of NotIndexedPixelFormat - can you tell me what operation I need to use to convert my jpg image so that I can generate a histogram? Thanks.

Jim
by jpro51
Fri Feb 20, 2009 5:35 pm
Forum: Image Processing & Document Imaging
Topic: Printed Documentation
Replies: 3
Views: 1709

Re: Printed Documentation

Loïc,

Oops - something doesn't seem right - all I see is "The page cannot be displayed" (web link error) for every item. Can you open and display ok on your end?

Jim
by jpro51
Thu Feb 19, 2009 3:06 pm
Forum: Image Processing & Document Imaging
Topic: Printed Documentation
Replies: 3
Views: 1709

Printed Documentation

Loïc, You were kind enough last year to provide me with .chm file so that I could print the documentation for version 4 of GdPicturePro. I'm starting a new project using version 5 and was wondering if you would again be able to provide a .chm file so that I can print out the document. Thanks very mu...
by jpro51
Thu Mar 27, 2008 6:15 am
Forum: Image Processing & Document Imaging
Topic: gd5 memory issue
Replies: 6
Views: 2732

Re: gd5 memory issue

This sounds similar to a problem I had with delphi on 4.5 - I found it was a threading problem and I had to call CoInitializeEx (NIL, COINIT_APARTMENTTHREADED) before invoking another module or I would get an error when exiting the called module. Worked fine inside the same module. Just a thought. Jim
by jpro51
Wed Feb 13, 2008 2:55 pm
Forum: Image Processing & Document Imaging
Topic: Question on TwainSetCurrentBrightness
Replies: 2
Views: 1954

Re: Question on TwainSetCurrentBrightness

Loïc, My code looks like what you have below only I check for a true and output a message if the setting succeeded. I first try with -100, then 0, then 100. The 0 and 100 succeed; the -100 does not succeed. Since the 0 and 100 work, I'm assuming that the source open worked and that I'm in state 4. I...
by jpro51
Sun Feb 10, 2008 6:53 pm
Forum: Image Processing & Document Imaging
Topic: Question on TwainSetCurrentBrightness
Replies: 2
Views: 1954

Question on TwainSetCurrentBrightness

I'm attempting to use the TwainSetCurrentBrightness and TwaintSetCurrentContrast methods and having some issues. It appears that these cannot be set to negative values. I checked and the Available count for both contrast and brightness is 2001 for the HP scanner I'm using. The minimum value returned...
by jpro51
Fri Feb 08, 2008 2:39 pm
Forum: Image Processing & Document Imaging
Topic: More Problems with ClonedImageI
Replies: 8
Views: 3318

Re: More Problems with ClonedImageI

Loïc, Thanks very much for pointing out the error. Actually this is just test code that I've written to help me understand how the imaging object manages the images and how image clones work. Some of the "excess" code is just for checking image IDs, or left over from trying different scena...
by jpro51
Thu Feb 07, 2008 8:34 pm
Forum: Image Processing & Document Imaging
Topic: More Problems with ClonedImageI
Replies: 8
Views: 3318

Re: More Problems with ClonedImageI

Loïc, Well, one more step in the right direction; however (another one of those words :cry: ) unless I misunderstand how the CreateCloneImageI works there is still another issue. I now try to use the first independent clone that was made and it cause an access violation in the viewer. scanImageID :=...
by jpro51
Thu Feb 07, 2008 5:07 pm
Forum: Image Processing & Document Imaging
Topic: More Problems with ClonedImageI
Replies: 8
Views: 3318

Re: More Problems with ClonedImageI

Loïc, Your getting closer - It now works fine with a single scan. But (always hate that "but" word), if I then attempt another scan and clone to another object I get an access violation when I attempt to set the nativeimage to the docViewer the second time. See the follow code snip. I'll p...
by jpro51
Thu Feb 07, 2008 3:59 pm
Forum: Image Processing & Document Imaging
Topic: More Problems with ClonedImageI
Replies: 8
Views: 3318

Re: More Problems with ClonedImageI

Loïc, I figured out that I can keep my program from leaking by just tracking all the original image handles that I used for the clone images and then delete those from the original image object when I'm done. So I do not have any urgent need to resolve my issue with CreateClonedImageI, though it doe...
by jpro51
Thu Feb 07, 2008 4:36 am
Forum: Image Processing & Document Imaging
Topic: More Problems with ClonedImageI
Replies: 8
Views: 3318

More Problems with ClonedImageI

Loïc, I'm attempting to use ClonedImageI to create an independent cloned image that I can work on in another imaging object while scanning. I'm doing something similar just using the ClonedImage method but I suspect it creates a leak as I'm scanning multiple pages and cloning them to several indepen...
by jpro51
Tue Jan 29, 2008 4:14 pm
Forum: Document Viewing
Topic: Application Distribution
Replies: 1
Views: 1965

Re: Application Distribution

If you are installing your application on a new machine don't forget to install the dll/ocx files and register the control as described in the reference guide https://gdpicture.com/references/gdpictu ... index.html.

Good luck.

Jim
by jpro51
Thu Jan 24, 2008 7:31 pm
Forum: Image Processing & Document Imaging
Topic: Problems with feeder
Replies: 4
Views: 2813

Re: Problems with feeder

Loïc, Yes, feeder is working fine now that I re-select the feeder as you suggested. Interesting that the source should shift out of feeder selected mode on its own like that but, as you say, I also could not see anything in the Twain Spec that specifies the behavior so I guess it is up to the device...
by jpro51
Thu Jan 24, 2008 7:23 pm
Forum: Image Processing & Document Imaging
Topic: Sheetfeeder check
Replies: 5
Views: 3066

Re: Sheetfeeder check

I would suggest that you try calling TwainSelectFeeder(true) before testing the feeder. I've been working on a project using the feeder and find this seems to work best. See some discussion at https://www.gdpicture.com/livesupport/pr ... -t433.html.

Good Luck.

Jim