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

$layer = ImageWorkshop::initFromPath('/path/to/images/picture.jpg');

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