Skip to content

Commit

Permalink
Merge pull request #1690 from opensafely/document-stata-convert
Browse files Browse the repository at this point in the history
Document support for using convert to output image formats.
  • Loading branch information
bloodearnest authored Dec 19, 2024
2 parents 1850322 + 1ca5d66 commit 4f0ce75
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/actions-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f0ce75

Please sign in to comment.