What it checks
byteLength <= 1_000_000 per image item.
Why
Bluesky’s PDS blob upload caps at ~976 KB (1,000,000 bytes — Bluesky uses base-10, not base-2). Larger blobs are rejected withBlobTooLarge. The 976 KB number is the “post” you want; the constant is the byte limit you should compare to.

