Source: factory.core/ObjDocumentTools.py
| Method | Signature | Description |
|---|---|---|
| generate_document_image | generate_document_image(file_type: str, input_path: str, output_path: str, icon_size: int = 128) -> bool |
Generate an icon or preview image for a document file. |
| convert_mp3_to_wav | convert_mp3_to_wav(mp3_file: str, wav_file: str) -> None |
|
| resize_to_square | resize_to_square(path: str, size: int) -> None |
Open an image, fit it into a square canvas with |
Normalize context string by replacing @ and . with underscores.