Skip to content

add BytesIO/bytes support, dst_format param and delegate format

b112f69
Select commit
Loading
Failed to load commit list.
Merged

Extend image optimization to support in-memory streams(BytesIO/bytes) and dst_format param #289

add BytesIO/bytes support, dst_format param and delegate format
b112f69
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Apr 20, 2026 in 2s

3 issues found.

Annotations

Check notice on line 475 in src/zimscraperlib/image/optimization.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/zimscraperlib/image/optimization.py#L403-L475

Complex Method

Check notice on line 374 in src/zimscraperlib/image/optimization.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/zimscraperlib/image/optimization.py#L304-L374

Complex Method

Check notice on line 217 in src/zimscraperlib/image/optimization.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/zimscraperlib/image/optimization.py#L135-L217

Complex Method