Ntf2x

Ntf2x flattens NITF 1.1 files and can convert to any of:

The software is written in C. It takes arguments from the command line.

Usage


ntf2tif - converts NITF 1.1. files to TIFF format

Usage: ntf2tif [options ...] nitf_file output_file

Where options include:
  -comment string     Add comment to the image
  -compress type      TIFF compression type,
                      LZW or PackBits
  -geometry geometry  preferred size of the image
  -verbose            print detailed information while converting
  -h                  help
  -V                  version

ntf2gif - converts NITF 1.1. files to GIF89 format Usage: ntf2gif [options ...] nitf_file output_file Where options include: -comment string Add comment to the image -geometry geometry preferred size of the image -verbose print detailed information while converting -h help -V version
ntf2jpg - converts NITF 1.1 files to JPEG JFIF format Usage: ntf2jpg [options ...] nitf_file output_file Where options include: -comment string Add comment to the image -geometry geometry preferred size of the image -quality value quality value for JPEG file (0-100) -verbose print detailed information while converting -h help -V version
ntf2tga - converts NITF 1.1. files to TARGA format. Usage: ntf2tga [options ...] nitf_file output_file Where options include: -comment string Add comment to the image -geometry geometry preferred size of the image -verbose print detailed information while converting -h help -V version
Usage: ntf2sun [options ...] nitf_file output_file Where options include: -comment string Add comment to the image -geometry geometry preferred size of the image -verbose print detailed information while converting -h help -V version
EXAMPLES: -comment "This is a comment" A comment can be inserted to the image. Any decent image viewer allows to read or edit image comment. -geometry geometry The geometry option can be used to specify the preferred size of the output image. The image will be shrinked or expanded based on the geometry request. -geometry 100x100 Image will be resized to 100x100. -geom 50% The width and height of the output image will be 50% of those of the input image. -geom 10%x20% The width of the output image will be 10% of the width of the input image and height of the output image will be 20% of the height of the input image. -geom 110% The width and height of the output image will be 110% of those of the input image. To decrease the size of an image, use a percentage less than 100. To increase the size of an image, use a percentage greater than 100. -quality 75 Set the quality value of the JPEG image to 75 Smaller value = Better Compression

As a matter of fact, all the five programs are the same one. ntf2tif is the main program, others are just hard linked to it. It dectects the conversion format based on it's name. If the name of the progam is anything other than the five mentioned, the NITF 1.1 file will be converted to TIFF format.

Copyright

ntf2x is the property of the Department of Defense of the United States Government.

Any distribution of this software is controlled by:

Office of Naval Intelligence, ONI 734-2

NO COPY OF THIS SOFTWARE MAY BE DISTRIBUTED WITHOUT THE CONSENT OF ONI, UNLESS B Y OTHER AGREEMENT.


Home Page