euporie.core.convert.formats.png
Contain functions which convert data to png format.
Functions
|
Convert base64 encoded data to bytes. |
|
Verify a list of external commands exist on the system. |
|
Verify a list of python modules are importable. |
|
Convert image data to PNG bytes using |
|
Render LaTeX as a png image using dvipng. |
|
Render LaTeX as a png image using :py:module:`matplotlib`. |
|
Convert a pillow image to sixels |
|
Add a converter to the centralized format conversion system. |
|
Convert SVG to PNG using |
Classes
|
Create a new function with partial application of the given arguments and keywords. |
- async euporie.core.convert.formats.png.latex_to_png_dvipng(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True, timeout: int = 2) bytes | None
Render LaTeX as a png image using dvipng.
Borrowed from IPython.
- async euporie.core.convert.formats.png.latex_to_png_py_mpl(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) bytes
Render LaTeX as a png image using :py:module:`matplotlib`.
Borrowed from IPython.