gxhints - Graphics conversion hints Wiki
Hints for graphics conversion, gxhconvert script
Brought to you by:
kraused
← TOC | ↑ Home | PNG | → | EPS | JPEG |
This page shows how to convert a PNG image x.png to PDF.
There is no bitmap to vector conversion in this process. Bitmap image data is just re-packaged into the PDF format.
When converting PNG files to PDF you can produce the following output
types:
gxhconvert -o=pdf x.png
Option | Purpose |
---|---|
-d --document |
Produce a document instead of an object, fit output to a paper size. |
-i --image |
Produce a standalone image instead of an object. The options -d and -i are mutually exclusive. |
--paper=paper | String, paper format name for documents. Only available if the -d option is used. Default: A4. |
bitmap2pp -l pdf x.png
bitmap2pp -l pdf.image x.png
bitmap2pp -l pdf.document,paper=A4 x.png
← TOC | ↑ Home | PNG | → | EPS | JPEG |