LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2004, 06:21 PM   #1
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
Ahh! ImageMagick! This should be and easy thing!


ok so i setup a webserver with apache, mysql, and php. i run a script on the server that needs ImageMagick.

soooooo, i installed ImageMagick via the rpm on cd one (ImageMagick-5.5.6-5.i386.rpm).

the problem is i cant find the darn install directory! i need to know this location (probably like /usr/bin or something) so my script will auto resize images for me. im not looking to really use it from the command line or anything. i need just the path to an executeable.
 
Old 04-03-2004, 06:25 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
dude use locate, the rpm shoudlve also installed the manual pages.

locate imagemagik

man imagemagik

ands it probably in /usr/X11R6/bin
if its an Xwindow program.
 
Old 04-03-2004, 06:45 PM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Actually, 'imagemagick' is the name of the package, not of any particular executable. 'man ImageMagick' (case-sensitive) tells you more about the various applications that are part of the package. These include animate, composite, display, convert, identify and others; if you run 'which convert' (or 'locate convert' or 'find / -name convert'), that should tell you what directory the rest of the binaries got installed into. Mine are in /usr/bin; yours may vary.
 
Old 04-03-2004, 07:33 PM   #4
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
ohhh! convert!!!! darnit thats what i should have been looking for. i really need to remember the syntaxt for that find command. i always forget. thanks so much.
 
Old 04-03-2004, 07:51 PM   #5
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
hmmm, now its getting all weird on me.

Code:
The picture 'albums/userpics/10001/DSC05501.JPG' can't be inserted in the album

Error executing ImageMagick - Return value: 1

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x75 'albums/userpics/10001/DSC05501.JPG' 'albums/userpics/10001/thumb_DSC05501.JPG'


The convert program said:
/usr/bin/convert: Corrupt JPEG data: 15 extraneous bytes before marker 0xd9 (albums/userpics/10001/DSC05501.JPG).
/usr/bin/convert: Corrupt JPEG data: 15 extraneous bytes before marker 0xd9 (albums/userpics/10001/DSC05501.JPG).


File: /web_sites/sporkit/friend_pics/db_input.php - Line: 289
i tried using the GD version 1.x and 2.x instead but unfortuatly my pictures become all scrambled. soo basicly it looks like its working with the commands but i wouldnt know what else from there.

thanks for any help.
 
Old 04-05-2004, 06:36 PM   #6
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
ohhhhh kay. well thats pretty anonying. basicly i tried running the commands right on the server it worked. i went back to my unchanged script configureation and now that works...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ahh, help!! nettey Linux - Newbie 4 07-06-2004 01:30 PM
Opera won't run! Ahh! voyciz Linux - Software 7 06-01-2004 04:55 PM
AHH! Boot problems! Task Linux - Software 10 08-18-2003 12:27 AM
ahh, the mysteries of Linux frontier1 Linux - General 1 02-27-2003 08:52 PM
AHH!!! Sounds! Cheese Linux - Newbie 2 12-02-2001 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration