public function isVectorGraphic()
{
// we use a simple file-extension check, for performance reasons
if (preg_match("@\\.(svgz?|eps|pdf|ps|ai|indd)\$@", $this->getFilename())) {
return true;
}
return false;
}