Skip to main content

springheel.webtoon module

Process comics in webtoon mode.

springheel.webtoon.webtoon(strip: springheel.classes.Strip, pieces: List[dict], images: dict, translated_strings: dict)List[str]

Create a webtoon-style image block.

Parameters
stripStrip

The “individual strip” from a metadata perspective.

pieceslist of dict

The images to use and various data about them.

imagesdict

A dictionary mapping image filenames to (width, height) in pixels.

translated_stringsdict

The translation file contents for this site.

Returns
list of str

A list of HTML image elements.