-
Notifications
You must be signed in to change notification settings - Fork 862
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
EscposImage dithering #97
Comments
I'll leave this open as a feature request. Could be done with a few loops- Or could use dithering algo's built in to GD & Imagick- |
As part of the image handling re-write, the raster data is all generated in ImageMagick in a single call, which dithers as a side-effect- $im -> setformat('pbm');
$im -> getimageblob(); The linked commit contains a challenging public domain sample image, and a code snippet showing how to fall back on the old, slow implementation which performed a threshold. The output is- I'll note that the image quality is still not as good as I would like, but this is simply what Imagick gets us. Any pure PHP image manipulation will be very slow, so you should either pre-process your images or use an alternative utility to render them if you have an image-intensive workflow. Specifically, if you are printing a lot of images, you should also check out-
|
Thanks for the update! On Mon, Apr 25, 2016 at 2:14 AM, Michael [email protected] wrote:
|
You can add the Citizen CBM1000-II to your list.
Any chance of adding an Atkinson dither to EscposImage.php?
Thans for your worrk, it's fun trying it out.
The text was updated successfully, but these errors were encountered: