Search found 55 matches

by dt59
2018-09-26T10:40:55-07:00
Forum: Developers
Topic: How to use custom font
Replies: 10
Views: 2023

Re: How to use custom font

Sorry, but I use a Mac. So I do not know how to install delegates on Linux. I think you must install the delegate, then recompile Imagemagick. But some Linux distros usually come with all the nominal needed delegates installed with Imagemagick. See https://www.freedesktop.org/wiki/Software/fontconf...
by dt59
2018-09-26T01:33:17-07:00
Forum: Developers
Topic: How to use custom font
Replies: 10
Views: 2023

Re: How to use custom font

What is your command line? Perhaps you have specified it wrong. There should be no reason that you could not use the path to the font. What platform are you on? Is this your server/computer or a hosted server? You are missing fontconfig from your delegates. Try installing that and then run your com...
by dt59
2018-09-25T17:15:30-07:00
Forum: Developers
Topic: How to use custom font
Replies: 10
Views: 2023

Re: How to use custom font

What platform? What version of Imagemagick? See https://imagemagick.org/script/resources.php for a list of locations where you can put it. I am not sure if that works properly with PHP Imagick. The Perl script needs to be run from a terminal window. I do not know much else about using it, especiall...
by dt59
2018-09-25T17:11:07-07:00
Forum: Developers
Topic: How to use custom font
Replies: 10
Views: 2023

Re: How to use custom font

@dt59: Please also say how you want to use the font, eg with "-annotate" or "label:" or "pango:" or an SVG input. with -annotate and -font . though i have try to specify the absolute path but is not working and due to the architecture of my application i can not use the relative path. that's why am...
by dt59
2018-09-25T16:25:17-07:00
Forum: Developers
Topic: How to use custom font
Replies: 10
Views: 2023

How to use custom font

Have been trying to use a custom font and after some research i found "creating a type.xml file and using the imagemagick_type_gen script " my question where do i put these the type.xml file in my php project and how do i run the perl script(imagemagick_type_gen), note am using PHP. Please help>>!! ...
by dt59
2018-09-15T17:10:14-07:00
Forum: Developers
Topic: Possibilities of ImageMagick
Replies: 1
Views: 1268

Possibilities of ImageMagick

Image

https://drive.google.com/open?id=1D2Kw ... eZeN0qa-v



Can I use Imagemagick to achieve these effect.
by dt59
2017-08-29T00:11:18-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

thanks Fred, is now working perfectly well as i expected. Am still learning anyway
by dt59
2017-08-28T00:32:08-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

hello fred, did u test the code. am having undesired result,check pls
by dt59
2017-08-27T23:09:16-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

i will want to maintain the center text alignment by using the gravity = center, because i don't known the length of the text the user is going to type in. therefore i may not want to manually tweak the position of the text. however i will want the text to be at the center of the box. is that possib...
by dt59
2017-08-27T22:59:35-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

i want to truncate the text if the text entered by the users is longer than box size, from what am seeing now, if the user enter a text longer than box the box then extent to the side of the 500x500 background.
by dt59
2017-08-27T22:52:41-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

box size, i want to truncate the text if the text entered by the users is longer than box size.
by dt59
2017-08-27T21:14:48-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

well explained am beginning to understand hw IM is working. i can now create some IM command on my own, thanks fred for the kind lectures. finally have fixed the spacing problem by using /"your string here/" :D :D :D fred is their a way i could set the height and width of the red border so that i ca...
by dt59
2017-08-27T16:31:41-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

hello Fred have read some of these stuff here on IM bt don't have a full understanding as the way u just briefly explained it. am sorry for my newbie questions.
please Wat the difference between xc and the background image operator??
by dt59
2017-08-27T14:11:47-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

pls can somebody explain -trim, +repage and -smush.
and why the signs - and +.
by dt59
2017-08-27T14:05:16-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 47
Views: 26677

Re: hw to offset text from the top of an image and give it a text alignment of center

kk fmw, let me try the above code first however could you point to some of those Windows PHP users.
the spacing between the text is causing lots problem. hw can i solve these? any PHP user home??