Hi, I'm a php developer, my client install ImageMagick on his server, but when i try to create a jpg file it does not work.
if a try with gif file every is fine.
can you help me? this is my code:
/usr/local/bin/convert -background lightblue -fill blue -font Arial -pointsize 72 label:DragonMind text_img.jpf
please, help me
I will very appreciate your help.
Mauricio Souto.
jpg problems, need help asap
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: jpg problems, need help asap
Possibly it does not work as you spelled jpg wrong. You have jpf instead of jpg. It that is not it, have you installed the jpg delegate library.
See
http://www.imagemagick.org/download/delegates/
See
http://www.imagemagick.org/download/delegates/
Re: jpg problems, need help asap
You can find detailed info about your setup using:
There are some other examples of php and ImageMagick on my site.
Code: Select all
<?php
// Build the array of items to be used
exec("convert convert -list list", $IMarray, $code);
// Start the loop to find and display the results
foreach ($IMarray as $value) {
echo "<br>system (\"convert -list $value\")";
echo "<pre>";
system("convert -list $value");
echo "</pre><hr>";
}
?>