Id + font
This commit is contained in:
BIN
admin/uokvirime.ttf
Normal file
BIN
admin/uokvirime.ttf
Normal file
Binary file not shown.
@@ -58,8 +58,15 @@ $gotova_slika = $imagine->create($okvir_size, $color);
|
||||
$pocetak_odozgo = ($okvir_size->getHeight() - $slika_size->getHeight()) / 2;
|
||||
$gotova_slika->paste($slika_image, new Imagine\Image\Point($pocetak_s_lijeva,$pocetak_odozgo));
|
||||
|
||||
|
||||
// uokviri platno
|
||||
$gotova_slika->paste($okvir_image, new Imagine\Image\Point(0,0));
|
||||
$gotova_slika->paste($okvir_image, new Imagine\Image\Point(0,0));
|
||||
|
||||
$drawer = $gotova_slika->draw();
|
||||
$drawer->text(
|
||||
"$okvir$slika",
|
||||
$imagine->font(__DIR__ . '/uokvirime.ttf', 9, $this->getColor('AAA')),
|
||||
new Point(0, 0))
|
||||
|
||||
$imeslike = "$okvir_id" . "$slika";
|
||||
$etag = bin2hex(mhash(MHASH_ADLER32, $imeslike));
|
||||
|
||||
Reference in New Issue
Block a user