Search found 22 matches

by Chess
Fri Jul 07, 2017 7:29 am
Forum: PDF
Topic: GdViewer and GdPicturePDF annotation
Replies: 2
Views: 6961

Re: GdViewer and GdPicturePDF annotation

I try something like that : The user click on PDF note (see attachement bellow). X and Y is current mouse coordinate (catch with mouseup event on GdViewer (GdViewer1)). With the bellow code, I try to translate mouse coordinate to PDF coordinate (a,b). double a = 0, b = 0; GdViewer1.CoordViewerPixelT...
by Chess
Thu Jul 06, 2017 10:25 pm
Forum: PDF
Topic: GdViewer and GdPicturePDF annotation
Replies: 2
Views: 6961

GdViewer and GdPicturePDF annotation

Hi, It seem that GdPicture.net GdViewer display PDF annotation as a bitmap : when mouse is over an annotation, nothing happen. But using GdPicturePDF and GetAnnotationRect method, we have annotation coordinate. So, how can we translate mouse coordinate in GdViewer to check if mouse position is on th...
by Chess
Fri Dec 23, 2016 11:32 pm
Forum: Image Processing & Document Imaging
Topic: Resize, keepiing resolution
Replies: 2
Views: 4860

Re: Resize, keepiing resolution

Thanks for answer and I did exactly what you said (setting manually horizontal / vertical DPI) after resize.
by Chess
Mon Oct 31, 2016 1:44 am
Forum: Image Processing & Document Imaging
Topic: Resize, keepiing resolution
Replies: 2
Views: 4860

Resize, keepiing resolution

Hi, I have some image bigger than A4 (ISO format 8.27 × 11.7 inches) in 300 DPI. I want to reisze it to A4 format and set it to their original resolution (300 DPI). Scale, resize, resizeWidthRatio always change the horizontal (and/or) vertical resolution, but no "real" image width or heigh...
by Chess
Tue Jan 06, 2015 5:39 pm
Forum: PDF
Topic: PDF/A (a-1b) and fonts
Replies: 2
Views: 3745

Re: PDF/A (a-1b) and fonts

Hi,

I finally solve it with iTextSharp that give better control over PDF creation. See this link at stackoverflow.

Note : the control result is not the same depending Acrobat version you are using.
by Chess
Wed Oct 01, 2014 3:02 pm
Forum: TWAIN & WIA Acquisition
Topic: TWAIN custom CAP number
Replies: 3
Views: 7518

Re: TWAIN custom CAP number

Note : of course I try to set a value out of TwainCapabilites enum range (it work in c#) using cast like : TwainCapabilities capa = (TwainCapabilities) 32873; // 0x8000 + 105 ret = gd.TwainSetCapCurrentString(capa, TwainItemTypes.TWTY_INT32, 2); // 2 is for landscape But ret value is always "fa...
by Chess
Wed Oct 01, 2014 2:07 pm
Forum: TWAIN & WIA Acquisition
Topic: TWAIN custom CAP number
Replies: 3
Views: 7518

Re: TWAIN custom CAP number

Thanks, but may be, I'm wrong explained : I would like something like : public bool TwainSetCapCurrentNumeric( [color=#BF0040]MyValue[/color], TwainItemTypes ItemType, double NewValue ) where MyValue = CAP_CUSTOMBASE + 105 Instead of : public bool TwainSetCapCurrentNumeric( TwainCapabilities Cap, Tw...
by Chess
Wed Oct 01, 2014 11:54 am
Forum: TWAIN & WIA Acquisition
Topic: TWAIN custom CAP number
Replies: 3
Views: 7518

TWAIN custom CAP number

Hello, I try to acquire pages in landscape mode with a Canon 9080C. Standard twain page orientation is not supported but it seem it can be done using CAP_CUSTOMBASE + 105. It seem TwainSetCapCurrentString/TwainGetCapCurrentNumeric can be use only with TwainCapabilities enumeration values. Value of C...
by Chess
Tue Aug 05, 2014 12:09 pm
Forum: PDF
Topic: PDF/A (a-1b) and fonts
Replies: 2
Views: 3745

PDF/A (a-1b) and fonts

Hello, I try to build a PDF/A-1b from an existing PDF. I use clonePage to copy PDF page from the old one (PDF) to the new PDF/A. I have no error but using Acrobat pro (10), I check the resulting PDF/A with tools->Print production->Preflight and profile "PDF/a-1b (2005) and the file is rejected....
by Chess
Thu Jan 02, 2014 10:46 am
Forum: PDF
Topic: Barcode 1D, orientation
Replies: 1
Views: 2610

Re: Barcode 1D, orientation

Hello,

Solved by AddPageRotation.

Thx.
by Chess
Fri Dec 20, 2013 5:39 pm
Forum: PDF
Topic: Barcode 1D, orientation
Replies: 1
Views: 2610

Barcode 1D, orientation

Hello,

Is Barcode1D function can write barcode vertically ? (can I control barcode orientation when writing it).

Otherwise, if I want to draw an Barcode vertically in a PDF file, may I use standard GdPicture to draw an 1D barcode vertically and then add this picture in the PDF ?

Thanks,
by Chess
Mon Mar 11, 2013 5:38 pm
Forum: OCR, MRC & Document understanding
Topic: OMR, Anchor and TIFF multipage
Replies: 2
Views: 8669

Re: OMR, Anchor and TIFF multipage

Hello,

Successfully tested with both OMR and Anchor function, with a sample application and some multipage TIFF.

Sometimes, I just hope that someone (people that manage GdPicture code) said : Yep, it work, we build it for ! instead of spending 2 hours or more to build an test application.

Regards.
by Chess
Fri Mar 08, 2013 5:28 pm
Forum: OCR, MRC & Document understanding
Topic: OMR, Anchor and TIFF multipage
Replies: 2
Views: 8669

OMR, Anchor and TIFF multipage

Hello, Is it possible to use FindAnchor and OMRDetectMarks with multipage TIFF file selection function ?. Something like that : m_ImageID = m_GdPictureImaging.CreateGdPictureImageFromFile("tiff_multi.tif"); if (m_GdPictureImaging.TiffIsMultiPage(m_ImageID)) { for (int i = 1; i <= numberOfP...
by Chess
Wed Feb 06, 2013 1:26 pm
Forum: Annotations
Topic: Annotation top,left from/to text
Replies: 1
Views: 4521

Re: Annotation top,left from/to text

Found/nevermind. The top/left get from existing annotation is the middle point of the bounding box of the annotation but when create a new one using AnnotationManager, we provide the real top/left. So, if need to recreate an annotation using existing top/left, the "new" top/left need to be...
by Chess
Wed Feb 06, 2013 12:24 pm
Forum: Annotations
Topic: Annotation top,left from/to text
Replies: 1
Views: 4521

Annotation top,left from/to text

Hello, I'am trying to save annotation top/left and size to xml file. When I'am loading values (top/left/size) from xml files and convert to float, values are still same as they write in xml file. But after create annotation, top / left values change. Why ? Save step are : - Load an TIFF 300 DPI in g...