MCPcopy Create free account
hub / github.com/Visillect/CubePlusPlus / process_jpg

Function process_jpg

code/utils/cr2_convert.py:32–43  ·  view source on GitHub ↗

Process ([crop + downscale]) jpg view image Args: inp_path(str): path of 8-bit .tiff image out_path(str): path for 8-bit .jpg image std_size(bool): crop+downscale to a standart size

(inp_path, out_path, std_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

cr2_convertFunction · 0.85

Calls 4

jpg_loadFunction · 0.90
jpg_saveFunction · 0.90
default_cropFunction · 0.85
numpy_average_downscaleFunction · 0.85

Tested by

no test coverage detected