質問編集履歴
3
version
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,4 +12,7 @@
|
|
12
12
|
$templateImg->writeImage("o1.png");
|
13
13
|
$templateImg->destroy();
|
14
14
|
|
15
|
-
```
|
15
|
+
```
|
16
|
+
各バージョンは以下です。
|
17
|
+
PHP 7.2.14
|
18
|
+
ImageMagick 3.4.3
|
2
マークダウン
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
ImageMagickで画像とテキストの合成ができない
|
body
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
よろしくお願いします。
|
3
3
|
Fatal error: Uncaught ImagickException: non-conforming drawing primitive definition `text'
|
4
4
|
|
5
|
+
```PHP
|
5
6
|
$filePath = "p1.png";
|
6
7
|
$templateImg = new Imagick( $filePath );
|
7
8
|
$draw = new ImagickDraw();
|
@@ -9,4 +10,6 @@
|
|
9
10
|
$draw->annotation( 0, 0, "test" );
|
10
11
|
$templateImg->drawImage($draw);
|
11
12
|
$templateImg->writeImage("o1.png");
|
12
|
-
$templateImg->destroy();
|
13
|
+
$templateImg->destroy();
|
14
|
+
|
15
|
+
```
|
1
スペルミス
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
PHP+
|
1
|
+
PHP+ImageMagickで画像とテキストの合成をしたいのですが下記のエラーが出てしまいます。どなたか原因わかる方いらっしゃいませんか?
|
2
2
|
よろしくお願いします。
|
3
3
|
Fatal error: Uncaught ImagickException: non-conforming drawing primitive definition `text'
|
4
4
|
|