# Using ImageMagick on Windows

**URL:** https://discourse.julialang.org/t/using-imagemagick-on-windows/84442
**Category:** New to Julia
**Created:** [July 19, 2022, 6:52am UTC](https://discourse.julialang.org/t/using-imagemagick-on-windows/84442 "2022-07-19T06:52:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wpowell](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wpowell/32/35091_2.png) [@wpowell](https://discourse.julialang.org/u/wpowell)
#### Post date: [July 19, 2022, 6:52am UTC](https://discourse.julialang.org/t/using-imagemagick-on-windows/84442/1 "2022-07-19T06:52:52Z")

</div>

Hi All,

I am trying to use ImageMagick’s convert (from pdf to png) - working fine on macOS and Ubuntu but failing on Windows 10. Converting other formats is fine - it seems to be an issue with pdf files only that I think relates to gs and permission to write into C:\Users\…\AppData\Local\Temp\magick-\*

I can reproduce the error with the following code:

using ImageMagick  
magickinfo(raw”C:\path\to\file.png”) # works ok

magickinfo(raw”C:\path\to\file.pdf”) # fails

I had hoped that the Julia wrapper over ImageMagick would take care of such things… if anyone could help I’d appreciate it.

Cheers,  
Will
