ESC-POS-.NET
halftone
Our great sponsors
ESC-POS-.NET | halftone | |
---|---|---|
5 | 1 | |
475 | 29 | |
- | - | |
4.6 | 0.0 | |
14 days ago | 12 months ago | |
C# | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ESC-POS-.NET
-
Sending commands to a Thermal Printer .NET MAUI
I've successfully used https://github.com/lukevp/ESC-POS-.NET for ESC/POS to control several brands of POS printers (but you won't use System.Drawing.Printing at all, you'll use ESC/POS to handle everything to the printer).
-
MAUI .net framework POS System
For ESC/POS look into: https://github.com/lukevp/ESC-POS-.NET (I haven't used this, but am currently looking into it for replacing OPOS).
- Best thermal printer printing method.
-
.NET Framework (4.6.2) and USB Receipt printing
I used Epson TM-T20III with https://github.com/lukevp/ESC-POS-.NET, works pretty well out of the box
-
Ditherpunk 2 – beyond 1-bit
My receipt printer library[0] uses dithering for images since the printers are black and white but fairly high resolution. It looks pretty decent [1], much better than a plain black and white conversion. I learned about dithering while implementing this library, and it’s a great technique! I originally implemented a black and white filter and then Floyd-steinberg dither natively in c# but then ended up using a library for it since we needed image transforms as well.
[0]: https://github.com/lukevp/ESC-POS-.NET
[1]: https://user-images.githubusercontent.com/59696671/106924665...
halftone
-
Ditherpunk 2 – beyond 1-bit
The StackOverflow answer above is referenced by various Python halftoning projects, which have documented or at least commented halftone code you may be interested in:
https://github.com/ClayFlannigan/halftone
https://github.com/philgyford/python-halftone
I think grandparent post is right, that you’re looking for the terms like halftone, halftoning, digital halftoning, binary halftoning, and the like. These are the terms that show up in papers:
https://www.sciencedirect.com/science/article/abs/pii/S10473...
Text discussion at Wikipedia: https://en.wikipedia.org/wiki/Halftone
Having worked in digital press, I recall the term of art for a higher quality technique that came after “halftone screening” or “digital halftone” was “stochastic screening”:
https://en.wikipedia.org/wiki/Stochastic_screening
This prevented the tell-tale circle effect (moiré or rosette patterns) of traditional screening. We used it to print high quality magazine photography. It also worked on Mac Plus for rendering photography as a better dither for black and white dots of irregular or non-geometric photography — which brings us full circle to dithering.
Using terms from Photoshop of the day, Pattern Dither uses a uniform pattern to represent levels of gray. Diffusion Dither uses a random pattern to represent levels of gray. Halftone Screen uses preset patterns (round, diamond, ellipse, line, square or cross) at frequencies and angles that can be varied as well.
That brought another term to mind, “stippling”:
https://github.com/joeedh/BlueNoiseStippling
Some more terms show up in this discussion on difference between halftoning and dithering:
https://photo.stackexchange.com/questions/5779/what-is-the-d...
What are some alternatives?
RawPrint - Send files directly to a Windows printer bypassing the printer driver.
marvin-framework - Marvin Image Processing Framework provides features for processing images and videos in real-time.
receiptline - Markdown for receipts. Printable digital receipts. Generate receipt printer commands and images.
NetBarcode - Barcode generation library written in C# and .NET Standard 2
prism - Colour management for Go