Description: I use Imagemagick quite a lot for various graphics work and I use the colorize and modulate a LOT when doing a theme or icons, the main problem with a command line app ( no matter how good ) is that you have no visual feedback until you convert the whole image, hence these three scripts ( the start of many! ) they can be installed and run from the command line or used as a nautilus script by placing them in ~/.gnome2/nautilus-scripts, select an image in nautilus and then select either colourize, modulate brightness from the scripts menu, you can also run any of the other apps from the first so you can colorize and then modulate then adjust the contrast of the image, the dialogs are fairly simple but there is a README file in the archive, you should try to avoid a 1:1 preview as it's quite slow, however when linking the apps and converting the final image you should set the preview of the apps to 1:1.Last changelog:
1st outing Amended scripts to take care of 'sh' bug slight bug crept in when displaying the imagemagick command from modulate, showed the colourize command instead, now fixed added brightness/contrast dialog cleaned up guis changed links to new website
I installed the new gtkdialog. But now, for some reason, the functions aren't found. I get lines like:
sh: 1: alterimage: not found
sh: 1: printcommand: not found
sh: 1: dopreview: not found
The scripts seem OK. Maybe that's a bug in gtkdialog.
At last I made it work :) My guess about a bug in gtkdialog was right (see http://code.google.com/p/gtkdialog/issues/detail?id=24). I just used:
exec $SHELL -c 'function'
instead of function itself in the action directives.
Wow! These scripts are really nice :) Thank you very much for sharing.
Thanks for finding that, I see this post just before I went to bed last night and sort of figured that it must be what 'sh' is pointed at, i will fix the scripts and repost,
THANKS!
I have now uploaded the amended scripts, and they appear OK, if anyone else uses a different shell and has problems please let me know and I will try to sort it out.
Ratings & Comments
7 Comments
I get "gtkdialog: Error in line 37, near token '<hseparator>': Unknown tag." BTW, isn't gtkdialog too old?
upgrade to gtkdialog version 0.8.1 it seems to be back under development
I installed the new gtkdialog. But now, for some reason, the functions aren't found. I get lines like: sh: 1: alterimage: not found sh: 1: printcommand: not found sh: 1: dopreview: not found The scripts seem OK. Maybe that's a bug in gtkdialog.
At last I made it work :) My guess about a bug in gtkdialog was right (see http://code.google.com/p/gtkdialog/issues/detail?id=24). I just used: exec $SHELL -c 'function' instead of function itself in the action directives. Wow! These scripts are really nice :) Thank you very much for sharing.
Thanks for finding that, I see this post just before I went to bed last night and sort of figured that it must be what 'sh' is pointed at, i will fix the scripts and repost, THANKS!
I have now uploaded the amended scripts, and they appear OK, if anyone else uses a different shell and has problems please let me know and I will try to sort it out.
You're welcome. You not only taught me about Imagemagick but also introduced me to Gtkdialogs. So, I am the one who should be thanking you.