You can initialize a layer by specifying the path of an existing image file:

$layer = new ImageWorkshop(array(
    "imageFromPath" => "/path/to/images/picture.jpg",
));

The layer will automatically get the width and the height of the image.