Documentation
    Preparing search index...

    Variable DEFAULT_MAXIMUM_EXPANSION_RATIOConst

    DEFAULT_MAXIMUM_EXPANSION_RATIO: 1000

    The default TextureLoaderOptions.maximumExpansionRatio: 1000 decoded bytes per encoded byte (§96).

    A photographic JPEG expands by roughly 10–30×, a flat-colour PNG by a few hundred; 1000 leaves honest content untouched while refusing the pathological ratios — 100 000× and up — that make a decompression bomb worth building.