Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

image.is

Check if the image is a certain type.

Function

SYNOPSIS

ret, err = function image.is(rwops, name)

ARGUMENTS

  • rwops, the RWops (see RWops)
  • name, the type of file (PNG, JPG, etc.)

RETURNS

  • ret, true if file is requested
  • err, the error message
Clone this wiki locally