설정

트랙백

댓글

Ghostscript provides a variety of devices for PNG output
varying by bit depth. For normal use we recommend png16mfor 24-bit RGB color,
or pnggray for grayscale. The png256, png16 and pngmono devices respectively
provide 8-bit color, 4-bit color and black-and-white for special needs.

The pngalpha device is 32-bit RGBA color with transparency
indicating pixel coverage. The background is transparent unless
it has been explicitly filled. PDF 1.4 transparent files do not
give a transparent background with this device. Text and graphics
anti-aliasing are enabled by default.

Options

The pngalpha device has one option.
The other png devices have no special options.

-dBackgroundColor=16#RRGGBB (RGB color, default white = 16#ffffff)

For the pngalpha device only,
set the suggested background color in the PNG bKGD chunk.
When a program reading a PNG file does not support alpha
transparency, the PNG library converts the image using
either a background color if supplied by the program
or the bKGD chunk.
One common web browser has this problem, so when using
<body bgcolor="CCCC00"> on a web page
you would need to use -dBackgroundColor=16#CCCC00
when creating alpha transparent PNG images for use on the
page.

To see the entries in /var/lib/dpkg/available on two packages: dpkg --print-avail elvis vim | less

To search the listing of packages yourself: less /var/lib/dpkg/available

To remove an installed elvis package: dpkg -r elvisTo install a package, you first need to find it in an archive or CDROM. The "available" file showsthat the vim package is in section "editors": cd /cdrom/hamm/hamm/binary/editors dpkg -i vim_4.5-3.deb

To make a local copy of the package selection states: dpkg --get-selections >myselectionsYou might transfer this file to another computer, and install it there with: dpkg --set-selections <myselectionsNote that this will not actually install or remove anything, but just set the selection state on therequested packages. You will need some other application to actually download and install the requested packages. For example, run dselect and choose "Install".

Ordinarily, you will find that dselect(1) provides a more convenient way to modify the packageselection states.