<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Herself&#039;s Webtools &#187; linux</title>
	<atom:link href="http://herselfswebtools.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://herselfswebtools.com</link>
	<description>Scripts, HowTos, Templates, Plugins, Widgets, Tips</description>
	<lastBuildDate>Fri, 18 Nov 2011 15:47:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Bulk Image Processing for websites using Image Magick</title>
		<link>http://herselfswebtools.com/2007/07/bulk-image-processing-for-websites-using-image-magick.html</link>
		<comments>http://herselfswebtools.com/2007/07/bulk-image-processing-for-websites-using-image-magick.html#comments</comments>
		<pubDate>Fri, 20 Jul 2007 12:00:00 +0000</pubDate>
		<dc:creator>Linda MacPhee-Cobb</dc:creator>
				<category><![CDATA[graphics]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://timestocome.org/webtools/2007/07/bulk-image-processing-for-websites-using-image-magick.html</guid>
		<description><![CDATA[You might be developing a site to show off someone&#8217;s photos. Or maybe you are building an online store and you have hundreds of images to process. Well we all love GIMP but re-sizing 500 photos for thumbnails would give anyones mouse hand a cramp if you did them one by one. When you have [...]]]></description>
			<content:encoded><![CDATA[<p>You might be developing a site to show off someone&#8217;s photos.  Or maybe you are building an online store and you have hundreds of images to process.  Well we all love GIMP but re-sizing 500 photos for thumbnails would give anyones mouse hand a cramp if you did them one by one.</p>
<p>When you have lots and lots of photos to process you will want to set aside GIMP and use <a href="http://www.imagemagick.org">ImageMagick</a>.  There are binary versions available for Unix/Windows/OSX and source code versions available for those of you who prefer to compile your own.  This is Open Source, free for you to use software.</p>
<p><a href="http://www.imagemagick.org/script/binary-releases.php">Directions for installing ImageMagick</a> (* see note for OSX at bottom of post )</p>
<p>Now I&#8217;m old school and often work from a command line or terminal.  Those of you who would rather have a graphical interface might want to check out <a href="http://www.yeo.id.au/jmagick/">JMagick</a>, a Java interface for working with ImageMagick.  This is just an interface, ImageMagick will need to be properly installed first for the interface to work.</p>
<p>Once you have it up and running you can batch process your images.</p>
<p>For instance if you want to create thumbnails for 100 jpg images:<br />Open up a terminal window ( Command in Windows Terminal in OSX )<br />cd to the directory with the images<br />type at the command prompt and hit enter<br />convert *.jpg -resize 100 thumbnail%03.png</p>
<p>This will convert all files ending in .jpg in this directory to png files that have a width of 100 pixels and are named thumbnail000.png to thumbnail099.png.</p>
<p>You can convert jpgs to png to gif and any which way between them.</p>
<p>You can do any of the following conversions to the files:<br />[-adaptive-blur • -adaptive-resize • -adaptive-sharpen • -adjoin • -affine • -annotate • -antialias • -append • -authenticate • -auto-orient • -average • -backdrop • -background • -bias • -black-point-compensation • -black-threshold • -blue-primary • -blur • -border • -bordercolor • -borderwidth • -cache • -channel • -charcoal • -chop • -clip • -clip-mask • -clip-path • -clip-path • -clone • -coalesce • -colorize • -colormap • -colors • -colorspace • -combine • -comment • -compose • -composite • -compress • -contrast • -contrast-stretch • -convolve • -crop • -cycle • -debug • -deconstruct • -define • -delay • -delete • -density • -depth • -descend • despeckle • -displace • -display • -dispose • -dissolve • -distort • -dither • -draw • -edge • -emboss • -encoding • -endian • -enhance • -equalize • -evaluate • -extent • -extract • -fill • -filter • -flatten • -flip • -flop • -font • -foreground • -format • -format • -frame • -frame • -fuzz • -fx • -gamma • -gaussian-blur • -geometry • -gravity • -green-primary • -help • -iconGeometry • -iconic •  -identify • -immutable • -implode • -insert • -intent • -interlace • -interpolate • -label • -lasso • -lat • -layers • -level • -limit • -linear-stretch • -linewidth • -list • -log • -loop • -magnify • -map • -map • -mask • -matte • -mattecolor • -mask • -median • -metric • -mode • -modulate • -monitor • -monochrome • -morph • -mosaic • -motion-blur • -name • -negate • -noise • -normalize • -opaque • -ordered-dither • -orient • -page • -paint • -path • -pause • -pause • -pen • -ping • -pointsize • -polaroid • -posterize • -preview • -print • -process • -profile • -quality • -quantize • -quiet • -radial-blur • -raise • -random-threshold • -recolor • -red-primary • -regard-warnings • -region • -remote • -render • -repage • -resample • -resize • -reverse • -roll { • -rotate • -sample • -sampling-factor • -scale • -scene • -scenes • -screen • -seed • -segment • -separate • -sepia-tone • -set • -shade • -shadow • -shared-memory • -sharpen • -shave • -shear • -sigmoidal-contrast • -silent • -size • -sketch • -snaps • -solarize • -splice • -spread • -stegano • -stereo • -storage-type • -strip • -stroke • -strokewidth • -support • -swap • -swirl • -text-font • -texture • -threshold • -thumbnail • -tile • -tile-offset • -tint • -title • -transform • -transparent • -transparent-color • -transpose • -transverse • -treedepth • -trim • -type • -undercolor • -unique-colors • -units • -unsharp • -update • -verbose • -version • -view • -vignette • -virtual-pixel • -visual • -watermark • -wave • -white-point • -white-threshold • -window • -window-group • -write]</p>
<p>There are hundreds of detailed examples here: <a href="http://www.imagemagick.org/Usage/">( ImageMagick Examples )</a></p>
<p>*Note for OSX installations:<br />You will need to edit your .bash_profile file.  It is in your home directory, and add the following lines.</p>
<blockquote><p>#ImageMagick Stuff<br />export MAGICK_HOME=&#8221;/usr/local/ImageMagick&#8221;<br />PATH=$PATH:$MAGICK_HOME/bin<br />export PATH<br />export DYLD_LIBRARY_PATH=&#8221;$MAGICK_HOME/lib&#8221;<br /># end Image Magick Stuff</p></blockquote>
<p>Save the file, close the terminal window and open a new one to cause .bash_profile to run.</p>
]]></content:encoded>
			<wfw:commentRss>http://herselfswebtools.com/2007/07/bulk-image-processing-for-websites-using-image-magick.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PERL script to find and replace every string in a sub directory</title>
		<link>http://herselfswebtools.com/2007/03/perl-script-to-find-and-replace-every-string-in-a-sub-directory.html</link>
		<comments>http://herselfswebtools.com/2007/03/perl-script-to-find-and-replace-every-string-in-a-sub-directory.html#comments</comments>
		<pubDate>Thu, 08 Mar 2007 12:00:00 +0000</pubDate>
		<dc:creator>Linda MacPhee-Cobb</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://timestocome.org/webtools/2007/03/perl-script-to-find-and-replace-every-string-in-a-sub-directory.html</guid>
		<description><![CDATA[This is a tool that enters a sub-directory and reads and changes one string to another. I use it when I make major updates to my website or am updating links. I can have it search for the old link and replace it with the new link. (or any other piece of text you&#8217;d like [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tool that enters a sub-directory and reads and changes one string to another.</p>
<p>I use it when I make major updates to my website or am updating links.  I can have it search for the old link and replace it with the new link. (or any other piece of text you&#8217;d like to change).</p>
<p>It puts the altered files in the working directory and leaves the originals unchanged.   It also prints to the screen the file name and line number of any changes made.</p>
<p><a href="/files/findAndReplace.txt">findAndReplace.pl</a></p>
]]></content:encoded>
			<wfw:commentRss>http://herselfswebtools.com/2007/03/perl-script-to-find-and-replace-every-string-in-a-sub-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change all the file names in a directory</title>
		<link>http://herselfswebtools.com/2007/03/change-all-the-file-names-in-a-directory.html</link>
		<comments>http://herselfswebtools.com/2007/03/change-all-the-file-names-in-a-directory.html#comments</comments>
		<pubDate>Wed, 07 Mar 2007 12:00:00 +0000</pubDate>
		<dc:creator>Linda MacPhee-Cobb</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://timestocome.org/webtools/2007/03/change-all-the-file-names-in-a-directory.html</guid>
		<description><![CDATA[If you have a directory of files with the same substring sayjoke1.html, joke2.html, joke3.html &#8230; and you want to rename themriddle1.html, riddle2.html, riddle3.html this tool does that. It is a PERL script, it will ask you for the old and new strings and changethe files in the directory in which the script is located. chgfilename.pl]]></description>
			<content:encoded><![CDATA[<p>If you have a directory of files with the same substring sayjoke1.html, joke2.html, joke3.html &#8230; and you want to rename themriddle1.html, riddle2.html, riddle3.html this tool does that.</p>
<p>It is a PERL script, it will ask you for the old and new strings and changethe files in the directory in which the script is located.</p>
<p><a href="/files/chgfilename.txt">chgfilename.pl</a></p>
]]></content:encoded>
			<wfw:commentRss>http://herselfswebtools.com/2007/03/change-all-the-file-names-in-a-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

