date: 2026-11-27 python: Python 3.10.18 pillow: 10.1.0 numpy: 1.25.2 == CONTROL 1: 300x300 clear picture with a solid 100x100 square (known: corners 0, solid 11.1%, soft 0) size: 300 x 300 corner alpha (top-left, top-right, bottom-left, bottom-right): 0 0 0 0 transparent (alpha 0): 88.9% solid (alpha 255): 11.1% soft (alpha 1-254): 0.0% = 0 pixels box 100,100,100,100: 100.0% of its pixels have alpha 128 or more saved ctl1-on-black.png and ctl1-on-white.png: open both at 100% zoom and look at hair and shoulders == CONTROL 2: 100x100 white picture at alpha 128 (known: soft 100.0%) size: 100 x 100 corner alpha (top-left, top-right, bottom-left, bottom-right): 128 128 128 128 transparent (alpha 0): 0.0% solid (alpha 255): 0.0% soft (alpha 1-254): 100.0% = 10000 pixels saved ctl2-on-black.png and ctl2-on-white.png: open both at 100% zoom and look at hair and shoulders == CONTROL 3: a JPG has no transparency (known: refuses, exit 2) error: no transparency in shot-wall.jpg (a JPG has none: use the PNG the tool gives you) exit=2 == Tool runs: cutout checks -- wall size: 1600 x 1066 corner alpha (top-left, top-right, bottom-left, bottom-right): 0 0 0 0 transparent (alpha 0): 45.4% solid (alpha 255): 38.2% soft (alpha 1-254): 16.4% = 280212 pixels saved chk-wall-on-black.png and chk-wall-on-white.png: open both at 100% zoom and look at hair and shoulders -- street size: 1600 x 1062 corner alpha (top-left, top-right, bottom-left, bottom-right): 0 0 1 0 transparent (alpha 0): 61.0% solid (alpha 255): 21.0% soft (alpha 1-254): 17.9% = 304373 pixels saved chk-street-on-black.png and chk-street-on-white.png: open both at 100% zoom and look at hair and shoulders -- dark size: 1066 x 1600 corner alpha (top-left, top-right, bottom-left, bottom-right): 1 0 4 24 transparent (alpha 0): 37.8% solid (alpha 255): 28.2% soft (alpha 1-254): 34.0% = 580479 pixels saved chk-dark-on-black.png and chk-dark-on-white.png: open both at 100% zoom and look at hair and shoulders == Brightened copies (gamma 0.45 draft setting): cutout of the lifted copy saved shot-wall-lift.jpg (gamma 0.45) -- wall lifted size: 1600 x 1066 corner alpha (top-left, top-right, bottom-left, bottom-right): 0 0 0 0 transparent (alpha 0): 46.2% solid (alpha 255): 38.4% soft (alpha 1-254): 15.5% = 263536 pixels saved chk-wall-lift-on-black.png and chk-wall-lift-on-white.png: open both at 100% zoom and look at hair and shoulders saved shot-street-lift.jpg (gamma 0.45) -- street lifted size: 1600 x 1062 corner alpha (top-left, top-right, bottom-left, bottom-right): 1 0 0 0 transparent (alpha 0): 38.9% solid (alpha 255): 17.3% soft (alpha 1-254): 43.8% = 744674 pixels saved chk-street-lift-on-black.png and chk-street-lift-on-white.png: open both at 100% zoom and look at hair and shoulders saved shot-dark-lift.jpg (gamma 0.45) -- dark lifted size: 1066 x 1600 corner alpha (top-left, top-right, bottom-left, bottom-right): 1 0 17 61 transparent (alpha 0): 38.3% solid (alpha 255): 40.3% soft (alpha 1-254): 21.4% = 364707 pixels saved chk-dark-lift-on-black.png and chk-dark-lift-on-white.png: open both at 100% zoom and look at hair and shoulders == Mask of the lifted cutout on the original pixels saved shot-wall-fixed.png (original pixels, mask from shot-wall-lift-cut.png) -- wall fixed size: 1600 x 1066 corner alpha (top-left, top-right, bottom-left, bottom-right): 0 0 0 0 transparent (alpha 0): 46.2% solid (alpha 255): 38.4% soft (alpha 1-254): 15.5% = 263536 pixels saved chk-wall-fixed-on-black.png and chk-wall-fixed-on-white.png: open both at 100% zoom and look at hair and shoulders saved shot-street-fixed.png (original pixels, mask from shot-street-lift-cut.png) -- street fixed size: 1600 x 1062 corner alpha (top-left, top-right, bottom-left, bottom-right): 1 0 0 0 transparent (alpha 0): 38.9% solid (alpha 255): 17.3% soft (alpha 1-254): 43.8% = 744674 pixels saved chk-street-fixed-on-black.png and chk-street-fixed-on-white.png: open both at 100% zoom and look at hair and shoulders saved shot-dark-fixed.png (original pixels, mask from shot-dark-lift-cut.png) -- dark fixed size: 1066 x 1600 corner alpha (top-left, top-right, bottom-left, bottom-right): 1 0 17 61 transparent (alpha 0): 38.3% solid (alpha 255): 40.3% soft (alpha 1-254): 21.4% = 364707 pixels saved chk-dark-fixed-on-black.png and chk-dark-fixed-on-white.png: open both at 100% zoom and look at hair and shoulders == Hair box, street photo (box 300,0,500,420 drawn by hand over the curls and the gaps between them) first run: box 300,0,500,420: 4.4% of its pixels have alpha 128 or more lifted copy: box 300,0,500,420: 74.0% of its pixels have alpha 128 or more == Ear box, dark photo (box 740,720,130,260) first run: box 740,720,130,260: 6.0% of its pixels have alpha 128 or more lifted copy: box 740,720,130,260: 79.9% of its pixels have alpha 128 or more == Thumbnail frames saved thumb-1280.png at 1280x720 saved thumb-4k.png at 3840x2160 thumb-1280.png (1280, 720) thumb-4k.png (3840, 2160) == Street hair box 300,0,500,420: how solid is the fixed cutout inside the box (alpha 255 / 128+ / any) shot-street-cut.png box: alpha 255 3.0%, alpha 128 or more 4.4%, alpha above 0 15.7% shot-street-fixed.png box: alpha 255 0.0%, alpha 128 or more 74.0%, alpha above 0 98.9%