( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
require 'textStyles/texttoImage.php';
$obj = new TextToImage();
$obj->setText("Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting");
$obj->setFontSize(18);
$obj->setLineHeight(20);
$obj->setFontFile("../assets/fonts/HelveticaNeueLTStd-Ex.otf");
$obj->setUnderline(0);
$obj->setPadding(15);
$obj->setHAlignment("center"); // left, right, center
$obj->setWidth(600);
$obj->setHeight(0); //0 for auto
$obj->setFontColor('#ffffff'); // Hash value
$obj->setBackgroundColor('transparent'); // Hash value
$obj->draw();
?>