Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xwd2jpeg(1) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xwdconv(1)

xwdset(1)

scn(1)

xwd(1)

xwud(1)

XWD2SCN(1)  —  NEWS-OS Programmer’s Manual

NAME

scn2xwd, xwd2scn, tif2xwd, xwd2tif, gif2xwd, xwd2gif, jpeg2xwd, xwd2jpeg,  fcvg2xwd, xwd2fcvg, any2xwd, xwd2any − format converter between XWD and scn, TIFF, GIF JPEG or fcvg

SYNOPSIS

scn2xwd [ −in infile ] [ −out outfile ] [ −help ]
xwd2scn [ −in infile ] [ −out outfile ] [ −help ]

tif2xwd [ −in infile ] [ −out outfile ] [ −help ] [ −image page ]
xwd2tif [ −in infile ] [ −out outfile ] [ −help ]

gif2xwd [ −in infile ] [ −out outfile ] [ −help ] [ −image page ]
xwd2gif [ −in infile ] [ −out outfile ] [ −help ]

jpeg2xwd [ −in infile ] [ −out outfile ] [ −help ]
xwd2jpeg [ −in infile ] [ −out outfile ] [ −help ] [ −quality level ]

fcvg2xwd [ −in infile ] [ −out outfile ] [ −help ]
xwd2fcvg [ −in infile ] [ −out outfile ] [ −help ]

any2xwd [ −in infile ] [ −out outfile ] [ −help ]
xwd2any [ −in infile ] [ −out outfile ] [ −help ] [ −format <xwd|cdff|scn|fcvg|tiff|gif|jpeg> ]

DESCRIPTION

These are format converters between XWD and scn, TIFF, GIF or fcvg. 

scn2xwd converts an scn format image file into XWD format.  xwd2scn converts an XWD format image file into scn format.  The pixel configuration of the input must be a ZPixmap XWD format image file of either 1 bit per pixel, 4 bits per pixel or 24 bits per pixel. 

tif2xwd converts a TIFF image file into XWD format.  xwd2tif converts an XWD format image file into TIFF.  But the image file of 16 bits per pixel cannot be converted. 

gif2xwd converts a GIF image file into XWD format.  xwd2gif converts an XWD format image file into GIF.  The pixel configuration of the input must be a ZPixmap XWD format image file of either 4 bit per pixel or 8 bits per pixel. 

jpeg2xwd converts a JPEG image file into XWD format.  xwd2jpeg converts an XWD format image file into JPEG.  The pixel configuration of the input must be a ZPixmap XWD format image file of either 8 bit per pixel, 16 bit per pixel or 24 bits per pixel.  JPEG is an image compression with data loss.  Better image quality requires smaller compression ratio, and vice versa.  −quality option specifies the image quality.  A JPEG compressed image can not be recovered completely to the same image quality of the original.  jpeg2xwd outputs DirectColor 24 bit/pixel data only. 

fcvg2xwd converts an fcvg format image file into XWD format.  Fcvg format is for full color image data for NWB-224 Video Graphics Board.  The pixel configuration of the output is a ZPixmap XWD format image file of 24 bits per pixel.  xwd2fcvg converts an XWD format image file into fcvg format.  The pixel configuration of the input must be a ZPixmap XWD format image file of 24 bits per pixel. 

any2xwd and xwd2any are shell scripts that use those filters.  any2xwd distincts the format of input image data and executes the suitable filter.  xwd2any executes the filter that outputs the image whose format is specified by option value. 

OPTIONS

−in infile
specifies the file to be converted. If it is not specified, standard input is used.

−out outfile
specifies the output file. If it is not specified, standard output is used.

−image page
specifies the page number of multi-image. The filter extracts the image of the specified page from the input image. Its format should support multi-image or should be TIFF or GIF. If the page number is not specified, it extracts the first image.

−query level
specifies the quality of compressed image. It is an integer from 0 to 10, the larger the better quality. The default value is 5.

−format <xwd|cdff|scn|fcvg|tiff|gif|jpeg>
specifies the format of output image of xwd2any. 

−help Print out the ‘Usage:’ command syntax summary. 

SEE ALSO

xwdconv(1), xwdset(1), scn(1), xwd(1), xwud(1)

FILES

XWDFile.h

COPYRIGHT

Copyright (c) 1990, 1991, 1992, 1993 Sony Corporation

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026