Png generated by Magick.Net from Pdf file is black #695
Unanswered
junaid-ahmed-92
asked this question in
Help
Replies: 2 comments 4 replies
-
To be clear, you are saying that the file output by this code, when opened in Paint looks fine? So in what viewer does it not look fine? I literally did the same thing today using the 8 bit library. Here is my code:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you respond to @adscott1982 their questions @junaid-ahmed-92? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a small .net core 3.1 console application to convert pdf to png using Magick.Net (https://www.nuget.org/packages/Magick.NET-Q16-AnyCPU/). I have also installed ghostscript public license. It's doing alright but the output image is totally black and I can't read a single line. If I open the file using Paint then it's fine.
Here is my code:
Am I doing anything wrong?
Beta Was this translation helpful? Give feedback.
All reactions