回答編集履歴

1

引数足りなかった

2017/01/07 00:43

投稿

turbgraphics200
turbgraphics200

スコア4269

test CHANGED
@@ -6,6 +6,6 @@
6
6
 
7
7
  $scale = 0.5; // 拡大縮小率
8
8
 
9
- ImageCopyResampled($image_output, $image_resource, 0, 0, $width_output, $height_output, ($width_resource - ($width_output / $scale)) / 2, ($height_resource - ($height_output / $scale)) / 2);
9
+ ImageCopyResampled($image_output, $image_resource, 0, 0, $width_output, $height_output, ($width_resource - ($width_output / $scale)) / 2, ($height_resource - ($height_output / $scale)) / 2, $width_output / $scale, $height_output / $scale);
10
10
 
11
11
  ```