{"version":"2.1.246","anchor":"image-reads-take-a-byte-ceiling-from-the-caller","canonical_anchor":"image-reads-take-a-byte-ceiling-from-the-caller","heading":"Image reads take a byte ceiling from the caller","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246\/e\/image-reads-take-a-byte-ceiling-from-the-caller","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246","markdown":"### Image reads take a byte ceiling from the caller\n\nImage reading accepts a size ceiling from the caller, defaulting to the previous limit.\n\n**What**\n\nThe image read path accepts a maximum-bytes argument, defaulting to the same module constant it used before, and applies it when deciding whether to re-encode as JPEG. Nothing changes for callers that do not pass one.\n\n**Evidence**\n\n`Image file is empty: `\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}