2
<?php

//11.811024   
$image = imagecreatefromjpeg('test.jpg');
$rotate = imagerotate($image, 90, 0);
list($width, $height) = getimagesize('test.jpg');

// Content type
header('Content-Type: image/jpeg');

$image_p = imagecreatetruecolor($width * 11.811024, $height * 11.811024);

imagecopyresampled($image_p, $rotate, 0, 0, 0, 0, $width * 11.811024, $height * 11.811024, $width, $height);

imagejpeg($rotate);

画像を出力していませんが、コメントアウトすると出力されimagecreatetruecolorます...なぜですか? どうすればこれを修正できますか?

4

1 に答える 1