Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Save Barcode Image to Streams using Aspose.Barcode Java for PHP, simply invoke SaveBarcodeImageToTtreams module. Here you can see example code.
PHPCode
# Instantiate barcode object
$builder = new BarCodeBuilder();
\# Set symbology of the barcode
$symbology=new Symbology();
$builder->setSymbologyType($symbology->Code128);
\# Set code text
$builder->setCodeText("123456");
\# Initialize ByteArrayOutputStream object
$out_stream = new ByteArrayOutputStream();
\# Save barcode image
$barCodeImageFormat=new BarCodeImageFormat();
$builder->save($out_stream, $barCodeImageFormat->Jpeg);
\# Display Status.
print "Save Barcode Image to Streams, please check the output file.".PHP_EOL;
Download Save Barcode Image to Streams (Aspose.BarCode) from any of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.