Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-03-2004, 06:21 PM
|
#1
|
|
Member
Registered: Feb 2004
Posts: 71
Rep:
|
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.
|
|
|
|
04-03-2004, 06:25 PM
|
#2
|
|
Member
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836
Rep:
|
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.
|
|
|
|
04-03-2004, 06:45 PM
|
#3
|
|
Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018
Rep:
|
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.
|
|
|
|
04-03-2004, 07:33 PM
|
#4
|
|
Member
Registered: Feb 2004
Posts: 71
Original Poster
Rep:
|
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. 
|
|
|
|
04-03-2004, 07:51 PM
|
#5
|
|
Member
Registered: Feb 2004
Posts: 71
Original Poster
Rep:
|
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.
|
|
|
|
04-05-2004, 06:36 PM
|
#6
|
|
Member
Registered: Feb 2004
Posts: 71
Original Poster
Rep:
|
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...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:49 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|