From e7616e14b91d9b6de0d806ac32678f15ef9c792b Mon Sep 17 00:00:00 2001 From: bloodearnest Date: Thu, 19 Dec 2024 11:43:26 +0000 Subject: [PATCH] Document support for using convert to output image formats. --- docs/actions-scripts.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/actions-scripts.md b/docs/actions-scripts.md index 926cd8baf..c6fbd29a1 100644 --- a/docs/actions-scripts.md +++ b/docs/actions-scripts.md @@ -138,6 +138,16 @@ These Docker images have yet to be optimised; if you have skills in creating Doc We currently package version 16.1, with `datacheck`, `safetab`, and `safecount` libraries installed; when installed, new libraries will appear [in the stata-docker GitHub repository](https://github.com/opensafely-core/stata-docker/tree/master/libraries). +!!! note + Stata can only produce very limited image formats on linux, none of which + are in the approved list above. To output an image from stata, you can + output as eps and use the convert tool: + + ```stata + graph export "output/graph.eps", replace + ! convert output/graph.eps output/graph.png + ``` + As Stata is a commercial product, a license key is needed to use it. #### If you are a member of the `opensafely` GitHub organisation