PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Zend_Barcode_Renderer_Image

The Image renderer will draw the instruction list of the barcode object in an image resource. The component requires the GD extension. The default width of a module is 1 pixel.

Available option are:

Table 18. Zend_Barcode_Renderer_Image Options

Option Data Type Default Value Description
height Integer 0 Allow you to specify the height of the result image. If "0", the height will be calculated by the barcode object.
width Integer 0 Allow you to specify the width of the result image. If "0", the width will be calculated by the barcode object.
imageType String "png" Specify the image format. Can be "png", "jpeg", "jpg" or "gif".

Zend Framework