Re: How to convert PDF to PNG using DMagick?

2021-09-25 Thread tastyminerals via Digitalmars-d-learn
On Saturday, 25 September 2021 at 16:27:35 UTC, Tejas wrote: On Saturday, 25 September 2021 at 15:14:50 UTC, Mike Wey wrote: On 25-09-2021 15:21, tastyminerals wrote: [...] It's been awhile since i used it myself, but if imagemagick supports reading PDF's this might work: ``` Image pdf =

Re: How to convert PDF to PNG using DMagick?

2021-09-25 Thread Tejas via Digitalmars-d-learn
On Saturday, 25 September 2021 at 15:14:50 UTC, Mike Wey wrote: On 25-09-2021 15:21, tastyminerals wrote: When I need to convert a PDF image in console, I use ImageMagick: `convert doc.pdf doc.png` command. Today I found ImageMagick D bindings -- DMagick https://github.com/MikeWey/DMagick. I

Re: How to convert PDF to PNG using DMagick?

2021-09-25 Thread Mike Wey via Digitalmars-d-learn
On 25-09-2021 15:21, tastyminerals wrote: When I need to convert a PDF image in console, I use ImageMagick: `convert doc.pdf doc.png` command. Today I found ImageMagick D bindings -- DMagick https://github.com/MikeWey/DMagick. I would like to script this operation using DMagick. However, I

How to convert PDF to PNG using DMagick?

2021-09-25 Thread tastyminerals via Digitalmars-d-learn
When I need to convert a PDF image in console, I use ImageMagick: `convert doc.pdf doc.png` command. Today I found ImageMagick D bindings -- DMagick https://github.com/MikeWey/DMagick. I would like to script this operation using DMagick. However, I couldn't find any code samples and was not