Antwort #105 am: 21. Juli 2014, 20:47:31
Hallo sandro22
Also das was gesendet wird sind Bilddaten aber sie sind unvollständig.
Du kannst folgendes versuchen:
in der /inc/xtc_render_vvcode.inc.php Zeilen 90 –95
if (function_exists('imagettftext')) { imagettftext($imgh, $size, $angle, 15+(36*$i) , 38, $fonts, $font, substr($code, $i, 1)); } else { $tc = ImageColorAllocate ($imgh, 0, 0, 0); //Schriftfarbe - schwarz ImageString($imgh, $size, 26+(36*$i),20, substr($code, $i, 1), $tc); } ersetzen mit
/*
if (function_exists('imagettftext')) {
imagettftext($imgh, $size, $angle, 15+(36*$i) , 38, $fonts, $font, substr($code, $i, 1));
} else {
$tc = ImageColorAllocate ($imgh, 0, 0, 0); //Schriftfarbe - schwarz
ImageString($imgh, $size, 26+(36*$i),20, substr($code, $i, 1), $tc);
}
*/
wenn dann ein Bild erscheint folgende Zeile danach einfügen
ImageString($imgh, $size, 26+(36*$i),20, substr($code, $i, 1), ImageColorAllocate ($imgh, 0, 0, 0)); Es handelt sich hier nur um einen Test.
Gruss
Hanspeter