Search found 11 matches
- 2013-08-14T10:33:22-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Thank you Fred! It works now. It was generating text at 500 pixels wide when it should have been 4500 pixels wide. Let me know if you have any trouble ordering your free shirt.
- 2013-07-27T19:27:04-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Removing the height didn't help. As for input file and output file, the input is initially just fonts. In the end, it's outputting a pdf. Let me go through the code to manually create the input image file. I'll be back with updates. Maybe in the process of manually going through it, I'll find ...
- 2013-07-27T17:13:39-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Here's the next line I need to troubleshoot. I think this is where the pixelation is coming from for the final output file: exec(IMAGEMAGICKPATH.' "'.$image.'" -resize "'.$width.'"x"'.$height.'" -quality 100 "'.$image.'"'); Do I just remove the height specification? That would be my guess. Fred ...
- 2013-07-06T17:23:16-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
So, that seemed to do the trick. I think the text looks better with antialias turned off. I hope that fixes the pixelization in the final output file as well. Now I just need to change the php file and see if it works. I will pm you with a coupon code you can use for a free shirt. Thank you for your ...
- 2013-07-06T16:47:34-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
results
123.png
123antialias.png
The only difference is removing the +antialias from the command.
123.png
123antialias.png
The only difference is removing the +antialias from the command.
- 2013-07-06T16:35:36-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Code: Select all
~$ /usr/bin/convert -list configure
- 2013-07-06T16:07:29-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
So, I got it to work manually with the following line: :~$ sudo /usr/local/bin/convert -background transparent +antialias -font "/site/admin/fonts/ttf/1260211139645.ttf" -fill "#000000" -size "350x200" label:"Text Here" -trim +repage -depth 8 "/site/admin/fonts/123.png" However, I still have the ...
- 2013-07-06T15:39:43-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Good catch on the hex color quote. I ran what you had and received some different errors (a lot of the following): convert: delegate library support not built-in `/usr/share/fonts/type1/gsfonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1452. convert: unable to read font `/admin ...
- 2013-07-06T13:55:57-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Here's the code I try to run manually on the server to test if it's working: /usr/bin/convert -trim -background transparent -depth 8 +antialias -font "/admin/fonts/ttf/1260211139645.ttf" -fill #"000000" -size "255x299" label:"Text Here" "/fonts/123.png" /usr/bin/convert "fonts/123.png" -resize ...
- 2013-07-06T09:19:25-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
Re: text is cut off after upgrade
Also, when I try to run the command manually on the server, I'm getting this error: convert: missing an image filename `-fill' @ error/convert.c/ConvertImageCommand/2949.
Above, it's supposed to say "Text Here". Some fonts are cut off more than others.
Above, it's supposed to say "Text Here". Some fonts are cut off more than others.
- 2013-07-06T09:15:33-07:00
- Forum: Users
- Topic: text is cut off after upgrade
- Replies: 19
- Views: 8532
text is cut off after upgrade
Hi, I was initially running Ubuntu 9.04 and whatever version of imagemagick was available at the time. I recently upgraded to ubuntu 12.04 and I also updated imagemagick to 6.8.5-4 (because the particular web application I'm using it with produces pixelated text in the output file [pdf] and I ...