resiz[ly]A PictureEditor.com tool

The complete rule, field by field

A rule is evaluated against every queued source. A match produces one planned output; several matching rules deliberately produce several outputs. Nothing later in the pipeline quietly changes the rule.

Match and transform

Rule inputs
FieldMeaningImportant boundary
Matcherall files or a filename globempty glob means all
Targetmax width, max height, long edge or boxinteger output pixels
Fitcontain, cover or insidecover may crop
Anchornine positions for a cover cropignored when nothing crops
Enlargepermit output above source dimensionsoff by default
DPRmultiply requested dimensionsalso available in names

Encode and name

Output fields
FieldMeaningBoundary
Formatsource, JPEG, PNG or WebPunsupported source output becomes PNG
Qualitylossy encoder targetignored by PNG
Templatepath and filename tokensliteral slash makes a ZIP folder
Collisionsuffix, overwrite or stopchecked in the plan
Archiveflat or folder per ruledoes not alter names inside rules

For token details use the /reference/naming page. For a rule stack that can be edited immediately, open /recipes.