Thanks for clarifying you mean Acorn Draw for RISC OS, not the macOS Acorn app!
Background
Acorn Draw is a vector drawing application for RISC OS (an operating system originally for ARM CPUs by Acorn Computers). Its native file format is usually .Draw or .draw.
This format is quite different from macOS Acorn’s proprietary .acorn format. The .draw format is a RISC OS vector drawing archive with vector primitives, text, curves, and so on – usually saved in Acorn Draw’s own format or sometimes SolidDraw’s formats (similar lineage).
Is there an existing direct way to convert .draw files to SVG?
- No standard, off-the-shelf tool directly converts Acorn Draw
.draw files to SVG on any platform.
- The format is related to the RISC OS Draw file format, which is semi-documented and consists of vector commands encoded in a binary or text-like structure.
Plausible Approaches to Convert Acorn Draw (RISC OS) Files to SVG
1. Use RISC OS Software Export Options
-
Check if Acorn Draw or any RISC OS vector editor (e.g., TechWriter, Draw) has export capabilities:
- Sometimes you might be able to export as EPS, PostScript, or PDF (vector formats) if these are supported.
- Then convert those exports to SVG (as in the macOS approach):
- Use
inkscape or pdf2svg from a modern desktop environment.
-
If RISC OS software is old and limited, exporting to vector formats might not be possible.
2. Use a RISC OS Emulator or Toolbox for Conversion
- Run an emulator like RPCEmu with RISC OS and the relevant software.
- Attempt file export or conversion within the emulated environment.
3. Reverse Engineering the .draw Format to SVG
- The Draw file format is a structured archive of vector drawing commands.
- There are some reverse engineering notes available online (e.g., RISC OS Draw file format PDF by RISC OS Open).
- You can:
- Parse the
.draw file's binary/vector data yourself.
- Translate vector primitives (lines, curves, shapes) into SVG path data.
This requires:
- Access to a spec of the file format.
- Writing a custom parser in a language like Python.
- Mapping Draw’s coordinate system and primitives to SVG equivalents.
There are no widely available tools to automate this yet, but it’s plausible if you are ready to code this.
4. Alternative: Export as Bitmap then Vectorize
- Open
.draw files on RISC OS.
- Export or screen capture at a high resolution to a bitmap format (e.g., PNG).
- Use vector tracing software (Inkscape’s Trace Bitmap, Vector Magic) to convert the bitmap to SVG.
This is not perfect (loss of editing fidelity) but often practical.
Summary
| Option | Pros | Cons |
|---|
| Export from Acorn Draw as vector (EPS/PDF) | Clean vector output; easy to convert further | May not be supported by software |
| Use RISC OS emulator to export the file | Runs native software | Setup required, may lack options |
Parse .draw format and write a converter | Precise, custom solution | Requires effort & reverse engineering |
| Export bitmap + trace | Simple, often available | Quality loss, not true vector data |
If you want to go the reverse engineering route, here are some useful starting points:
- RISC OS Draw file format notes on RISC OS Open wiki
- RISC OS forums and archives discussing
.draw internals
- Tools like Draw2Font (not exactly SVG, but manipulates vector objects)
- Look for open-source RISC OS Draw file viewers, which might contain parsing code
If you want, I can help draft a simple Python script framework to start parsing .draw files’ header and vector records and output minimal SVG snippets, but you'll likely need to refer to the Draw format spec for full details.
Let me know if you want help going deeper on parsing the file format!