XnView is intended for working with raster graphic files, that is image files which consist of pixels. Apart from this, XnView also supports some vector formats using GhostScript, e.g.:
- AI (Adobe Illustrator, not all subformats)
- PDF (Adobe Portable Document Format)
- PS (Postscript)
- EPS (Encapsulated Postscript)
GhostScript allows for printing and displaying vector graphics and converting these to raster graphic files.
- Only reading these formats is supported.
- For these formats thumbnails are not displayed because of performance reasons.
- For AI files not all subformats are supported
- For CAD vector files, there's a special plug-in available, see topic "How to view .dwg files?"
For using GhostScript with XnView, you simply download AFPL GhostScript (~8MB) and install it on your computer:1.) Download AFPL Ghostscript 32-bit
from website http://sourceforge.net/projects/ghostsc ... ostscript/
, choose the version for your Operating System (Windows, ...), you can use the latest version, links "Obtaining AFPL Ghostscript <x.xx>". Currently XnView does not support the 64 bit version, so please make sure to download the 32 bit version.2.) Run Ghostscript setup
Run the file you have just downloaded (e.g. "gs853w32.exe"), the setup will guide you through the installation process.3.) Restart computer
It's recommended to restart the computer after installation of AFPL Ghostscript. Otherwise interaction between XnView and Ghostscript might not work.
That's was the installation part. XnView will automatically recognize that GhostScript is installed and interact with it for displaying files that have one of the formats listed above.4.) Test correct installation
Check correct insatllation and viewing by browsing with XnView to a directory containing PDF, PS, AI, or EPS files to check whether support for these formats works properly.
Here's a PDF-sample
which you can download and use for testing. Right-click on the link and save the PDF document to a local directory. Then, start XnView and open the PDF in XnView.5a.) Fine tuning: Resolution
By default the raster images generated have 72dpi. If you want more detailed raster images set a higher resolution (DPI, dots per inch) in Tools > Options, Category "General > Read/Write", Tab "Read" > EPS/PS/AI/PDF".5b.) Fine tuning: High quality display
When viewing vector images, often they contain thin lines and/or text. It is strongly recommended to activate high quality display for both thumbnails and images. In options dialog, category "Browser > Thumbnails" activate the checkbox "Use high quality". And in category "View" activate the checkboxes for "High zoom quality (slower)". I recommend to activate "Reduce" and "Fit to Window/Desktop". Please note that when activate "Enlarge" zooming might become very slow for large images and large zoom factors (>400%).5c.) Fine tuning: Thumbnails for Vector images.
Converting vector files to image files needs quite some calculation. For this reason by default you will not see thumbnails for vector images. If you do not care too much about performance and want to see thumbnails for vector graphics, in Tools > Options, Category "Browser > File List" check the checkbox "Show as thumbnail" in the row labeled "AI, PS, PDF files".
Related topics:Cannot open AI fileCan't open EPS files?"How to view .dwg files?"XnView and Ghostscript