Thanks!
Anyway this works:
convert PANGO:"<span font_family="jeremy" size="126976">ac</span>" pango.png.
It doesn't however seem to work from a PHP exec. I'm sure I'm just missing something small.
Search found 16 matches
- 2019-01-28T11:10:46-07:00
- Forum: Users
- Topic: Convert and Pango Issues
- Replies: 12
- Views: 7562
- 2019-01-28T08:26:42-07:00
- Forum: Users
- Topic: Convert and Pango Issues
- Replies: 12
- Views: 7562
Re: Convert and Pango Issues
Caption didn't really work for me and PANGO doesn't seem to work with Imagick. I need to spend sometime digging into convert and exec.
- 2019-01-25T14:35:13-07:00
- Forum: Users
- Topic: Convert and Pango Issues
- Replies: 12
- Views: 7562
Re: Convert and Pango Issues
Alright, I'm narrowing it down, I think Pango isn't installed right as it doesn't seem to work with any fonts at all for me.
- 2019-01-25T13:35:02-07:00
- Forum: Users
- Topic: Convert and Pango Issues
- Replies: 12
- Views: 7562
Re: Convert and Pango Issues
Yeah maybe I made the font wrong. I'm going to take a closer look at it. I'll report back once I find out anything out. Thanks for your help!
- 2019-01-25T12:26:46-07:00
- Forum: Users
- Topic: Convert and Pango Issues
- Replies: 12
- Views: 7562
Re: Convert and Pango Issues
Check your pms
- 2019-01-25T12:06:02-07:00
- Forum: Users
- Topic: Convert and Pango Issues
- Replies: 12
- Views: 7562
Convert and Pango Issues
I'm attempting to run a convert command from the command line. The font I'm using has ligatures so I need to use pango. However pango doesn't seem to want to work or recognize the font where label or caption does. My command is: convert -font test-Regular.ttf -pointsize 124 PANGO:"ac" pango.png ...
- 2016-04-18T07:21:10-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
The former path was related to brew/git searching. Either way I added it and tried again, nothing.
We decided that since this is border line mission critical we are just going to upload PDF's directly with ghostscript and bypass Imagick.
Thanks.
We decided that since this is border line mission critical we are just going to upload PDF's directly with ghostscript and bypass Imagick.
Thanks.
- 2016-04-15T14:01:16-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
Thanks, now when I type echo $PATH I get: /usr/local/Cellar/ghostscript/9.18/bin/ however it still won't convert pdfs and I get the same error message: convert: no images defined `WORK.jpg' @ error/convert.c/ConvertImageCommand/3252. However when I use exec( 'gs -sDEVICE=jpeg -o TEST.jpg -dFirstPage ...
- 2016-04-15T09:33:11-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
GS is used only to read PDF. It isn't used to write PDF. Snibgo is correct. But to be clear, the original discussion was about conversion from pdf to png, so that would depend upon Ghostscript. I still believe you need to get the path to ghostscript into your PHP environment PATH and you have not ...
- 2016-04-15T07:02:34-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
Thanks for the research, I believe I've read those but I'll take another look.
I do think it knows where GS is because I can go from something to a PDF via exec.
I.E.
exec('convert test.jpg test.pdf');
I do think it knows where GS is because I can go from something to a PDF via exec.
I.E.
exec('convert test.jpg test.pdf');
- 2016-04-14T14:14:12-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
Yeah the only thing that did was break my command line version.
- 2016-04-14T12:44:25-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
Heres the contents of my Delegates file: Where would I specify the full path? <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE delegatemap [ <!ELEMENT delegatemap (delegate)+> <!ELEMENT delegate (#PCDATA)> <!ATTLIST delegate decode CDATA #IMPLIED> <!ATTLIST delegate encode CDATA #IMPLIED> <!ATTLIST ...
- 2016-04-13T13:00:09-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
The problem is though it lists the same from the command line when I run
convert -version
and the command line works fine.
My gs path is:
/usr/local/bin/gs
convert -version
and the command line works fine.
My gs path is:
/usr/local/bin/gs
- 2016-04-13T09:36:03-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
It lists: array(5) { [0]=> string(77) "Version: ImageMagick 6.9.3-6 Q16 x86_64 2016-04-12 http://www.imagemagick.org" [1]=> string(57) "Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC" [2]=> string(54) "License: http://www.imagemagick.org/script/license.php" [3]=> string(28) "Features ...
- 2016-04-13T07:20:03-07:00
- Forum: IMagick
- Topic: convert works from command line but not php shell PDF
- Replies: 20
- Views: 28924
Re: convert works from command line but not php shell PDF
Ok I ran $cmd = "convert -list delegate | grep -Ei '(PDF|PS|EPS|JPG|PNG)'"; exec($cmd, $out); (from a php script) and got: array(30) { [0]=> string(96) " blender => "blender" -b "%i" -F PNG -o "%o""\n"convert" -concatenate "%o*.png" "%o"" [1]=> string(86) " bpg => "@BPGDecodeDelegate@" -b 16 -o "%o ...