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

Question on Streams #4

Open
iqmeta opened this issue Jan 10, 2024 · 1 comment
Open

Question on Streams #4

iqmeta opened this issue Jan 10, 2024 · 1 comment

Comments

@iqmeta
Copy link

iqmeta commented Jan 10, 2024

Hi, just eval your SDK. Docs say:

If the scenario is Data Binding, Counters or Data Masking i.e. the PrintJob generates more than one ThermalLabel output, then you will get as many single image files as thermal label objects! Those files will be named with the name specified to ExportToImage() method indexed from 1 to N. If a Stream is specified, then that stream will contain each label stream prefixed with the THERMAL-LABEL: bytes so considering removing or skipping them if you need to send those streams back for image processing

How to to trim the stream into image bytes? Why so complicated instead of giving an list or array of byte[] back?

Any sample code to have like ExportPng every single PNG of the copies in memory as a byte[]?`

Kind regards.

@iqmeta
Copy link
Author

iqmeta commented Jan 10, 2024

okay just found out a easy proper way myself ;-)

image

Your SDK is now getting in the top 3 list of my eval! small, core & native, works with linux, clean. Pretty rocks.

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

1 participant