optimizing images

Hello, currently I store my images in R2 buckets but I also want to optimize/resize them. Can cloudflare images and R2 work together somehow? Does cloudflare images optimize all images from a domain or only the ones that are uploaded using its API?
Was this page helpful?