<?php $input_text = $marketcek['market_adres'];
$width = (strlen($input_text)*9)+20;
$height = 30;
$textImage = imagecreate($width, $height);
$color = imagecolorallocate($textImage, 0, 0, 0);
imagecolortransparent($textImage, $color);
imagestring($textImage, 5, 10, 5, $input_text, 0xFFFFFF);
// create background image layer
$background = imagecreatefromjpeg('bg.jpeg');
// Merge background image and text image layers
imagecopymerge($background, $textImage, 15, 15, 0, 0, $width, $height, 100);
$output = imagecreatetruecolor($width, $height);
imagecopy($output, $background, 0, 0, 20, 13, $width, $height);
ob_start();
imagepng($output);
printf('<img id="output" src="data:image/png;base64,%s" />', base64_encode(ob_get_clean())); ?>Karakter sorunu var gibi ne yapmalıyım. teşekkürler