Proper way to use CF Images transformation via Worker binding

Looks like doc examples are broken. Does anyone have a tested code snippet?
Was this page helpful?