GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PIXINTERP2X(1) BRL-CAD PIXINTERP2X(1)

pixinterp2x - interpolate a color pix file twice as large as the original

pixinterp2x [-s squarefilesize] [-w file_width] [-n file_height] [infile.pix] > outfile.pix

pixinterp2x does a bilinear interpolation between the pixels of the input pix(5) file to create the output file. This program is most useful when creating images for photographing. Even though no additional image information is created, there may be significant photographic advantages to operating the display at its highest resolution.

This is a very fast implementation of one special case of interpolation; the general tool for interpolation is pixscale(1).

-w file_width

Specify the width (in pixels) of the scanlines in the input file. The default is 512.

-n file_height

Specify the number of scanlines of input to be processed. The default is 512.

-s squarefilesize

Specify both the number of pixels per scanline and the number of scanlines in the file to process.

The interpolated scanlines fall exactly half way between the input lines, and the input lines are exactly preserved. Rather than extrapolate beyond the edges of the file, the first X and Y line is duplicated (left and bottom edge). This differs from the behavior of pixscale(1).

brlcad(1), pixscale(1), pix(5)

More memory is used than is strictly necessary.

BRL-CAD Team

This software is Copyright (c) 1989-2019 by the United States Government as represented by U.S. Army Research Laboratory.

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
06/07/2022 BRL-CAD

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.