Method

GimpImagehas_transparency

unstable since: 3.4.0

Declaration [src]

gboolean
gimp_image_has_transparency (
  GimpImage* image
)

Description [src]

Verify image transparency.

This procedure will verify if the rendered final image has any transparent pixel.

It is a comprehensive pixel per pixel test of the fully composited final image. The image may therefore be multi-layered, with alpha channels and still return FALSE if all pixels have a fully opaque value (1.0 if floating point precision).

Available since: 3.4.0

Return value

Type: gboolean

TRUE on success.