ImageDimensions
final class ImageDimensions (View source)
Describes validated bitmap dimensions with strictly positive width and height
Methods
__construct(int $width, int $height)
Creates strictly positive width and height bounds for image processing
pixels()
Returns the total pixel budget represented by the dimensions
int
Details
__construct
__construct(int $width, int $height)
Creates strictly positive width and height bounds for image processing
pixels
int
pixels()
Returns the total pixel budget represented by the dimensions