Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image format #1

Open
playaer opened this issue Jun 8, 2016 · 3 comments
Open

Image format #1

playaer opened this issue Jun 8, 2016 · 3 comments

Comments

@playaer
Copy link

playaer commented Jun 8, 2016

Hi. I tried to print image but something is wrong, it prints too-many characters. Which image type I must pass to p.Image()?

@kenshaw
Copy link
Owner

kenshaw commented Jun 8, 2016

The implementation of the image printing was never finished. I was porting it from a PHP library escpos lib, but never got around to printing it. The quality of the images that are printed (at least on the e-pos printers I have) aren't very good quality anyways.

@playaer
Copy link
Author

playaer commented Jun 11, 2016

Ok, thank you, I will try to do it

@kenshaw
Copy link
Owner

kenshaw commented Jun 11, 2016

For what it's worth, I've learned a hell of a lot about Go since I wrote the original escpos code. It would be fairly easy to integrate the C code from this repository: png2pos. You might want to look into doing that. I would do it myself, but I have no immediate need to print images via an escpos printer/server at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants