Convert text file to png? #1033
Unanswered
valdomero777
asked this question in
Help
Replies: 1 comment 2 replies
-
You could do something like this: var width = 1000;
var height = 1000;
var data = File.ReadAllText("test.txt");
using (var image = new MagickImage("label:" + data, width, height))
{
image.Write("test.png");
} |
Beta Was this translation helpful? Give feedback.
2 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.
-
How can I convert a text file into a png or other format on .net?
Beta Was this translation helpful? Give feedback.
All reactions