<?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/"
		>
<channel>
	<title>Comments on: More thoughts on automated image optimization for Plone</title>
	<atom:link href="http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/feed/" rel="self" type="application/rss+xml" />
	<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/</link>
	<description>Politics, the environment, technology, activism. And stuff.</description>
	<lastBuildDate>Wed, 02 May 2012 15:47:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Anthony Gerrard</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395138</link>
		<dc:creator>Anthony Gerrard</dc:creator>
		<pubDate>Tue, 09 Mar 2010 13:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395138</guid>
		<description>&lt;p&gt;We recently had a user upload two bmp files that were 28MB each.  I think it would be wise to include bmp file type in your list of image types that can be converted to jpegs.  Unfortunately there are users out there who are quite ignorant about image formats, dimensions and compression.&lt;/p&gt;

&lt;p&gt;I know it&#039;s slightly out of scope but a similar tool to pick up large File objects would be useful for administrators.  We&#039;d really like to know if a user has uploaded a 100MB powerpoint.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>We recently had a user upload two bmp files that were 28MB each.  I think it would be wise to include bmp file type in your list of image types that can be converted to jpegs.  Unfortunately there are users out there who are quite ignorant about image formats, dimensions and compression.</p>
<p>I know it&#8217;s slightly out of scope but a similar tool to pick up large File objects would be useful for administrators.  We&#8217;d really like to know if a user has uploaded a 100MB powerpoint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Mitchell</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395117</link>
		<dc:creator>Alec Mitchell</dc:creator>
		<pubDate>Thu, 04 Mar 2010 19:30:09 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395117</guid>
		<description>&lt;p&gt;Matt,&lt;/p&gt;

&lt;p&gt;Yes, I use ANTIALIAS in PIL transformations, but I&#039;ve had clients for whom the result was not acceptable.  ImageMagick is pretty close to state of the art as far as scaling goes and the techniques it uses go far beyond anti-aliasing (See: http://www.imagemagick.org/Usage/resize/).  There are comparisons to Photoshop and some anti-aliased scaling output here: http://www.xs4all.nl/~bvdwolf/main/foto/down_sample/example1.htm&lt;/p&gt;

&lt;p&gt;It also supports an almost magical &quot;liquid scaling&quot; feature that can change an aspect ratio without significantly distorting the image content.&lt;/p&gt;

&lt;p&gt;I wouldn&#039;t suggest making it a dependency for Plone though, because it&#039;s a pain to install.  For an add-on that wants to offer quality image transformations, it should be seriously considered, IMHO.  Also, if you want to offer flipping/rotation of JPEG images, using libjpeg/jpegtran/jhead allows for extremely fast lossless transforms (whereas both PIL and ImageMagick degrade JPEGs on each transform).  See: http://www.imagemagick.org/Usage/formats/#jpg_lossless&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>Yes, I use ANTIALIAS in PIL transformations, but I&#8217;ve had clients for whom the result was not acceptable.  ImageMagick is pretty close to state of the art as far as scaling goes and the techniques it uses go far beyond anti-aliasing (See: <a href="http://www.imagemagick.org/Usage/resize/" rel="nofollow">http://www.imagemagick.org/Usage/resize/</a>).  There are comparisons to Photoshop and some anti-aliased scaling output here: <a href="http://www.xs4all.nl/~bvdwolf/main/foto/down_sample/example1.htm" rel="nofollow">http://www.xs4all.nl/~bvdwolf/main/foto/down_sample/example1.htm</a></p>
<p>It also supports an almost magical &#8220;liquid scaling&#8221; feature that can change an aspect ratio without significantly distorting the image content.</p>
<p>I wouldn&#8217;t suggest making it a dependency for Plone though, because it&#8217;s a pain to install.  For an add-on that wants to offer quality image transformations, it should be seriously considered, IMHO.  Also, if you want to offer flipping/rotation of JPEG images, using libjpeg/jpegtran/jhead allows for extremely fast lossless transforms (whereas both PIL and ImageMagick degrade JPEGs on each transform).  See: <a href="http://www.imagemagick.org/Usage/formats/#jpg_lossless" rel="nofollow">http://www.imagemagick.org/Usage/formats/#jpg_lossless</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geir Bækholt</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395112</link>
		<dc:creator>Geir Bækholt</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395112</guid>
		<description>&lt;p&gt;Yes! This functionality would be very useful, — but the configuation seems a tad technical for control panels. 
There is little reason to vary these settings from site to site. I&#039;d be happy to see this happening automatically in the background instead of adding more buttons to tweak.
:)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes! This functionality would be very useful, — but the configuation seems a tad technical for control panels.<br />
There is little reason to vary these settings from site to site. I&#8217;d be happy to see this happening automatically in the background instead of adding more buttons to tweak. <img src='http://jstahl.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Stahl</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395111</link>
		<dc:creator>Jon Stahl</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395111</guid>
		<description>&lt;p&gt;@Lee, @Cris -- awesome!  I will think a bit more about how to fold the ideas Matt mentions for the &quot;SuperImageField&quot; into this.  I was thinking more from a site admin point of few, not at the individual content creator level, but it would be really great to think at that level as well -- thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Lee, @Cris &#8212; awesome!  I will think a bit more about how to fold the ideas Matt mentions for the &#8220;SuperImageField&#8221; into this.  I was thinking more from a site admin point of few, not at the individual content creator level, but it would be really great to think at that level as well &#8212; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cris Ewing</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395110</link>
		<dc:creator>Cris Ewing</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395110</guid>
		<description>&lt;p&gt;As the manager of a large website with lots of content contributors and &lt;em&gt;lots&lt;/em&gt; of images (we do radiology, folks, images is what we are about) I&#039;d be 100% behind any effort to work on this, especially if we can put some focus on allowing content creators to manage the images they upload when they upload them.  I can even see if there might be some funds I can shake loose.  This would be a great boon to us and we should pony up to support it if possible.&lt;/p&gt;

&lt;p&gt;c&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>As the manager of a large website with lots of content contributors and <em>lots</em> of images (we do radiology, folks, images is what we are about) I&#8217;d be 100% behind any effort to work on this, especially if we can put some focus on allowing content creators to manage the images they upload when they upload them.  I can even see if there might be some funds I can shake loose.  This would be a great boon to us and we should pony up to support it if possible.</p>
<p>c</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Joramo</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395109</link>
		<dc:creator>Lee Joramo</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395109</guid>
		<description>&lt;p&gt;Jon,
Sounds great. I have several sites that need this badly.
You can put designKiln down for 10% of the project cost up to $500.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jon,<br />
Sounds great. I have several sites that need this badly.<br />
You can put designKiln down for 10% of the project cost up to $500.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Stahl</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395108</link>
		<dc:creator>Jon Stahl</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395108</guid>
		<description>&lt;p&gt;@Julian - Great point!  I&#039;ll update the article. Thank you!&lt;/p&gt;

&lt;p&gt;@Matt - PIL vs. ImageMagick - no strong personal opinion, but I trust Alec here.  I agree that avoiding dependencies is good.     RE: SuperImageField -- I was hoping someone would have something like this -- it would be amazing if you had time to release it in some fashion!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Julian &#8211; Great point!  I&#8217;ll update the article. Thank you!</p>
<p>@Matt &#8211; PIL vs. ImageMagick &#8211; no strong personal opinion, but I trust Alec here.  I agree that avoiding dependencies is good.     RE: SuperImageField &#8212; I was hoping someone would have something like this &#8212; it would be amazing if you had time to release it in some fashion!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Stahl</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395107</link>
		<dc:creator>Jon Stahl</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395107</guid>
		<description>&lt;p&gt;@JohnS -- I agree wholeheartedly, and in fact I mentioned it as afterthought: &quot;Somewhat randomly, I also wanted to take note of Kurt Bendl’s useful recipes for limiting the max KB and pixel dimensions of uploaded AT Images and Files.  This might be useful and/or worth exposing in a TTW setting.&quot;  IOW, Plone already has this capability, it&#039;s just buried very, very deeply.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@JohnS &#8212; I agree wholeheartedly, and in fact I mentioned it as afterthought: &#8220;Somewhat randomly, I also wanted to take note of Kurt Bendl’s useful recipes for limiting the max KB and pixel dimensions of uploaded AT Images and Files.  This might be useful and/or worth exposing in a TTW setting.&#8221;  IOW, Plone already has this capability, it&#8217;s just buried very, very deeply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Robbins</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395105</link>
		<dc:creator>Julian Robbins</dc:creator>
		<pubDate>Wed, 03 Mar 2010 10:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395105</guid>
		<description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;Great idea, something that I think Plone could have done with a long while back !&lt;/p&gt;

&lt;p&gt;My only thought , is that with png&#039;s with transparency, you will not want them to be changed to jpeg&#039;s necessarily as you&#039;ll lose the transparency. It may be worth doing a check in the app, to see if your png or gif files has transparency and make a small flag of this in the results, so that the user doesn&#039;t automatically just select &#039;change to jpg&#039; for each png file.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Great idea, something that I think Plone could have done with a long while back !</p>
<p>My only thought , is that with png&#8217;s with transparency, you will not want them to be changed to jpeg&#8217;s necessarily as you&#8217;ll lose the transparency. It may be worth doing a check in the app, to see if your png or gif files has transparency and make a small flag of this in the results, so that the user doesn&#8217;t automatically just select &#8216;change to jpg&#8217; for each png file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hamilton</title>
		<link>http://jstahl.org/archives/2010/03/02/more-thoughts-on-automated-image-optimization-for-plone/comment-page-1/#comment-395104</link>
		<dc:creator>Matt Hamilton</dc:creator>
		<pubDate>Wed, 03 Mar 2010 09:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://jstahl.org/?p=2180#comment-395104</guid>
		<description>&lt;p&gt;Jon,
  A great idea. We have an AT field/widget here at Netsight called SuperImageField that does a number of things that we keep meaning to get around to releasing. This could be a good catalyst for this, and would be good to roll the functionality into the project you describe as I think they would fit nicely. It allows variable image compression, cropping to set sizes, watermarking, etc. Basically an accumulation of a number of features clients have wanted from us over the years. It ain&#039;t pretty, but I&#039;m sure we could sort it out ;)&lt;/p&gt;

&lt;p&gt;As for using ImageMagick as opposed to PIL... does it really give better quality? Alec, you are using PIL.Image.ANTIALIAS for resizes right? We already have PIL in Plone, and I&#039;d be a shame to have to imclude yet another dependancy unless really worth it.&lt;/p&gt;

&lt;p&gt;-Matt&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jon,<br />
  A great idea. We have an AT field/widget here at Netsight called SuperImageField that does a number of things that we keep meaning to get around to releasing. This could be a good catalyst for this, and would be good to roll the functionality into the project you describe as I think they would fit nicely. It allows variable image compression, cropping to set sizes, watermarking, etc. Basically an accumulation of a number of features clients have wanted from us over the years. It ain&#8217;t pretty, but I&#8217;m sure we could sort it out <img src='http://jstahl.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>As for using ImageMagick as opposed to PIL&#8230; does it really give better quality? Alec, you are using PIL.Image.ANTIALIAS for resizes right? We already have PIL in Plone, and I&#8217;d be a shame to have to imclude yet another dependancy unless really worth it.</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>

