Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).

Attribute Name

Contents

webp_type This will always be webp_raster.
webp_lossless_encoding Enables or disables lossless encoding. With lossless encoding, the compressed image is identical to the original; with lossy encoding, the compressed image is an approximation of the original. This is a writer attribute.
webp_compression_level

Specifies the desired compression level.

Higher values will produce smaller output file sizes, but will be poorer quality.

Range: 0 (best quality) to 100 (worst quality)

Default: 25

This value is ignored if webp_lossless_encoding is set to Yes.

This is a writer attribute.

webp_image_type

Specifies the image type. Choosing an image type that suits the image may result in better quality for a given level of compression. Valid image types are:

  • Default
  • Picture: For digital pictures, like portraits or inner shots.
  • Photo: For outdoor photographs with natural lighting.
  • Drawing: For hand or line drawings, with high-contrast details.
  • Icon: For small-sized colorful images.
  • Text: For text-like images.

This value is ignored if webp_lossless_encoding is set to Yes.

This is a writer attribute.