File Conversion
The File Conversion toolbox turns a file into another format. Convert takes a file and a target extension, such as .pdf, and writes the converted file: a document to PDF or Word, an image to JPEG, a sound to MP3, a video to WebM, a 3D model to glTF. Conversion Targets lists what a file can become. PDF to Images draws each page of a PDF, Word document, e-book or slide deck as an image.
Use it to convert one file without opening another program, or a whole folder in a loop.
- Included in: Divooka Explore and Divooka Compute, every tier. In Compute, start a document from the File Conversion workload, or add the File Conversion reference with Add reference (
Ctrl+Shift+L). - Maturity: Usable · Support: Tier 1 (proposed) · what these mean
- Open it: node library (
Ctrl+Shift+Space) → File Conversion, or search for a node withCtrl+Space. - Examples and reference:
Ctrl+Shift+E→ File Conversion > Batch Converter · node reference
New to graphs? Start with Your first program.
Example: convert a folder to PDF
Open File Conversion > Batch Converter (Ctrl+Shift+E). It is a Routine graph:
- It makes a folder in the system's temporary folder and writes three small files into it: a Markdown note, a text list and a CSV table.
- Get Files lists the folder's files and For Each takes them one at a time.
- Convert, Target
.pdf, writes each one as a PDF beside it. - At the end it deletes the folder, so nothing is left behind.
To convert your own files: point Get Files at your folder and remove the step that deletes the folder. Change .pdf to .docx and each file becomes a Word document.
Tips and limits
- Ask before you convert. Conversion Targets for a file returns the extensions it can become, in the order Save as offers them; it is empty for a file nothing here reads.
- Nothing else to install. Conversions use Divooka's own libraries for documents, images, audio, video and 3D models.
- The same conversions are in Save as. In the editor, Save as offers them for a file you have open.
What is in the toolbox
| Category | Some of its nodes |
|---|---|
| Convert | Conversion Targets, Convert, Convert 3D Model, Convert Audio and 4 more |
See also
- File Conversion node reference
- File Conversion topic
- Toolboxes - every other toolbox.