[Image] implemented ImagickExtension getDimension method.