Search found 22 matches

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

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: 1
Views: 1402

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: 1397

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: 1397

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 height Is there...
by Chess
Tue Jan 06, 2015 5:39 pm
Forum: PDF
Topic: PDF/A (a-1b) and fonts
Replies: 2
Views: 837

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 Acquisition
Topic: TWAIN custom CAP number
Replies: 3
Views: 1801

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 "false"....
by Chess
Wed Oct 01, 2014 2:07 pm
Forum: TWAIN Acquisition
Topic: TWAIN custom CAP number
Replies: 3
Views: 1801

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 Acquisition
Topic: TWAIN custom CAP number
Replies: 3
Views: 1801

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: 837

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. I ge...
by Chess
Thu Jan 02, 2014 10:46 am
Forum: PDF
Topic: Barcode 1D, orientation
Replies: 1
Views: 348

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: 348

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: Forms Processing
Topic: OMR, Anchor and TIFF multipage
Replies: 1
Views: 2034

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: Forms Processing
Topic: OMR, Anchor and TIFF multipage
Replies: 1
Views: 2034

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 <= numberOfPages; i++)...
by Chess
Wed Feb 06, 2013 1:26 pm
Forum: Annotations
Topic: Annotation top,left from/to text
Replies: 1
Views: 1894

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 compute a...
by Chess
Wed Feb 06, 2013 12:24 pm
Forum: Annotations
Topic: Annotation top,left from/to text
Replies: 1
Views: 1894

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...