return FALSE;
} } return $success;
} /**
* {@inheritdoc}
*/
public function parseFile() { $data = @
getimagesize($this->
getSource());
if ($data &&
in_array($data[2
],
static::
supportedTypes())) { $this->
setType($data[2
]);
$this->preLoadInfo =
$data;
return TRUE;
} return FALSE;
} /**
* Gets the color set for transparency in GIF images.
*
* @return string|null
* A color string like '#rrggbb', or NULL if not set or not relevant.
*/