>
> It is called php-magickwand in Fedora.
>
> Use yum search.
>
> # yum search magickwand
>
> Loaded plugins: refresh-packagekit
> ============================= Matched: magickwand
> ==============================
> php-magickwand.i386 : PHP API for ImageMagick
>
>
>  Thanks, I installed MagickWand using yum as shown

[r...@localhost ~]# yum install php-magickwand
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-magickwand.i386 0:1.0.7-2.fc10 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch         Version               Repository
Size
================================================================================
Installing:
 php-magickwand         i386         1.0.7-2.fc10          fedora
121 k

Transaction Summary
================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 121 k
Is this ok [y/N]: y
Downloading Packages:
php-magickwand-1.0.7-2.fc10.i386.rpm                     | 121 kB
00:10
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4ebfc273
fedora/gpgkey                                            | 2.3 kB
00:00
Importing GPG key 0x4EBFC273 "Fedora (10) <[email protected]>" from
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php-magickwand
1/1

Installed:
  php-magickwand.i386
0:1.0.7-2.fc10

Complete!


but while trying to run a simple program shown below


<?php


$resource = NewMagickWand();

MagickReadImage( $resource, 'testpic.jpg' );

if( MagickCropImage( $resource, 128, 128, 50, 50 ) )
{
  header( 'Content-Type: image/jpeg' );
  MagickEchoImageBlob( $resource );
}
else
{
  echo MagickGetExceptionString($resource);
}

?>


Browser doesnt show any output as the image file testpic.jpg is located in
the same folder. Do i have to modify php.ini file to identify MagickWand and
execute the codes. Please help




Thanks in advance.........
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to