-
In the ImageMagick documentation you will find that a simple version of a PBM file can be created as ASCII PBM. This only contains 0 and 1. Is it possible to also create an image in this format with Magick.NET? I want to print the image on a label printer that only supports a byte array with 0 for white and 1 for black. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This should be possible by writing the image to a file name |
Beta Was this translation helpful? Give feedback.
-
We succeeded with the .pbm I was already using this extension, but got an offset when printing. This was due to the fact that the printer could not handle the dimensions that were first in the byte array. I took this out for the print. |
Beta Was this translation helpful? Give feedback.
-
Thanks for coming back and explaining how you fixed it. |
Beta Was this translation helpful? Give feedback.
This should be possible by writing the image to a file name
YourName.pbm
Is that not working?