473,605 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I perform quick PHP/ImageMagick test


Folks,
I've not used ImageMagick before - I've worked with the gd functions that
are pre-compiled in PHP and found some of the limits problematic yet heard
better reviews on ImageMagick.

I've got PHP 4.3.3 - When I do a phpinfo(); it tells me it was compiled
with --with-imagemagick There is no other mention of it anywhere (unlike GD
which is listed further down in its own box).

Can someone give me a quick one or two liner script that would do *anything*
to an image called image.jpg which I could use to confirm my installation is
working correctly?

Secondly, if someone can point me to any php based imagemagick resources, it
would be helpful.

thanx
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
Jul 16 '05 #1
1 7405

"Randell D." <yo************ **************@ yahoo.com> wrote in message
news:%S******** *************@n ews1.calgary.sh aw.ca...

Folks,
I've not used ImageMagick before - I've worked with the gd functions that
are pre-compiled in PHP and found some of the limits problematic yet heard
better reviews on ImageMagick.

I've got PHP 4.3.3 - When I do a phpinfo(); it tells me it was compiled
with --with-imagemagick There is no other mention of it anywhere (unlike GD which is listed further down in its own box).

Can someone give me a quick one or two liner script that would do *anything* to an image called image.jpg which I could use to confirm my installation is working correctly?

Secondly, if someone can point me to any php based imagemagick resources, it would be helpful.

thanx
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?


Sorry... I searched my system and found some Imagick scripts under the
php/ext directory that should do me fine...
Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1934
by: Andrew Crowe | last post by:
Hi guys, I'm having some trouble using the exec() command on a Windows 2000 / IIS server (PHP5rc2 running as ISAPI). I can execute programs fine, but they are unable to interact with any files on the server (either reading or writing). Eg. if I call exec("type R:/webroot/website/file.php") from PHP I get nothing (it works in a console window). Using the "copy" command outputs
3
5616
by: Joe | last post by:
Hey I have tried to install ImageMagick on my server, but my apache stalls when i try to start it with the following line added to my php.ini file: extension=php_imagick.dll I can't even kill the apache procees when I try to run it with this option added, so I have to restart the entire server each time I have to return to the original setting of php.ini
5
3644
by: nawfer | last post by:
for to resize and copy original photos into a new directory and to use for a thumbnail gallery on the web; what is better: GD, Netpbm or imagemagick and why? very thank
1
12827
by: shanergb | last post by:
Hi all. I'm creating a web-based application that uses PHP, MySQL & Apache on a Windows platform. What I need to do is create images on the fly with either GD or ImageMagick, display them on the web browser and then save the file. The tricky part is the format of that saved file - it needs to be an EPS format. The image won't be anything terribly exciting - just some basic shapes (boxes, circles, etc) and some text. No fancy colors,...
3
7075
by: Chuck Anderson | last post by:
I am trying to use ImageMagick from a Php script running under Windows XP. I have installed the latest version of ImageMagick - 6.2.1-7 and even tried backing up to version 5.5.7 (based on a recommendation I found during a Google search), but I can not get ImageMagick to work in Php (using exec or system). ImageMagick works from a Windows Command prompt - e.g., convert C:\apache\htdocs\testing\temp_.jpg
6
2945
by: eholz1 | last post by:
Hello Users, I am not sure if this is the place to post an imagemagick question - please advise. I have imagemagick 6.3 installed, runs from command line ok, etc. I have tried (several times now) to install the "MagicWand" PHP api from the imagemagik site. This flatly refused to "make" configure seems ok, I follow the
2
2883
by: azrael | last post by:
Hy did anyone manage to work with imahemagick through python. I've been googling like a crazy for some instalation instructions, but i cant find anything. please help. thnx
2
4101
by: Chuck Anderson | last post by:
I am trying to use ImageMagick to create thumbnails on the fly - without having to save the image to a file. I have gotten it to work by using passthru($cmd, $retval), but I want to use something else that will give me the complete output returned as a string that I can convert to a GD lib image resource so I can verify the operation worked before sending the Content-type header for the image. This works:...
0
1987
by: empiresolutions | last post by:
I am working with a TIF to JPG conversion that will result in the JPG being printed from a web page. My issue is the final JPG image prints VERY blurry. The TIF file that has the following settings, *plat.tif* Pixel Dimensions - 9600x7200 Document Size - 24x18 inches Resolution - 400 px/in File Size - 236 KB
0
8004
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
7934
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8425
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8071
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5445
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2438
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1541
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1271
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.