ImageMagick
hi all
I've tried to install ImageMagick and I'm not sure if I got it right. first thing is I went to see if it was install ok by typing in convert -version and I get the following answer below. Version: ImageMagick 6.0.7 12/12/04 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC the only file I can find on the system is in /usr/share/man/man1/ImageMagick.1.gz I cant seem to find any other files :confused: I'm using tinysofa ( odin ) I'm installing a gallery which needs ImageMagick and the coppermine gallery tells me I need to find the path to convert.exe I'm alittle lost can any one tell me whats going on please. this was my install Code:
[root@rockinghamgateway ~]# apt-get source ImageMagick Code:
[root@rockinghamgateway downloads]# ls |
It does look like you have ImageMagick installed although I have a newer version. ImageMagick is a bunch of apps which are used individually, like convert for example.
Run the command: which convert or whereis convert to find out where it is. |
cheers for that Homey
this is what it comes up with, Code:
[root@rockinghamgateway ~]# whereis convert time stamp :confused: or is it called water mark :confused: TT |
Been there, done that. :)
This one puts a logo.gif onto the image. convert -flatten earth.png logo.gif earth1.png This one puts a logo.gif on different places of the image. composite -gravity southeast logo.gif earth.png earth1.png If you want to put text for a logo, check out my other notes. You will need to play with size and position as I was using a small image. convert xc:white -resize 100x20! blank.jpg | \ convert -append cows.jpg blank.jpg tmp.jpg | \ convert tmp.jpg -gravity south -font helvetica -pointsize 15 \ -fill blue -draw "text -20+0 Cockatoo" tux1.jpg convert xc:white -resize 100x20! blank.png | \ convert -append tux.png blank.png tmp.png | \ convert tmp.png -gravity south -font helvetica -pointsize 15 \ -fill red -draw "text -20+0 'Not Now'" tux2.png convert xc:white -resize 330x20! blank.png | \ convert -append cows.png blank.png tmp.png | \ convert tmp.png -gravity south -font helvetica -pointsize 20 \ -fill blue -draw "text +120-3 Cockatoo" tux1.png convert tux.png -gravity center -font helvetica -fill blue \ -draw "text 0+5 Cockatoo" tux3.png convert tux.png -font Helvetica -pointsize 15 -fill red \ -gravity center -draw "text 0+0 'Not Now'" tux4.png convert cows.png -font Helvetica -pointsize 25 -fill white \ -gravity northwest -draw "text 0-10 'Not Now'" tux4.png |
Any idea on where I could find some thing about placing a water mark on my photo's
I'm looking through some links now. http://www.imagemagick.org/script/links.php edit note, thanks for that, what happens if you have 400 plus images ? do you have to be in the DIR of the images to try these commands ? TT |
Quote:
Make a backup and practice on a small test folder. In this script, the new images are put into a tmp folder and the originals are unchanged, backups are a good idea anyway. Code:
#!/bin/bash |
this script, is this placed in the /etc folder to run :confused:
had a bunch of kids fighing in the back ground and I got lost for a bit. I'll look back on the post and try work it all out and let you know how I go. I haven't uploaded the 400plus yet, I'll only uploaded 6 I think for testing http://gallery.rockinghamgateway.com/ TT |
I did one image
I thinking my logo could be a bit bigger and I need to remove the white around the logo.gif [root@rockinghamgateway ~]# cd /srv/www/subs/gallery/albums/userpics/10001 [root@rockinghamgateway 10001]# ls dolphin_2.gif normal_third_rock.jpg dolphin_3.gif Rockingham_Beach_jetty.jpg dolphin_one.gif second_rock.jpg foreshore.gif Shoalwater_Bay.jpg index.html third_rock.jpg logo.gif thumb_dolphin_2.gif normal_dolphin_2.gif thumb_dolphin_3.gif normal_dolphin_3.gif thumb_dolphin_one.gif normal_dolphin_one.gif thumb_foreshore.gif normal_foreshore.gif thumb_Rockingham_Beach_jetty.jpg normal_Rockingham_Beach_jetty.jpg thumb_second_rock.jpg normal_second_rock.jpg thumb_Shoalwater_Bay.jpg normal_Shoalwater_Bay.jpg thumb_third_rock.jpg [root@rockinghamgateway 10001]# composite -gravity southeast logo.gif dolphin_2.gif dolphin_2.gif click on the link then click on the image to open right up, the logo is on the bottom right http://gallery.rockinghamgateway.com...m&cat=3&pos=-3 does that look right :confused: TT |
I can't tell what the logo is, maybe abit larger.
Quote:
You make it executable with the command: chmod +x test Then you run it like this ... ./test images Where ./test is the name of the script file and images is the name of my images folder. |
|
Homey
have you got a demo site running with the water mark ? I got the image bigger, looks like scrap, also need to be off the bottom a bit TT |
I dont spose you know how to remove white edges with ImageMagick do you ?
TT |
I don't have a site and I'm not sure how you got the white line all around the tux. He shows up nice though. :)
|
cheers homey, I haven't given up
had some help from here as well http://redux.imagemagick.org/discuss...?p=16632#16632 TT |
All times are GMT -5. The time now is 04:11 AM. |