Graphics export file formats
CLC Genomics Workbench supports the following file formats for graphics export:
| Format | Suffix | Type |
|---|---|---|
| Portable Network Graphics | .png | bitmap |
| JPEG | .jpg | bitmap |
| Tagged Image File | .tif | bitmap |
| PostScript | .ps | vector graphics |
| Encapsulated PostScript | .eps | vector graphics |
| Portable Document Format | vector graphics | |
| Scalable Vector Graphics | .svg | vector graphics |
These formats can be divided into bitmap and vector graphics. The difference between these two categories is described below:
Bitmap images
In a bitmap image, each dot in the image has a specified color. This implies, that if you zoom in on the image there will not be enough dots, and if you zoom out there will be too many. In these cases the image viewer has to interpolate the colors to fit what is actually looked at. A bitmap image needs to have a high resolution if you want to zoom in. This format is a good choice for storing images without large shapes (e.g. dot plots). It is also appropriate if you don't have the need for resizing and editing the image after export.
To produce a high resolution image with all the details of a large element visible, e.g. a large phylogenetic tree or a read mapping, we recommend exporting to a vector based format.
If Screen resolution and High resolution settings show the same pixel dimensions, this can be because the maximum supported number of pixels has been exceeded.
Parameters for bitmap formats
For bitmap files, clicking Next will display the dialog shown in figure 8.33.
Figure 8.33: Parameters for bitmap formats: size of the graphics file.
You can adjust the size (the resolution) of the file to four standard sizes:
- Screen resolution
- Low resolution
- Medium resolution
- High resolution
Vector graphics
Vector graphic is a collection of shapes. Thus what is stored is information about where a line starts and ends, and the color of the line and its width. This enables a given viewer to decide how to draw the line, no matter what the zoom factor is, thereby always giving a correct image. This format is good for graphs and reports, but less usable for dot plots. If the image is to be resized or edited, vector graphics are by far the best format to store graphics. If you open a vector graphics file in an application such as Adobe Illustrator, you will be able to manipulate the image in great detail.
Parameters for graphics exports to PDF files
When exporting the whole view to a PDF file, a step is present in the exporter for adjusting the page setup (figure 8.34). The settings available are described in Page Setup.
When exporting just the visible area, the exported file will contain a single page with no header or footer sections.
Figure 8.34: When exporting the whole view to a PDF file, the page setup settings can be adjusted by clicking the Page Setup button.
For exporting reports to PDF format, see Export of reports.
