Search found 7 matches

by tfierens1
Sat Mar 21, 2020 1:59 pm
Forum: Example requests & Code samples
Topic: Use GdViewer with PDF and Previewing Image Clean up
Replies: 1
Views: 4198

Use GdViewer with PDF and Previewing Image Clean up

Hi, I'm trying to modify one of your sample (..\GdPicture.NET 14\Samples\WinForm\C#\OCR\OCR.sln) to handle multiple pages and process the currently open page from my PDF but currently it only displays one page and when right clicking on the viewer, the navigation menu is disabled as it is only load ...
by tfierens1
Wed Mar 01, 2017 12:05 pm
Forum: Annotations
Topic: Display annotation over barcode
Replies: 10
Views: 19243

Re: Display annotation over barcode

Hi Cedric,

I ended up with the same problem when using your code and calling the SetROI which was created based on a selection in the viewer. Once I added the top & left points returned from 'GetRectCoordinatesOnDocumentPixel', it sorted the problem.

Thanks again for your help.

Thierry
by tfierens1
Tue Feb 28, 2017 2:47 pm
Forum: Annotations
Topic: Display annotation over barcode
Replies: 10
Views: 19243

Re: Display annotation over barcode

Hi Cedric, Thanks for that, but do you know what was actually incorrect in the app I provided you with? The only thing I've managed to spot is the barcode points. They appear to be completely different. I will check the barcode code tomorrow to see if there is anything else but the difference appear...
by tfierens1
Tue Feb 28, 2017 11:48 am
Forum: Annotations
Topic: Display annotation over barcode
Replies: 10
Views: 19243

Re: Display annotation over barcode

Hi Cedric, Please find attached a sample project where I've reproduce the problem. I haven't included the barcode reader part as I don't have the time, so for now, I've simply hardcode the value that were returned from it for the "second barcode" displayed on the top right of the page I pr...
by tfierens1
Tue Feb 28, 2017 11:05 am
Forum: Annotations
Topic: Display annotation over barcode
Replies: 10
Views: 19243

Re: Display annotation over barcode

Hi Cedric, Quick update. I thought it might have been related to the fact that I printed a .jpg to .tiff as I noticed yesterday that the resolution was returned as 96dpi but this is not the case. I printed this document this morning; re-scanned it as a b&w .tiff at 300dpi and now, even though it...
by tfierens1
Mon Feb 27, 2017 7:15 pm
Forum: Annotations
Topic: Display annotation over barcode
Replies: 10
Views: 19243

Re: Display annotation over barcode

Hi Cedric, Thanks for getting back to me. This is exactly what I was looking for but my annotations are still not being positioned correctly. This is the code I have so far: // get image resolution i.e. 96 float resolution = gdPictureImaging.GetHorizontalResolution(imageId); // get barcode point loc...
by tfierens1
Fri Feb 24, 2017 2:16 pm
Forum: Annotations
Topic: Display annotation over barcode
Replies: 10
Views: 19243

Display annotation over barcode

Hi, I'm wondering if there was a way to display an annotation accurately (i.e. highlight or other) over a 1D barcode that's been detected on the page. I've seen your demo on how to draw a rectangle on an image (from https://www.gdpicture.com/guides/gdpicture/Overview.html#GdPicture.NET.12~GdPicture1...