jpg problems, need help asap

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
maurisouto

jpg problems, need help asap

Post by maurisouto »

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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: jpg problems, need help asap

Post by fmw42 »

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/
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: jpg problems, need help asap

Post by Bonzo »

You can find detailed info about your setup using:

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>";
}
?>
There are some other examples of php and ImageMagick on my site.
Post Reply