Creating a php script using imagemagick(paid)
Creating a php script using imagemagick(paid)
Hello
My script already exists but it does not work very well and I have to improve it. I explain my problem, currently I generate an image, with transparent background, from text provided by the user with several possible combinations:
- Several choices of typos are proposed
- the text can be one or two lines
- the size of the second line is smaller than the first
- We can apply a texture for the text.
- We can add a 3D effect to the first line only
- We can add a border for the image (textured).
- a background can be added when frame option is selected
- We can add a border at the top and bottom for the text (without background)
Problems :
- the line spacing is sometimes too large if the user enters a text for some typos
- the image is cut off
Rqs:
- the text means a line of text or two
- the texture is always applied (except the background which must be a color)
(I am waiting for your quotation for new script)
The picture below can illustrate what I have just explained with the options configurator and some exemples :
My script already exists but it does not work very well and I have to improve it. I explain my problem, currently I generate an image, with transparent background, from text provided by the user with several possible combinations:
- Several choices of typos are proposed
- the text can be one or two lines
- the size of the second line is smaller than the first
- We can apply a texture for the text.
- We can add a 3D effect to the first line only
- We can add a border for the image (textured).
- a background can be added when frame option is selected
- We can add a border at the top and bottom for the text (without background)
Problems :
- the line spacing is sometimes too large if the user enters a text for some typos
- the image is cut off
Rqs:
- the text means a line of text or two
- the texture is always applied (except the background which must be a color)
(I am waiting for your quotation for new script)
The picture below can illustrate what I have just explained with the options configurator and some exemples :
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Creating a php script using imagemagick(paid)
What is your IM version and platform? Perhaps you just need to upgrade to a more current version of IM where the label: and or caption: are working better.
Re: Creating a php script using imagemagick(paid)
Hello,
my version is : Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-11-29
I need an expert intervention to generate a correct script
thanks
my version is : Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-11-29
I need an expert intervention to generate a correct script
thanks
Re: Creating a php script using imagemagick(paid)
You might also want to answer his question about the platform you are working on. In other words, what is your operating system?
Re: Creating a php script using imagemagick(paid)
The script is executed by php on an ubuntu server.
And already has the latest version of imagemgick
And already has the latest version of imagemgick
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Creating a php script using imagemagick(paid)
Did you see my PM on this forum to you, since you did not leave a DM address.
Re: Creating a php script using imagemagick(paid)
Hello
Two images which illustrate the desired results using imagemagick
Texture + 3D effect
Only texture
Two images which illustrate the desired results using imagemagick
Texture + 3D effect
Only texture
Re: Creating a php script using imagemagick(paid)
Hello
please I need help, it is very urgent
please I need help, it is very urgent
Re: Creating a php script using imagemagick(paid)
Hello,
Nobody can help me.
Nobody can help me.
Re: Creating a php script using imagemagick(paid)
Hello I am the director of the agency Greentic, can you help us to solve this problem? thank you
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Creating a php script using imagemagick(paid)
Are you using PHP exec() to make command line calls or are you using Imagick?
Re: Creating a php script using imagemagick(paid)
Hello, yes we use PHP exec()
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Creating a php script using imagemagick(paid)
I am not a PHP expert. But if you send me your email address via this forum's Private Email, we can correspond offline. I am not sure I can spend a lot of time, but perhaps I can take a look. Line spacing may simply be an issue of your font glyphs not being specified properly. So I am not sure that can be helped apart from finding other fonts or the same fonts with better glyphs. The image cutoff may be how you create your text and the IM version you are using. This issue crops up from time to time and has been tweaked, so using the latest version of IM may be required to get the updates on those fixes.