Const
Zod schema for validating pixel dimensions.
Validates that the value is a positive integer. Optional to handle cases where dimensions cannot be determined.
makePixel for factory function
Zod schema for validating pixel dimensions.