<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: PNGCRUSH a Directory of&#160;Images</title> <atom:link href="http://davidwalsh.name/pngcrush-directory/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/pngcrush-directory</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 19:56:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Ali Robertson</title><link>http://davidwalsh.name/pngcrush-directory#comment-32003</link> <dc:creator>Ali Robertson</dc:creator> <pubDate>Thu, 03 May 2012 05:02:02 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-32003</guid> <description>Simplest way to do this.1. Make sure that pngcrush.exe is in a folder which is mentioned in the PATH directory reference, so it can be used from the command line.2. Open folder containing PNGs you want to crush.3. shift + right click in empty space in folder, &quot;open command window in folder&quot;4. type &quot;pngcrush -d &quot;crushed&quot; *.png5. close command window and go to newly created &#039;crushed&#039; folder, which now contains your optimised PNGs.</description> <content:encoded><![CDATA[<p>Simplest way to do this.</p><p>1. Make sure that pngcrush.exe is in a folder which is mentioned in the PATH directory reference, so it can be used from the command line.</p><p>2. Open folder containing PNGs you want to crush.</p><p>3. shift + right click in empty space in folder, &#8220;open command window in folder&#8221;</p><p>4. type &#8220;pngcrush -d &#8220;crushed&#8221; *.png</p><p>5. close command window and go to newly created &#8216;crushed&#8217; folder, which now contains your optimised PNGs.</p> ]]></content:encoded> </item> <item><title>By: Ali Robertson</title><link>http://davidwalsh.name/pngcrush-directory#comment-32002</link> <dc:creator>Ali Robertson</dc:creator> <pubDate>Thu, 03 May 2012 05:00:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-32002</guid> <description>Simplest way to do this.1. Create a folder for executables which will go into your PATH directory reference.
2. Open folder containing PNGs you want to crush
3. shift + right click in empty space in folder, &quot;open command window in folder&quot;
4. type &quot;pngcrush -d &quot;crushed&quot; *.png
5. close command window and go to newly created &#039;crushed&#039; folder, which now contains your optimised PNGs.</description> <content:encoded><![CDATA[<p>Simplest way to do this.</p><p>1. Create a folder for executables which will go into your PATH directory reference.<br
/> 2. Open folder containing PNGs you want to crush<br
/> 3. shift + right click in empty space in folder, &#8220;open command window in folder&#8221;<br
/> 4. type &#8220;pngcrush -d &#8220;crushed&#8221; *.png<br
/> 5. close command window and go to newly created &#8216;crushed&#8217; folder, which now contains your optimised PNGs.</p> ]]></content:encoded> </item> <item><title>By: RagingSloth</title><link>http://davidwalsh.name/pngcrush-directory#comment-30944</link> <dc:creator>RagingSloth</dc:creator> <pubDate>Sun, 11 Mar 2012 03:19:08 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-30944</guid> <description>I was searching for some information on jpgcrush and google assumed I meant pngcrush... Anyway for anyone who is interested I have several tutorials on this subject (in python) one of which will make use of multiple processors (which saves quite a bit of time if you have a tonne of pngs.)http://www.ragingsloth.com/softwareEng/PNGOptimizerIndex.html</description> <content:encoded><![CDATA[<p>I was searching for some information on jpgcrush and google assumed I meant pngcrush&#8230; Anyway for anyone who is interested I have several tutorials on this subject (in python) one of which will make use of multiple processors (which saves quite a bit of time if you have a tonne of pngs.)</p><p><a
href="http://www.ragingsloth.com/softwareEng/PNGOptimizerIndex.html" rel="nofollow">http://www.ragingsloth.com/softwareEng/PNGOptimizerIndex.html</a></p> ]]></content:encoded> </item> <item><title>By: vulgarbulgar</title><link>http://davidwalsh.name/pngcrush-directory#comment-30164</link> <dc:creator>vulgarbulgar</dc:creator> <pubDate>Wed, 22 Feb 2012 22:24:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-30164</guid> <description>In terms of usability and performance, under windoes, it doesn&#039;t get better than this for a gui - http://pnggauntlet.coma great feature is that you can simply drag/ drop images, and it will &#039;smash&#039; them,a nd overwrite the original files on the fly.for example, pull your entire website to a local folder, search for *.png in win explorer, then simply drag/ drop the query results into pnggauntlet, making sure to check the &#039;overwrite original files&#039; box, and let it smash down the file size.i just tested this workflow on a massive ecommerce website (about 2700 png&#039;s worth about 40mb) and saved a whopping 3mb. of course, who knows how well the originals were optimized, but nonetheless, it&#039;s a great result.another great feature is that it can optionally convert from jpg, tiff, gif and bmp to png.</description> <content:encoded><![CDATA[<p>In terms of usability and performance, under windoes, it doesn&#8217;t get better than this for a gui &#8211; <a
href="http://pnggauntlet.com" rel="nofollow">http://pnggauntlet.com</a></p><p>a great feature is that you can simply drag/ drop images, and it will &#8216;smash&#8217; them,a nd overwrite the original files on the fly.</p><p>for example, pull your entire website to a local folder, search for *.png in win explorer, then simply drag/ drop the query results into pnggauntlet, making sure to check the &#8216;overwrite original files&#8217; box, and let it smash down the file size.</p><p>i just tested this workflow on a massive ecommerce website (about 2700 png&#8217;s worth about 40mb) and saved a whopping 3mb. of course, who knows how well the originals were optimized, but nonetheless, it&#8217;s a great result.</p><p>another great feature is that it can optionally convert from jpg, tiff, gif and bmp to png.</p> ]]></content:encoded> </item> <item><title>By: Daniel X. Moore</title><link>http://davidwalsh.name/pngcrush-directory#comment-20054</link> <dc:creator>Daniel X. Moore</dc:creator> <pubDate>Fri, 17 Sep 2010 22:05:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-20054</guid> <description>Very useful script!</description> <content:encoded><![CDATA[<p>Very useful script!</p> ]]></content:encoded> </item> <item><title>By: jon wilson</title><link>http://davidwalsh.name/pngcrush-directory#comment-18163</link> <dc:creator>jon wilson</dc:creator> <pubDate>Fri, 11 Jun 2010 20:54:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-18163</guid> <description>i think this was a great post. it has helped me much. thank you</description> <content:encoded><![CDATA[<p>i think this was a great post. it has helped me much. thank you</p> ]]></content:encoded> </item> <item><title>By: rick</title><link>http://davidwalsh.name/pngcrush-directory#comment-16685</link> <dc:creator>rick</dc:creator> <pubDate>Mon, 29 Mar 2010 20:42:57 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-16685</guid> <description>It&#039;s even easier than that, pngcrush supports * for selecting images to crush. Try:  &#039;pngcrush -d &quot;/Users/rd/crushedimages/&quot; *.png&#039; to crush ALL png images in the current directory and put the resulting files in &quot;/Users/rd/crushedimages/&quot; (change this to a directory of your choosing!</description> <content:encoded><![CDATA[<p>It&#8217;s even easier than that, pngcrush supports * for selecting images to crush. Try:  &#8216;pngcrush -d &#8220;/Users/rd/crushedimages/&#8221; *.png&#8217; to crush ALL png images in the current directory and put the resulting files in &#8220;/Users/rd/crushedimages/&#8221; (change this to a directory of your choosing!</p> ]]></content:encoded> </item> <item><title>By: deef</title><link>http://davidwalsh.name/pngcrush-directory#comment-12193</link> <dc:creator>deef</dc:creator> <pubDate>Sat, 26 Sep 2009 16:28:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-12193</guid> <description>Extended:scriptname [-d directoryname][code]
#!/bin/sh
#
dflag=
while getopts &#039;d:&#039; OPTION
do
case $OPTION in
d)	dflag=$OPTARG
;;
?)	printf &quot;Usage: %s: [-d directory]\n&quot; $(basename $0) &gt;&amp;2
exit 2
;;
esac
done
shift $(($OPTIND - 1))if [ &quot;$dflag&quot; ]
then
# DO DIR PNGCRUSH
for png in `find $dflag -name &quot;*.png&quot;`;
do
echo &quot;crushing $png&quot;
pngcrush -brute &quot;$png&quot; temp.png
mv -f temp.png $png
done;
fi
[/code]</description> <content:encoded><![CDATA[<p>Extended:</p><p>scriptname [-d directoryname]</p><p>[code]<br
/> #!/bin/sh<br
/> #<br
/> dflag=<br
/> while getopts 'd:' OPTION<br
/> do<br
/> case $OPTION in<br
/> d)	dflag=$OPTARG<br
/> ;;<br
/> ?)	printf "Usage: %s: [-d directory]\n" $(basename $0) &gt;&amp;2<br
/> exit 2<br
/> ;;<br
/> esac<br
/> done<br
/> shift $(($OPTIND - 1))</p><p>if [ "$dflag" ]<br
/> then<br
/> # DO DIR PNGCRUSH<br
/> for png in `find $dflag -name "*.png"`;<br
/> do<br
/> echo "crushing $png"<br
/> pngcrush -brute "$png" temp.png<br
/> mv -f temp.png $png<br
/> done;<br
/> fi<br
/> [/code]</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/pngcrush-directory#comment-12173</link> <dc:creator>David Walsh</dc:creator> <pubDate>Fri, 25 Sep 2009 15:05:32 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-12173</guid> <description>Oh -- in that case, try this:http://pornel.net/imageoptim/en</description> <content:encoded><![CDATA[<p>Oh &#8212; in that case, try this:</p><p><a
href="http://pornel.net/imageoptim/en" rel="nofollow">http://pornel.net/imageoptim/en</a></p> ]]></content:encoded> </item> <item><title>By: Ben</title><link>http://davidwalsh.name/pngcrush-directory#comment-12172</link> <dc:creator>Ben</dc:creator> <pubDate>Fri, 25 Sep 2009 14:53:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3713#comment-12172</guid> <description>@David Walsh:  I don&#039;t know how to run bash scripts :)</description> <content:encoded><![CDATA[<p>@David Walsh:  I don&#8217;t know how to run bash scripts :)</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/7 queries in 0.005 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 17:01:55 -->
