Zebra Technologies ZQ110 Saw User Manual


 
ZQ110
Rev. 1.00
- 34 -
Mobile Printer
iOS SDK API Reference Guide
5-3-26 downloadNVImage (Diffusion)
Download Image Data Corresponding to the Address Saved in the NV Area
[Function prototype]
- (long)downloadNVImage:(int)address
withImage:(UIImage *)image
width:(long)width
level:(long)level
[Parameters]
address
Image address in the range of 0 to 99. If there is an image saved for the
corresponding address, the existing image is replaced by the new image.
images
Download target image object
width
Width of the image to print
The image will be printed with the maximum width that can be supported
by the printer when BXL_WIDTH_FULL is input or input value of width is
invalid.
The image will be enlarged if the input value of width is larger than
the width of actual image.
Then the image will be reduced if the input value of width is smaller than
the width of actual image.
level
Color level and diffusion processing option of image
Value
Description
0 ~ 100
Color level value
If fourth digit is 1
Enable diffusion processing
If fifth digit is 1
Image print using ESC * command
Note: What is Error Diffusion?
Error Diffusion is a method to present the color image or black-and-white image with fewer
bits/pixel, which may produce few visible patterns (such as a snake-like pattern for a
certain type of image) but in general, the capability of sharp representation is excellent.
The disadvantage to this method is a long processing time because errors are measured
and an amount of computing is required for distributing the errors to neighboring pixels.
It is recommended that you use the diffusion algorithm with this SDK.
[Return Value]
Refer to 2-14 Result Code
[Discussion]
When the width of the image is wider than the width of printer, the image is resized
automatically.
[Availability]
SDK 1.0.0 and later