File: explain_transparency.rst_

package info (click to toggle)
gmt 5.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 150,460 kB
  • ctags: 18,539
  • sloc: ansic: 194,217; sh: 7,349; xml: 149; makefile: 72; fortran: 49; lisp: 41; csh: 5
file content (13 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
`Notes on Transparency <#toc12>`_
---------------------------------

The *PostScript* language originally had no accommodation for transparency.  However, Adobe
added an extension that allows developers to encode some forms of transparency
using the *PostScript* language model but it is only realized when converting the
*PostScript* to PDF (and via PDF to any raster image format).
GMT uses this model but there are some limitations: Transparency can only be controlled
on a per-object or per-layer basis.  This means that a color specifications (such as
those in CPTs of given via command-line options) only apply to vector graphic items
(i.e., text, lines, polygon fills) or to an entire layer (which could include items
such as *PostScript* images).  This limitation rules out any
mechanism of controlling transparency in such images on a pixel level.