PNG (Portable Network Graphics) Reader/Writer

Licensing options for this format begin with FME Desktop Professional Edition.

The PNG Reader/Writer module allows FME to access data in PNG format.

Overview

The PNG (Raster) Reader/Writer module provides raster writing, rather than vector-to-raster writing.

PNG (Portable Network Graphics) is an image format that supports a wide range of classified and continuous color models.

The PNG format can only support up to 256 palette colors as a classified image, but can support both 1- and 2-byte RGB, RGBA, and greyscale continuous images.

The format was introduced in 1995 as a replacement format for GIF, specifically implemented so that it does not require a patent to use compression.

The PNG writer supports the following options:

  • Generation of world file: This option will be able to force the generation of an associated Esri world file (.wld).
  • PNG optimization: This reduces the size of the PNG file without modifying the data.

Reader Overview

Dataset: Single PNG file.

The PNG file contains pixel data, and each pixel in the file is a point in a single FME raster feature.

Writer Overview

Dataset: Folder name

FME Raster Features

FME raster features represent raster data and use several concepts that are unlike those used in the handling of vector data. See About FME Rasters.

PNG files can only be written with square pixel dimensions.

PNG supports rasters with the following band structures:

  • Red, Green, Blue
  • Red, Green, Blue, Alpha
  • Gray
  • Gray, Alpha
  • UInt8 with an RGBA32 palette