Rotate Barcode Image in PHP

Aspose.BarCode - Rotate Barcode Image

To Rotate Barcode Image using Aspose.Barcode Java for PHP, simply invoke RotateImage module. Here you can see example code.


 # Instantiate barcode object

$bb = new BarCodeBuilder();

\# Set the code text of the barcode


\# Roate clockwise for 180 degree (upside down)


\# Set the symbology type to code39

$symbology=new Symbology();


$bb->save($dataDir . "Rotate.jpg");

\# Display Status.

print "Done with image rotation, please check the output file.".PHP_EOL;

Download Running Code

Download Rotate Barcode Image (Aspose.BarCode) from any of the below mentioned social coding sites: