• Hang Su's avatar
    allow Pad to take non-number color formats (#69) · 6a8380cf
    Hang Su authored
    Previous assertion only allows numbers for `fill`, which rules out the possibility to pad multi-channel colors. For example, now fill=(255,255,255) or fill="white" can be used to achieve white padding for rgb inputs.
    6a8380cf
transforms.py 7.09 KB