MCPcopy Create free account
hub / github.com/CivilHub/CivilHub / crop

Function crop

gallery/image.py:277–303  ·  view source on GitHub ↗

Takes PIL image and tuple with width and height and performs "smart cut".

(image, max_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generate_thumbsFunction · 0.85

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected