Type: Scalar function

Determines if varbinary data is a PNG file. You can use this function to verify that an uploaded file with the .png extension actually is a PNG.

This function does not check the integrity of the file: a damaged or truncated PNG will still be considered a PNG even though you may not be able to render it.

Return value: bit

1 if the image is a PNG.


@Image mandatory varbinary
The image to inspect.