Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.