How to convert from TIFF and JPG files to PDF/A file and special paper size?

Dear sir or madam,

I am already using VeryDOC command line versions of PDF Compressor and PDF2Image and I am very satisfied.

I have two questions regarding your Image to PDF command line converter:

1) Can it create PDF/A compliant output
2) Can I specify that the created PDFs have a certain size (e.g. DIN-A4) and that the images used for creation are resized accordingly?

Thanks for a reply and sincerely yours.
Customer
------------------------------------------------

image
>>1) Can it create PDF/A compliant output
>>2) Can I specify that the created PDFs have a certain size (e.g. DIN-A4) and that the images used for creation are resized accordingly?

Thanks for your message, VeryPDF Image to PDF OCR Converter Command Line software has these functions, you may download VeryPDF Image to PDF OCR Converter Command Line from this web page to try,

http://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-ocr-cmd
http://www.verypdf.com/tif2pdf/image2pdf_cmd_ocr_trial.zip
http://www.verypdf.com/order_img2pdf_ocr_cmd_svr.html

after you download it, you can run following command line to convert a TIFF file to a PDF/A file with A4 paper size (595x842pt),

img2pdfnew.exe -pdfa -width 595 -height 842 bw.tif _tif2pdfa.pdf

You can also change the paper size with -width and -height options easily.

VeryPDF

灯泡 Scan to PDF/A – some insights

Traditionally a scanner produces a TIFF or JPEG image for each page. Some of them can directly produce PDF files. And newer devices produce files conforming to the PDF/A standard. However, the quality of the produced files differ significantly. Why is this and why is it worth to use a central scan server?

image

Of course, the scan to PDF conversion process is not just about embedding an image in a PDF envelope. It can involve text and barcode recognition, embedding of metadata and digital signatures too. But in this article I'd like to concentrate on image data compression which is marketed as a main advantage of PDF/A over TIFF. It is said that PDF/A is better because it offers more advanced compression mechanisms than TIFF. So, let us have a closer look at this particular topic.

One of the main requirements in the scan to PDF/A conversion process is to reduce the file size. A smaller size is often achieved at the price of a lower quality. There are a some factors which have an influence on the quality / size ratio:

* Color vs. Gray vs. Black / White
* Choice of compression algorithm (lossless vs. lossy)
* Multi-page vs. single page
* MRC (Mixed Raster Content) mechanism

The most widely used bi-tonal (black and white) compression algorithms are G4 (standard name ITU.T6) and JBIG2. G4 is lossless whereas JBIG2 can be operated in lossless and lossy mode. In order to achieve a better compression rate lossy JBIG2 may store symbols such as text characters in a table and reuse them. If the symbol table is used it can save a significant amount of space especially in multi-page documents since the JBIG2 symbol table can be commonly used for all pages. The downside of this mechanism is that it may unexpectedly mix up some symbols. That is why lossy mode of JBIG2 is often disabled. But even in lossless mode JBIG2 has in general a better compression rate than G4.

In VeryPDF Image to PDF OCR Converter Command Line software, you can run following command line to convert from black and white TIFF file to PDF file with JBIG2 compression,

img2pdfnew.exe -bwimg 2 bw-pdf-g4.pdf bw-pdf-jbig2.pdf

"-bwimg 2" option does compress black and white TIFF files with JBIG2 compression.

For gray and color images the most often used algorithms are JPEG and JPEG2000. JPEG can only be used in lossy mode whereas JPEG2000 again can be used in both modes. If used in lossy mode both algorithms offer a parameter which controls the quality / size ratio. Although JPEG2000 is more modern it cannot be said to be 'better' than JPEG. Mesurements show that for higher quality settings JPEG2000 has better compression rates whereas for lower quality settings JPEG is better in general. The quality loss introduces image artifacts such as shadows which are typical for both algorithms. JPEG has an additional artifact which is called blocking. It has its origin in the subdivision of the image in 8 x 8 pixel blocks which are compressed independently. In addition to this the JPEG algorithm usually reduces the resolution of the chromaticity signal by 2 with respect to the luminosity signal which increases the compression rate but amplifies the blocking artifacts.

In VeryPDF Image to PDF OCR Converter Command Line software, you can run following command line to convert from color and grayscale image file to PDF file with JPEG2000 compression,

img2pdfnew.exe -dpi 100 -quality 70 -colorimg 2 color.jpg color-jpeg2000-q70.pdf
img2pdfnew.exe -dpi 100 -quality 50 -colorimg 2 color.jpg color-jpeg2000-q50.pdf

"-colorimg 2" option does compress color and grayscale image files (JPEG or PNG or other image formats) to PDF files with JPEG2000 compression.

If converting color scans to PDF then often some sort of a mixed raster content mechanism is used. MRC separates the color information into layers: a background layer, a mask layer and a number of foreground layers. A typical example is a page that contains black text with some words emphasizes in red and blue. The mask then would contain the shapes of the characters and the background layer the color of the text. It is obvious that mask can be efficiently compressed with G4 or JBIG2 and the background layer with either JPEG or JPEG2000 using a very low resolution. When using this mechanism a scanned page can be reduced to approximately 40 k Byte with good quality. This result cannot be achieved by just using a lossy compression algorithm. However if the page contains graphics or images then these have to be isolated and compressed with good quality in one or several foreground layers. This isolation process is called segmentation and it is a essential part of the MRC mechanism.

With VeryPDF Image to PDF OCR Converter Command Line software, you can run following command lines to convert from scanned TIFF files to searchable PDF files,

REM Convert scanned PDF, TIFF and Image files to plain text files and searchable PDF files:
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -ocrtxt "%CD%\_ocrtxt_1.txt" "%CD%\test-color.tif" "%CD%\_test-color.pdf"
   img2pdfnew.exe -ocr 1 -tsocr -tsocrlang deu -threshold 125 -ocrtxt "%CD%\_ocrtxt_2.txt" "%CD%\_test-color.pdf" "%CD%\_test-bw-out.pdf"

REM Convert scanned PDF, TIFF and Image files to plain text based PDF files:
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -plaintextpdf "%CD%\test-color.tif" "%CD%\_test-color-text-only-1.pdf"
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -plaintextpdf "%CD%\_test-color.pdf" "%CD%\_test-color-text-only-2.pdf"

REM Convert scanned PDF, TIFF and Image files to OCRed PDF file (BW) with hidden text layer:
   img2pdfnew.exe -ocr 1 -tsocr -tsocrlang deu -threshold 125 "%CD%\test-color.tif" "%CD%\_test-color-bw-1.pdf"
   img2pdfnew.exe -ocr 1 -tsocr -tsocrlang deu -threshold 125 -bitcount 8 "%CD%\_test-color.pdf"  "%CD%\_test-color-bw-2.pdf"
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -bitcount 1 "%CD%\_test-color.pdf"                     "%CD%\_test-color-bw-3.pdf"

REM Convert scanned PDF, TIFF and Image files to OCRed PDF file (Grayscale) with hidden text layer:
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -bitcount 8 -grayscale "%CD%\test-color.tif"  "%CD%\_test-color-grayscale-1.pdf"
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -bitcount 8 -grayscale "%CD%\_test-color.pdf" "%CD%\_test-color-grayscale-2.pdf"

REM Convert scanned PDF, TIFF and Image files to OCRed PDF file (Color) with hidden text layer:
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 "%CD%\test-color.tif" "%CD%\_test-color-1.pdf"
   img2pdfnew.exe -ocr 1 -tsocr -pidpi 200 -bitcount 24 "%CD%\_test-color.pdf" "%CD%\_test-color-2.pdf"

Now, after reviewing the various compression schemes, it is time to discuss them in the context of archiving systems. Of course, the file size is often the most important issue but not always. In many scenarios the display speed is crucial issue. And, with respect to this requirement, JPEG2000 has often proved as too slow especially if it is combined with an MRC mechanism. As we learned JPEG is better at higher compression rates. So, why not use it at least for the background layer. The disturbing blocking artifacts can be reduced if disabling the down-sampling of the chromaticity signal. A bigger problem is that scanners deliver color images in JPEG compression only which reduces the power of a server based compressor software significantly because the JPEG image introduces artifacts which makes the segmentation and MRC compression much more difficult. But why not use the scanners built-in image to PDF conversion feature? This may be useful in a personal environment but in enterprise applications there exist many reasons why to use a central server. The most important are: Better quality, smaller file sizes, better OCR quality, post-scan processing steps and many more. 

And, last but not least. Is PDF/A better than TIFF? The answer is definitely Yes! But not with respect to compression. TIFF offers essentially the same compression algorithms as PDF/A does. The real strength of PDF/A is that it provides the embedding of color profiles, metadata and optically recognized text in a standard manner. Furthermore, PDF/A is a uniform standard for scanned as well as born digital documents.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Image to PDF Converter | Tagged , , , | Leave a comment

How to automatically highlight keywords in the PDF text contents? Highlight, Underline, and Cross Out text in pdf documents. Convert keywords to clickable hyperlinks.

You can easily add hyperlinks, add highlight, underline, and cross out text in a PDF document by VeryPDF PDF Highlighter Command Line software. VeryPDF PDF Highlighter Command Line is a Command Line application, you can run it in CMD window by manual or call it from a script or call it from your application to batch highlight your PDF files. VeryPDF PDF Highlighter Command Line software can be downloaded from this web page,

http://www.verypdf.com/app/pdf-highlighter/index.html
http://www.verypdf.com/dl2.php/pdfhighlighter_cmd.zip

You can use PDF Highlighter Command Line to highlight multiple search keyword and phrases with ease, you can also highlight and save the search keyword in a new PDF file.

Some customers are often ask us for following questions,

--------------------------------------

How to automatically highlight and save the search keyword in a pdf?

How to dynamically highlight and save, the keyword searched in a pdf document, with the Preview application?

For example, I want to highlight all the 'Apple' keyword in a document and save it, so when I open the document again, I see all the 'Apple' keywords are highlighted.

Highlight words in PDF

I have one PDF and some keywords. What I need is to search for those keywords in the PDF, highlight them in PDF, and save it. After this, I have to view this PDF in Google Docs and the words should be highlighted in it. I have to do this from command line or a script.

--------------------------------------

But Adobe Reader and Mac Preview applications haven't an option to save the searched keywords to the PDF file, however, you can use PDF Highlighter Command Line software to highlight the keywords in a PDF file and save to a new PDF file with ease.

image

After you download pdfhighlighter_cmd.zip application, you can unzip it to a folder, then you can run following command lines to convert keywords from your PDF file to hyperlinks, highlight annotations and other type of annotations,

VeryPDF PDF Highlighter Command Line version 3.0
Copyright 1996-2018 VeryPDF.com Inc.
Product Name: VeryPDF PDF Highlighter Command Line
http://www.verypdf.com
http://www.verydoc.com
http://support.verypdf.com
Email: support@verypdf.com
Usage: pdfhl.exe [options] <PDF-file>
  -opw <string>                    : owner password (for encrypted files)
  -upw <string>                    : user password (for encrypted files)
  -configfile <string>             : Use a configure file to process PDF file
  -detectfilename <int>            : detect and add hyperlinks to filenames in PDF contents
  -checkiffileexists <int>         : add hyperlinks to filenames which exist on disk only
  -allowedextension <string>       : add hyperlinks to filenames which have allowed extensions
      -allowedextension ".PDF;.DOC;.DOCX;.XLS;.XLSX;.PPT;.PPTX;.TXT;.RTF;.TIF;.JPG;.PNG;.GIF;.HTM;.HTML;.ZIP;.RAR"
  -detecturl <int>                 : detect and add hyperlinks to URLs in PDF contents
  -bordercolor <string>            : set border color to hyperlinks
      -bordercolor #FF0000
      -bordercolor #00FF00
      -bordercolor #0000FF
  -borderwidth <int>               : set border width to hyperlinks
  -caseinsensitive <int>           : enable or disable Case Insensitive for searching
  -linestyle <int>                 : set LineStyle to the border of hyperlinks
      -linestyle 0: solid border
      -linestyle 1: dashed border
      -linestyle 2: beveled (three-dimensional) border
      -linestyle 3: inset border
      -linestyle 4: underlined border
  -linethickness <int>             : set LineThickness to the border of hyperlinks. 0: Invisible, 1: Thin, 2: Medium, 3: Thick
  -linedash1 <int>                 : set LineDash1 to dash line
  -linedash2 <int>                 : set LineDash2 to dash line
  -highlightstyle <int>            : set HighlightStyle. 0: None, 1: Invert, 2: Outline, 3: Inset
  -keywords-to-urls <string>       : add hyperlinks to keywords
      -keywords-to-urls "VeryPDF=>
http://www.verypdf.com"
      -keywords-to-urls "VeryDOC=>http://www.verydoc.com"
      -keywords-to-urls "VeryPDF=>http://www.verypdf.com||VeryDOC=>http://www.verydoc.com"
      -keywords-to-urls "VeryPDF=>http://www.verypdf.com||PDF Editor=>http://www.verypdf.com/app/pdf-editor/index.html"

  -keywords-to-highlighter <string>: add background colors to keywords
      -keywords-to-highlighter "PDFcamp Printer=>[color:#FF0000;opacity:20]"
      -keywords-to-highlighter "PDFcamp Printer=>[color:#FF0000;opacity:20]||PDF to Word=>[color:#00FF00;opacity:20]||PDF to Text=>[color:#0000FF;opacity:20]||PDF Highlighter=>[color:#800000;opacity:20]"

  -keywords-to-annotation <string> : add annotations to keywords
      -keywords-to-annotation "PDF Password Remover=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#FFFF00; opacity:80; StampName:SBConfidential]"
      -keywords-to-annotation "PDF Password Remover=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#FFFF00; opacity:80; StampName:SBConfidential]||PDF to Image Converter=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#FF00FF; opacity:100; StampName:SBConfidential]||docPrint Virtual Printer=>[type:10; title:VeryPDF title; contents:VeryPDF contents; color:#FF0000; opacity:100; StampName:SBConfidential]||Image to PDF Converter=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#00FFFF; opacity:100; StampName:SBConfidential]"

  -autoview                        : view resultant PDF file automatically
  -h                               : print usage information
  -help                            : print usage information
  --help                           : print usage information
  -?                               : print usage information
  -$ <string>                      : input your license key
Example:
   pdfhl.exe -configfile "D:\Highlighter.ini" D:\in.pdf D:\out.pdf
   pdfhl.exe -autoview -configfile "D:\Highlighter.ini" D:\in.pdf D:\out.pdf
   pdfhl.exe -opw 123 -upw 456 -configfile "D:\Highlighter.ini" D:\in.pdf D:\out.pdf
   pdfhl.exe -detectfilename 1 -checkiffileexists 1 -allowedextension ".PDF;.DOC;.DOCX;.XLS;.XLSX;.PPT;.PPTX;.TXT;.RTF;.TIF;.JPG;.PNG;.GIF;.HTM;.HTML;.ZIP;.RAR" D:\in.pdf D:\out.pdf
   pdfhl.exe -detecturl 1 -bordercolor #FF0000 -borderwidth 3 D:\in.pdf D:\out.pdf
   pdfhl.exe -caseinsensitive 1 -linestyle 0 -linethickness 3 D:\in.pdf D:\out.pdf
   pdfhl.exe -linestyle 1 -linedash1 6 -linedash2 1 -highlightstyle 3 D:\in.pdf D:\out.pdf
   pdfhl.exe -keywords-to-urls "VeryPDF=>
http://www.verypdf.com" D:\in.pdf D:\out.pdf
   pdfhl.exe -keywords-to-urls "VeryPDF=>
http://www.verypdf.com||VeryDOC=>http://www.verydoc.com" D:\in.pdf D:\out.pdf
   pdfhl.exe -keywords-to-highlighter "PDFcamp Printer=>[color:#FF0000;opacity:20]" D:\in.pdf D:\out.pdf
   pdfhl.exe -keywords-to-highlighter "PDFcamp Printer=>[color:#FF0000;opacity:20]||PDF to Word=>[color:#00FF00;opacity:20]||PDF to Text=>[color:#0000FF;opacity:20]||PDF Highlighter=>[color:#800000;opacity:20]" D:\in.pdf D:\out.pdf
   pdfhl.exe -keywords-to-annotation "PDF Password Remover=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#FFFF00; opacity:80; StampName:SBConfidential]" D:\in.pdf D:\out.pdf
   pdfhl.exe -keywords-to-annotation "PDF Password Remover=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#FFFF00; opacity:80; StampName:SBConfidential]||PDF to Image Converter=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#FF00FF; opacity:100; StampName:SBConfidential]||docPrint Virtual Printer=>[type:10; title:VeryPDF title; contents:VeryPDF contents; color:#FF0000; opacity:100; StampName:SBConfidential]||Image to PDF Converter=>[type:8; title:VeryPDF title; contents:VeryPDF contents; color:#00FFFF; opacity:100; StampName:SBConfidential]" D:\in.pdf D:\out.pdf

Highlight Text By Search

This software can search for a list of user-specified words and phrases and automatically highlight them in the PDF document. Text can be highlighted with a single color or using 20 different automatically assigned colors (each search term is highlighted with a different color):

image

Fast and powerful hit highlighting for PDF

PDF Highlighter can mark terms in a document by a highlight configure file. Highlighter supports advanced search options including:

  • Phrases and proximity search
  • Wildcards
  • Fuzzy search
  • Synonyms
  • Language specific text analysis (e.g. stemming) for 30 languages

Alternatively, instead of feeding Highlighter with search terms, the highlight file can be used to specify locations of text that should be marked in the document.

Multicolor hit highlighting

PDF Highlighter ensures that same terms are assigned the same color. The highlighter automatically assigns colors to different terms, making the document review process more user-friendly and efficient. The color coding feature makes PDF Highlighter ideal for document forensics and natural language processing (NLP) tools as well—where the number of marked terms is much higher than for simple user queries.

Batch PDF processing

Batch highlighter can automatically annotate all your PDF documents using a file containing predefined keywords and phrases. You can assign a color to each individual phrase and optionally a category tag. PDF file created by the tool will open on the first keyword occurrence. btw, Generated PDF can be opened in any PDF viewer.

Create keyword links automatically

With PDF Highlighter Command Line software, you can turn every occurrence of a particular word or phrase into an active hyperlink. For example, you could make all occurrences of your company name in your document link through to your company web site. The Auto Keyword Link tool gives you the choice of going through each occurrence and approving them one at a time, or you can just convert all occurrences automatically in the one go.

Links can be set to execute a variety of actions such as open a URL or external file, go to a specific page or named destination, or even the next instance of the word in the document.

We suggest you may download the trial version of PDF Highlighter Command Line software from our website for evaluation first,

http://www.verypdf.com/app/pdf-highlighter/index.html
http://www.verypdf.com/dl2.php/pdfhighlighter_cmd.zip

If you encounter any problem with our software, please feel free to let us know, we will assist you asap.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in VeryPDF SDK & COM | Tagged , , , | 1 Comment

How to Create High Quality TIFF Images from a PDF File?

We were recently asked by a customer to help him get the best quality TIFF image from his PDF document. He wanted his TIFF image in color and also wanted to keep the size of his created TIFF image as small as possible.

You can see below the difference in the quality of the TIFF image first created, and the final result. The text in the second image has a much smoother and cleaner appearance.

image

The Customer's TIFF Image Requirements

  1. The customer's first request was to maintain the quality of the initial PDF document.
  2. The customer's second request was to keep the file size as small as possible. It is an unfortunate fact of life that TIFF images will be bigger than the PDF file they are created from. The resolution (or dots per inch) at which TIFF Image Printer creates the image plays a large part in the resulting file size. A TIFF image created with a resolution of 200 dpi will generally be 2 to 3 times larger in file size, and at 300 dpi the image can be 3 to 5 times larger.

How We Did It?

To get the quality of output the customer needed, and to keep the file size as small as possible, the resolution of the TIFF images was set to 120dpi. This resolution is the closest match to the screen resolution Adobe uses to display the text, meaning the created image will be the closest possible match to how the PDF looks when viewed in Adobe.

In order to convert from PDF file to TIFF image file from command line, you may download "PDF to Image Converter Command Line" from this web page,

http://www.verypdf.com/app/pdf-to-image-converter/try-and-buy.html#buy-cmd

http://www.verypdf.com/dl2.php/pdf2image_win.zip

after you download it, you can run following command lines to convert from your PDF file to TIFF image file at 120 DPI or 300 DPI,

pdf2img.exe -r 120 "D:\downloads\VeryPDF.pdf" "D:\downloads\VeryPDF.tif"

pdf2img.exe -r 300 "D:\downloads\VeryPDF.pdf" "D:\downloads\VeryPDF.tif"

In general, you will get a better TIFF image file with above command line if your PDF file is a standard A4 or Letter paper size.

However, if your PDF file has an non-standard paper size, above command lines may fail to convert from PDF file to TIFF file, for example, here is a sample PDF file, this PDF file's paper size is 10845 x 4274 pt, if you use 300DPI to render this PDF file to TIFF file, pdf2img.exe will use more memory and may cause a crash problem,

image

I tried following command line in my system,

pdf2img.exe -r 300 "D:\downloads\VeryPDF.pdf" "D:\downloads\VeryPDF.tif"

pdf2img.exe encountered a crash problem, here is the screenshot,

image

Please look at above screenshot, pdf2img.exe process had already used 1.38GB memory, if pdf2img.exe process want to use more memory, it crashed.

For such bigger paper size PDF file, you need reduce the DPI option in order use pdf2img.exe to convert this PDF file to TIFF file, for example,

pdf2img.exe -r 72 D:\downloads\VeryPDF.pdf D:\downloads\out.tif

However, if you want to create high quality image file from bigger paper size PDF file, you may use VeryDOC Postscript to Image Converter Command Line (ps2image.exe) application, VeryDOC Postscript to Image Converter Command Line (ps2image.exe) can be downloaded from this web page,

http://www.verydoc.com/ps-to-image.html
http://www.verydoc.com/ps2img.zip

ps2image.exe application does use a temporary disk file to instead of memory, so it hasn't the limitation on the maximum number of memory usage, for example,

ps2image.exe -r 300 D:\downloads\VeryPDF.pdf D:\downloads\out.tif

image

As you see, the width and height of result TIFF image is 45188 x 17808 pt size, this image's dimension is big enough.

If you encounter any problem with pdf2img.exe or ps2image.exe application, please feel free to let us know.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in PDF to Image Converter | Tagged , , , , | Leave a comment

How to convert from PDF to DWG or DXF files?

I'm fail to convert from PDF file to DWG and DXF files, how do I do that?

image

image

image

image

Customer
--------------------------------------------------------
Thanks for your message, we suggest you may download "PDF to DWG Converter Command Line" from this web page to try,

http://www.verydoc.com/pdf-to-dwg-dxf.html
http://www.verydoc.com/pdf2dwg.zip

after you download it, you can run following command line to convert from your multi-page PDF files to multiple DWG or DXF files easily,

pdf2dwg.exe D:\downloads\Gel_Brueckengelaender_Entwurf_Gel9_Gel11.pdf D:\downloads\Gel_Brueckengelaender_Entwurf_Gel9_Gel11-%d.dwg

pdf2dwg.exe D:\downloads\gel_brueckengelaender_ZTV_GEL_Details.pdf D:\downloads\gel_brueckengelaender_ZTV_GEL_Details-%d.dwg

pdf2dwg.exe D:\downloads\Gel_Brueckengelaender_Entwurf_Gel9_Gel11.pdf D:\downloads\Gel_Brueckengelaender_Entwurf_Gel9_Gel11-%d.dxf

pdf2dwg.exe D:\downloads\gel_brueckengelaender_ZTV_GEL_Details.pdf D:\downloads\gel_brueckengelaender_ZTV_GEL_Details-%d.dxf

after conversion, you will get more DWG and DXF files, you can view and edit these DWG and DXF files in AutoCAD software easily.

Please notice, you need append "%d" to the filename in order to create multiple DWG or DXF files.

VeryPDF

VN:F [1.9.20_1166]
Rating: 7.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF to DWG Converter | Tagged , , , | Leave a comment

How to combine a text watermark with opacity into original image data in the PDF file to prevent deletion permanently?

Hi there,

How can I use img2pdf.exe with watermark options that products the result like the one I attached here?

I want combine the text watermark with opacity into original image data in the PDF file to prevent deletion permanently.

Thanks
Customer
------------------------------------

Thanks for your message, VeryPDF Image to PDF OCR Converter Command Line software has this function, you may download the trial version of Image to PDF OCR Converter Command Line from this web page to try,

http://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-ocr-cmd
http://www.verypdf.com/tif2pdf/image2pdf_cmd_ocr_trial.zip

after you download it, you can run "image2pdf-with-watermark.bat" for test purpose, this "image2pdf-with-watermark.bat" file will combine a demo watermark into a TIFF file and convert this TIFF file to PDF file again, the generated demo watermark can't be removed anymore, because it has been combined into original TIFF image permanently.

image

"image2pdf-with-watermark.bat" file contains following command lines,

imgconv.exe skew_test.tif -gravity Center -pointsize 200 -fill "rgba(255,0,0,0.3)" -annotate "315x315+0+0" "Unofficial-Internal Use\nonly" _out.png

img2pdfnew.exe     _out.png     _example.pdf

The first command line will comebine a text watermark into original TIFF image file, this text watermark has 30% opacity and red color, you can adjust the opacity and color to best meet your requirements.

Some more information about "-annotate" option,

image

Annotate an image with text

This is a convenience for annotating an image with text.

The values Xdegrees and Ydegrees control the shears applied to the text, while tx and ty are offsets that give the location of the text relative any -gravity setting and defaults to the upper left corner of the image.

Using -annotate degrees or -annotate degreesxdegrees produces an unsheared rotation of the text. The direction of the rotation is positive, which means a clockwise rotation if degrees is positive. (This conforms to the usual mathematical convention once it is realized that the positive y–direction is conventionally considered to be downward for images.)

The new (transformed) coordinates (x', y') of a pixel at position (x, y) in the image are calculated using the following matrix equation.

image

If tx and ty are omitted, they default to 0. This makes the bottom-left of the text becomes the upper-left corner of the image, which is probably undesirable. Adding a -gravity option in this case leads to nice results.

Text is any UTF-8 encoded character sequence. If text is of the form '@mytext.txt', the text is read from the file mytext.txt. Text in a file is taken literally; no embedded formatting characters are recognized.

If you encounter any problem with this software, please feel free to let us know.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in Image to PDF Converter | Tagged , , , , , , , , , | Leave a comment
Page 30 of 1,436« First...1020...2829303132...405060...Last »