Type: Scalar function

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

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

Return value: bit

1 if the image is a JPEG.


@Image mandatory varbinary
The image to inspect.