pub(crate) fn arbitrary_image<P>(
    width_range: impl Into<SizeRange>,
    height_range: impl Into<SizeRange>,
) -> BoxedStrategy<Image<P>>
where
    P: Pixel + fmt::Debug,
    P::Subpixel: Arbitrary + fmt::Debug,
    <P::Subpixel as Arbitrary>::Strategy: Clone + 'static,
{
    arbitrary_image_with(any::<P::Subpixel>(), width_range, height_range)
}
Create a strategy to generate arbitrary images with dimensions selected
within the specified ranges.
src/proptest_utils.rs