pdf to image converter

When converting from a pdf to a tiff some of the pages become blurred

Hello
We have been using your PDF to TIFF converter for many years, and it has worked fine for many conversions per day.
We are experiencing a certain problem for the third time.
When converting from a pdf to a tiff some of the pages become blurred.
here are the details...

PDF to Image Converter 2.1

XP PRO
(both trial and purchased versions)

When converting from PDF to TIFF, certain pages are "blurred" when converted.
It is usually a small percent of the pages, < 10%.
It is repeatable, the same pages will blur each time.
it is transferable, the problem follows the PDF from computer to computer.

OUR PREFERRED OPTIONS: 300dpi, group 4, multiple page
The problem happens for any combo of TIFF options, IF the resolution is greater than 198 dpi.
The pdf converts OK if the resolution is 198 or less.
The pdf converts blurred is the resolution is 199 or greater.

I have attached a one page pdf and a one page tiff that is blurred at 300 dpi and one tiff that is not blurred at 198 dpi.

It does not happen often, that we know of.
We have to have confidence in the conversions, and we are losing that.

Any idea how to prevent this from happening?

Thanks
============================
We apologize for any inconvenience this may have caused to you, we will research this problem shortly.

In the meantime, you can also download our another version of PDF to Image Converter Command Line from following web page to try,

http://www.verydoc.com/pdf-to-image.html

we hoping this version of PDF to Image Converter Command Line product will work better for you.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf to html converter, pdf to text converter, pdf to word converter

Where to download the Trial Version of your PDF software?

Dear Concern,

We seen your web site and products also, we need to purchase a product. Before that we need trail version for (PDF to Word, EXCEL, HTML, Text Documents etc).

We seen your sample product, even though need to try your product.

Kindly send trail version as above.

Replay Must...

Regards,
===================================
Thanks for your message, you can download the trial version of PDF to Word, PDF to Excel, PDF to HTML, PDF to Text products from our website, just open the product web page in web browser, then you can simple click "Download" hyperlink to download the trial version directly,

PDF to Word Converter,
https://www.verypdf.com/pdf2word/index.html

PDF to Excel Converter can be downloaded from our partner's web site,
http://www.minipdf.com/pdf2excel.htm

PDF to HTML Converter,
https://www.verypdf.com/pdf2htm/index.html#dl

PDF to Text Converter,
https://www.verypdf.com/pdf2txt/pdf2txt.htm#dl

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdfstamp command line

How to use annotation or notes function in PDF Stamp Command Line and PDF Stamp SDK?

VeryPDF PDF Stamp Command Line and PDF Stamp SDK products are support annotation (notes) function, this is a great function to stamp your PDF files.

If you are using PDF Stamp Command Line, you can use following command line to add annotation stamp into your PDF pages,

pdfstamp.exe -pdf example.pdf -o annotstamp.pdf -annotfile annot.ini

If you are using PDF Stamp SDK product, you can use following VC++ source code to insert annotation or notes stamps into your PDF pages,

void main(int argc,char* argv[])
{
    char szPDFFile[256];
    char szOutFile[256];
    char szIniFile[256];
    int iRet = 0;

    memset(szPDFFile,0,256);
    memset(szOutFile,0,256);
    memset(szIniFile,0,256);

    if(!LoadVeryWDll())
        return;

    //Register PDFStamp SDK with your License Key
    VeryStampReg("XXXXXXXXXXXXXXXXXXXXXXXX");

    GetModulePath(szPDFFile,"example.pdf");
    GetModulePath(szOutFile,"test_notes.pdf");
    GetModulePath(szIniFile,"annot.ini");
   
    iRet = VeryStampInsertAnnotStamp(szPDFFile, szOutFile, szIniFile);

    FreeVeryWDll();
}

This is the screenshot of annotation or notes stamps,

image

Please refer to the format of annot.ini file at below,

; Description for this .ini file
;
;
; AnnotRect=[left top right bottom]
; The annotation rectangle, defining the location of the annotation on the page in default user space units.
; Format is [left top right bottom], The coordinate origin (0, 0) is at the left-bottom corner of the page.
;
;
; AnnotColor=[R G B]
; An array of numbers in the range 0.0 to 1.0, representing a color used for the following purposes:
;     The background of the annotation’s icon when closed
;     The title bar of the annotation’s pop-up window
;     The border of a link annotation
; The number of array elements determines the color space in which the color is defined:
; 0 - No color; transparent
; 1 - DeviceGray
; 3 - DeviceRGB
; 4 - DeviceCMYK
;
;
; AnnotFlag=X
; A set of flags specifying various characteristics of the annotation.
; Annotation Flags
;
;   The value of the annotation dictionary’s F entry is an unsigned 32-bit integer con-
;   taining flags specifying various characteristics of the annotation. Bit positions
;   within the flag word are numbered from 1 (low-order) to 32 (high-order). Table
;   8.16 shows the meanings of the flags; all undefined flag bits are reserved and must
;   be set to 0.
;
;                               TABLE 8.16 Annotation flags
;BIT POSITION   NAME            MEANING
;
;1   Invisible       If set, do not display the annotation if it does not belong to one of the stan-
;                    dard annotation types and no annotation handler is available. If clear, display
;                    such an unknown annotation using an appearance stream specified by its ap-
;                    pearance dictionary, if any (see Section 8.4.4, “Appearance Streams”).
;
;2   Hidden          (PDF 1.2) If set, do not display or print the annotation or allow it to interact
;                    with the user, regardless of its annotation type or whether an annotation
;                    handler is available. In cases where screen space is limited, the ability to hide
;                    and show annotations selectively can be used in combination with appearance
;                    streams (see Section 8.4.4, “Appearance Streams”) to display auxiliary pop-up
;                    information similar in function to online help systems. (See implementation
;                    note 83 in Appendix H.)
;
;3   Print           (PDF 1.2) If set, print the annotation when the page is printed. If clear, never
;                    print the annotation, regardless of whether it is displayed on the screen. This
;                    can be useful, for example, for annotations representing interactive pushbut-
;                    tons, which would serve no meaningful purpose on the printed page. (See
;                    implementation note 83 in Appendix H.)
;
;4   NoZoom           (PDF 1.3) If set, do not scale the annotation’s appearance to match the magni-
;                     fication of the page. The location of the annotation on the page (defined by
;                     the upper-left corner of its annotation rectangle) remains fixed, regardless of
;                     the page magnification. See below for further discussion.
;
;5   NoRotate         (PDF 1.3) If set, do not rotate the annotation’s appearance to match the rota-
;                     tion of the page. The upper-left corner of the annotation rectangle remains in
;                     a fixed location on the page, regardless of the page rotation. See below for fur-
;                     ther discussion.
;
;6   NoView           (PDF 1.3) If set, do not display the annotation on the screen or allow it to
;                     interact with the user. The annotation may be printed (depending on the
;                     setting of the Print flag) but should be considered hidden for purposes of on-
;                     screen display and user interaction.
;
;7   ReadOnly         (PDF 1.3) If set, do not allow the annotation to interact with the user. The
;                     annotation may be displayed or printed (depending on the settings of the
;                     NoView and Print flags) but should not respond to mouse clicks or change its
;                     appearance in response to mouse motions.
;                     Note: This flag is ignored for widget annotations; its function is subsumed by the
;                     ReadOnly flag of the associated form field (see Table 8.70 on page 676).
;
;8   Locked           (PDF 1.4) If set, do not allow the annotation to be deleted or its properties (in-
;                     cluding position and size) to be modified by the user. However, this flag does
;                     not restrict changes to the annotation’s contents, such as the value of a form
;                     field. (See implementation note 84 in Appendix H.)
;
;9   ToggleNoView     (PDF 1.5) If set, invert the interpretation of the NoView flag for certain
;                     events. A typical use is to have an annotation that appears only when a mouse
;                     cursor is held over it; see implementation note 85 in Appendix H.
;
;10  LockedContents   (PDF 1.7) If set, do not allow the contents of the annotation to be modified by
;                     the user. This flag does not restrict deletion of the annotation or changes to
;                     other annotation properties, such as position and size.
;
;
; Author=string
; Author of annotation.
;
;
; Content=string
; Text to be displayed for the annotation or, if this type of annotation does not
; display text, an alternate description of the annotation’s contents in human-readable
; form. In either case, this text is useful when extracting the document’s contents
; in support of accessibility to users with disabilities or for other purposes.
;
;
; ModifyDate=D:YYYYMMDDHHmmSSOHH'mm'
; The date and time when the annotation was most recently modified.
; where
;     YYYY is the year
;     MM is the month
;     DD is the day (01–31)
;     HH is the hour (00–23)
;     mm is the minute (00–59)
;     SS is the second (00–59)
;     O is the relationship of local time to Universal Time (UT), denoted by one of the characters +, ?, or Z (see below)
;     HH followed by ' is the absolute value of the offset from UT in hours (00–23)
;     mm followed by ' is the absolute value of the offset from UT in minutes (00–59)
; For example, December 23, 1998, at 7:52 PM, U.S. Pacific Standard Time, is represented by the string
; D:199812231952-08'00'
;
;
; AnnotIcon=Key, Note, Help, NewParagraph, Paragraph, Insert
; The name of an icon to be used in displaying the annotation. Viewer applications
; should provide predefined icon appearances for at least the following standard names:
; Key, Note, Help, NewParagraph, Paragraph, Insert
;
;
; PopupRect=[left top right bottom]
; A pop-up annotation for entering or editing the text associated with this annotation.
; Specify the position for this popup window, format is [left top right bottom],
; The coordinate origin (0, 0) is at the left-bottom corner of the page.
;
;
; PopupIsOpen=1 or 0
; A flag specifying whether the annotation should initially be displayed open. Default value: false (closed).
;
;
; PageRange=2,4-8,29-32,38
; Set page range for the annotation, Example: -u "2,4-8,29-32,38"
;

[Annot1]
AnnotRect=[10.0 100.0 110 200]
AnnotColor=[1 0 0]
AnnotFlag=4
Author=Author of the annotation
Content=The annotation's Text Content
AnnotIcon=Key
ModifyDate=D:20090726114000+08'00'
PopupRect=[10.0 200.0 110 300]
PopupIsOpen=1
PageRange=1-2

[Annot2]
AnnotRect=[110.0 100.0 210 200]
AnnotColor=[0 1 0]
AnnotFlag=4
Author=Author of the annotation
Content=The annotation's Text Content
AnnotIcon=Note
ModifyDate=D:20090726114000+08'00'
PopupRect=[110.0 200.0 210 300]
PopupIsOpen=1
PageRange=1-2

[Annot3]
AnnotRect=[210.0 100.0 310 200]
AnnotColor=[0 0 1]
AnnotFlag=4
Author=Author of the annotation
Content=The annotation's Text Content
AnnotIcon=Help
ModifyDate=D:20090726114000+08'00'
PopupRect=[210.0 200.0 310 300]
PopupIsOpen=1
PageRange=1-2

[Annot4]
AnnotRect=[310.0 100.0 410 200]
AnnotColor=[1 1 0]
AnnotFlag=4
Author=Author of the annotation
Content=The annotation's Text Content
AnnotIcon=NewParagraph
ModifyDate=D:20090726114000+08'00'
PopupRect=[310.0 200.0 410 300]
PopupIsOpen=1
PageRange=1-2

[Annot5]
AnnotRect=[410.0 100.0 510 200]
AnnotColor=[1 0 1]
AnnotFlag=4
Author=Author of the annotation
Content=The annotation's Text Content
AnnotIcon=Paragraph
ModifyDate=D:20090726114000+08'00'
PopupRect=[410.0 200.0 510 300]
PopupIsOpen=1
PageRange=1-2

[Annot6]
AnnotRect=[510.0 100.0 610 200]
AnnotColor=[0 1 1]
AnnotFlag=4
Author=Author of the annotation
Content=Name line 1\rAddress Line 2\rCity, State Zip line3\rPhone Number line 4\r
AnnotIcon=Insert
PopupRect=[510.0 200.0 610 300]
PopupIsOpen=1
PageRange=

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
@verypdf news, pdf print

How to add new paper form of custom size?

See “How to change current paper form on the printer?” article from following web page,

https://www.verypdf.com/wordpress/201109/how-to-change-current-paper-form-2423.html

Do you know how to add the new paper size or paper form of custom size to the printer? if not, please refer to the sample VC++ source code at below,

if (OpenPrinter(PRINTER_NAME, &hPrinter, NULL))
{
FORM_INFO_1 FormInfo = {0};
FormInfo.pName = (char*) &szFormName;
FormInfo.Size.cx = FormInfo.ImageableArea.right = nFormWidth*1000;
FormInfo.Size.cy = FormInfo.ImageableArea.bottom = nFormLength*1000;

if (AddForm(hPrinter, 1, (BYTE*) &FormInfo))
{
FillPrinterPapers();

// set new paper to the printer
for (int i=0; i<nVeryPDFPaperCount; i++)
{
if (lstrcmp(szFormName, &pPaperNames[i*64]) == 0)
{
SetPrinterPaper(lpPapers[i], szFormName);
FillPrinterPapers();
break;
}
}
}
else
{
// report error
}

ClosePrinter(hPrinter);
}

How to change print quality (resolution) and paper orientation to target printer?

HANDLE hPrinter = NULL;
PRINTER_DEFAULTS printerDef = { NULL, NULL, PRINTER_ALL_ACCESS };

if (OpenPrinter(PRINTER_NAME, &hPrinter, &printerDef))
{
DWORD dwNeeded = 0;

GetPrinter(hPrinter, 2, NULL, 0, &dwNeeded);
if (dwNeeded > 0)
{
BYTE* lpPrinterInfo = new BYTE[dwNeeded];

// get current printer settings
if (GetPrinter(hPrinter, 2, lpPrinterInfo, dwNeeded, &dwNeeded))
{
DEVMODE* lpDevMode = ((PRINTER_INFO_2*) lpPrinterInfo)->lpDevMode;
lpDevMode->dmFields = lpDevMode->dmFields|DM_ORIENTATION |DM_PRINTQUALITY|DM_YRESOLUTION;

// change parameters
lpDevMode->dmOrientation = 1;    // Orientation: 1 - portrait; 2 - landscape.
lpDevMode->dmPrintQuality = 300; // Horizontal resolution value
lpDevMode->dmYResoultion = 300; // Vertical resoultion value

// save changed settings
if (!SetPrinter(hPrinter, 2, lpPrinterInfo, 0))
{
// report error
}
}
else
{
// report error
}

delete [] lpPrinterInfo;
}

ClosePrinter(hPrinter);
}
else
{
// report error
}

You can also look at "Adding custom paper sizes to named printers" article at following web page,

http://www.codeproject.com/KB/printing/custom_paper_sizes.aspx

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
@verypdf news, pdf print

How to change current paper form?

You can use following VC++ source code to retrieve paper size information from a special printer,

// Function that enumerates all available paper forms or paper size:
void FillPrinterPapers()
{
int nPaperCount = 0;
WORD* lpPapers = NULL;
char* lpPaperNames = NULL;
POINT* lpPaperSizes = NULL;

HANDLE hPrinter = NULL;

if (OpenPrinter(PRINTER_NAME, &hPrinter, NULL))
{
DWORD dwNeeded = 0;

// get printer forms
nPaperCount = DeviceCapabilities(PRINTER_NAME, NULL, DC_PAPERS, NULL, NULL);
if (nPaperCount)
{
lpPapers = new WORD[nPaperCount];
ZeroMemory(lpPapers, sizeof(WORD)*nPaperCount);
DeviceCapabilities(PRINTER_NAME, NULL, DC_PAPERS, (LPSTR) lpPapers, NULL);

lpPaperNames = new char[nPaperCount*64];
ZeroMemory(lpPaperNames, sizeof(char)*64*nPaperCount);
DeviceCapabilities(PRINTER_NAME, NULL, DC_PAPERNAMES, lpPaperNames, NULL);

lpPaperSizes = new POINT[nPaperCount];
ZeroMemory(lpPaperSizes, sizeof(POINT)*nPaperCount);
DeviceCapabilities(PRINTER_NAME, NULL, DC_PAPERSIZE, (LPSTR) lpPaperSizes, NULL);
}

ClosePrinter(hPrinter);
}
else
{
// report error
}
}

// Function that sets current paper form:
BOOL SetPrinterPaper(short dmPaperSize, const char* pszFormName)
{
BOOL bResult = FALSE;
HANDLE hPrinter = NULL;

if (OpenPrinter(PRINTER_NAME, &hPrinter, NULL))
{
DWORD dwNeeded = 0;
GetPrinter(hPrinter, 2, NULL, 0, &dwNeeded);
if (dwNeeded > 0)
{
BYTE* lpPrinterInfo = new BYTE[dwNeeded];

if (GetPrinter(hPrinter, 2, lpPrinterInfo, dwNeeded, &dwNeeded))
{
DEVMODE* pDevMode = ((PRINTER_INFO_2*) lpPrinterInfo)->pDevMode;
pDevMode->dmPaperSize = dmPaperSize;
lstrcpy((char*) &pDevMode->dmFormName, pszFormName);
SetPrinter(hPrinter, 2, lpPrinterInfo, 0);
bResult = TRUE;
}
else
{
// report error
}

delete [] lpPrinterInfo;
}

ClosePrinter(hPrinter);
}
else
{
// report error
}

return bResult;
}

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)