Added static method Image::init()

The method `init` returns a new instance to enable method chaining in
one line.
Added public method Image::getData()

Enables public access to the data detected with getimagesize().