Search found 33 matches

by mattewan
Wed Dec 16, 2009 1:14 pm
Forum: Image Processing & Document Imaging
Topic: Changing Brightness inverts the image
Replies: 5
Views: 2855

Changing Brightness inverts the image

Hello, If i change the brightness of an uncompressed tif, or change the contrast. The Image gets inverted. Funny thing is, if i then invert the image using the fx methods, it still stays inverted, unless i close them image, re-open it, and invert it, then save it again. What could be the cause of th...
by mattewan
Wed Dec 16, 2009 1:11 pm
Forum: Image Processing & Document Imaging
Topic: Windows 7 - Cant declare gdpicture.
Replies: 2
Views: 1765

Re: Windows 7 - Cant declare gdpicture.

Nevermind.... This is my mistake.

Had to set the target CPU to 32bit. Guessing it was trying to compile the project as 64bit.
by mattewan
Tue Nov 17, 2009 1:06 pm
Forum: Image Processing & Document Imaging
Topic: Windows 7 - Cant declare gdpicture.
Replies: 2
Views: 1765

Windows 7 - Cant declare gdpicture.

Hello, Using the newest version of GDPicture, with Windows 7 Ultimate x86_64, i get the following exception when executing any function or routine which declares gdpicture: A first chance exception of type 'System.BadImageFormatException' occurred in ImageToPDF.exe This is with a new project file cr...
by mattewan
Tue Oct 20, 2009 1:18 pm
Forum: Document Viewing
Topic: Extract text from an area of a pdf page
Replies: 10
Views: 6879

Re: Extract text from an area of a pdf page

I am also getting this same problem:

? GdViewer.PdfGetPageText()
""
? GdViewer.PdfGetPageText(1)
""

Opening the pdf in adobe reader i can select the text fine.

I am unable to attach the pdf hower, as it contains sensitive information
by mattewan
Wed Oct 07, 2009 11:08 am
Forum: General discussions
Topic: GDPicture.NET - Thread Safe
Replies: 8
Views: 13939

Re: GDPicture.NET - Thread Safe

Hello Loic,

Thanks for the info on that.

In this case i can do work arounds instead, like launching 4 seperate programs on a pc, which communicate over tcp/ip to complete a queue of work.

Matt
by mattewan
Tue Oct 06, 2009 1:54 pm
Forum: General discussions
Topic: GDPicture.NET - Thread Safe
Replies: 8
Views: 13939

GDPicture.NET - Thread Safe

Hello Loic, A few months ago i made a topic in regards to GDPicture throwing random exceptions when running multiple threads. Back then you said that it would be thread safe in 3 months. However, its been a bit longer than that. In the meantime i have (sort of) got around the problem by basically, l...
by mattewan
Wed Sep 09, 2009 12:24 pm
Forum: Image Processing & Document Imaging
Topic: Drawing Text
Replies: 6
Views: 4029

Re: Drawing Text

Hello Loic, After doing what you said, i have outputted the status of the functions and as you expected, after the first few images i started getting outofmemory return codes. What i dont understand is that im releasing the image at the end of each image file, is there something else i can do? or wi...
by mattewan
Wed Sep 02, 2009 11:17 am
Forum: Image Processing & Document Imaging
Topic: Drawing Text
Replies: 6
Views: 4029

Re: Drawing Text

ok this is very strange..... I added some debug.print lines to vb to find out certain values as it runs, Now, the code is still the same as above, with the convert to 1bpp commented out, and when running it i get this: clsWorkerThread.ProcessBatch() GDVersion: 6.4 ### R:\Originals\HB1003-210.tif ###...
by mattewan
Tue Sep 01, 2009 4:57 pm
Forum: Image Processing & Document Imaging
Topic: Drawing Text
Replies: 6
Views: 4029

Re: Drawing Text

Code: Select all

?OneBatchItem.inFile
"s:\matt\input\plan_0001.tif"
?OneBatchItem.outFile
"s:\matt\output\plan_0001.tif"
by mattewan
Tue Sep 01, 2009 2:42 pm
Forum: Image Processing & Document Imaging
Topic: Drawing Text
Replies: 6
Views: 4029

Drawing Text

Hello, I am trying to draw text on an image, but having problems. 'Open Image ImageID = imaging.CreateGdPictureImageFromFile(OneBatchItem.inFile) 'Add Border imaging.AddBorderBottom(ImageID, 140, Color.White) 'Calculate Text Position TextWidth = imaging.GetTextWidth(ImageID, Replace(My.Computer.File...
by mattewan
Tue Jun 30, 2009 9:48 am
Forum: Image Processing & Document Imaging
Topic: gdpicture, threading issues
Replies: 8
Views: 3116

Re: gdpicture, threading issues

Hello Loic,

I know it hasn't quite been 3 months yet, but im just checking to see if there has been any progress made on this, or whether its going to be quite a while before we see something.

Thank you.

Matthew Jones
by mattewan
Tue May 05, 2009 11:26 am
Forum: Image Processing & Document Imaging
Topic: Save as Tiff : LZW
Replies: 1
Views: 1447

Save as Tiff : LZW

Hello, I know this question has been asked before but im also getting the same problem. Basically, im opening an image, then drawing another image into the first image, then trying to save it as group4 tiff, but i always get lzw. Here is the code im using: to insert image: imaging.DrawGdPictureImage...
by mattewan
Tue Apr 14, 2009 12:52 pm
Forum: Image Processing & Document Imaging
Topic: gdpicture, threading issues
Replies: 8
Views: 3116

Re: gdpicture, threading issues

Hello Loic, Thanks for the reply. I had a feeling it wasn't going to be something too easy to fix, and completly understand that it may take a while to repair. I just needed to know whether it was going to be something that was fixed in the future, because if it is, then i will carry on writting my ...
by mattewan
Thu Apr 09, 2009 4:26 pm
Forum: Image Processing & Document Imaging
Topic: gdpicture, threading issues
Replies: 8
Views: 3116

Re: gdpicture, threading issues

Hello,

Just wondering whether there has been any developments on this

Thank you.

Matthew Jones
by mattewan
Tue Apr 07, 2009 9:59 am
Forum: Image Processing & Document Imaging
Topic: gdpicture, threading issues
Replies: 8
Views: 3116

Re: gdpicture, threading issues

Right i am attaching a sample project i knocked together really quickly to demonstrate crashing while running multiple threads. The program takes a source path (i have been using a folder full of tiff files - single page), a dest path (which i set to the same path as the source), and thats it. There...