Suppress warning for imagecreatefromstring()