Sort a folder of images into subfolders by their real pixel dimensions (Pillow, not the filename): exact width x height, size buckets by the longest edge, or megapixel buckets. Every sort previews as a dry-run first and can be undone.
Move every image in a folder into a subfolder based on its width and height: 'exact' (one folder per literal WxH), 'bucket' (by longest edge against a threshold list), or 'megapixels' (by total megapixels). Use --dry-run to preview without moving anything.
Inputs
Name
Type
Required / default
Values and notes
folder
path
required
mode
enum
optional, default bucket
bucketexactmegapixels
buckets
string
optional, default 512,1024,2048,4096
mp_buckets
string
optional, default 1,2,4,8,12,20,24,50
on_conflict
enum
optional, default rename
renameskipoverwrite
Outputs
Name
Type
Notes
moved
int
skipped
int
counts
json
changes
json
Undo last sort
undoDestructive
Reverse the most recent sort in a folder, using the journal Dimension Sorter keeps.