<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: CLI tricks: Creating image thumbnails</title>
	<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/</link>
	<description>All About GNU/Linux and BSD - reviews, comparisons, articles</description>
	<pubDate>Wed, 20 Aug 2008 13:20:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: michuk</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-29367</link>
		<dc:creator>michuk</dc:creator>
		<pubDate>Fri, 11 May 2007 08:53:31 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-29367</guid>
		<description>New article about ImageMagick with a lot more info: &lt;a href="http://polishlinux.org/apps/graphics/enchanting-pictures-with-imagemagick/" rel="nofollow"&gt;Enchanting Pictures with ImageMagick&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>New article about ImageMagick with a lot more info: <a href="http://polishlinux.org/apps/graphics/enchanting-pictures-with-imagemagick/" rel="nofollow">Enchanting Pictures with ImageMagick</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josu Lazkano</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-16856</link>
		<dc:creator>Josu Lazkano</dc:creator>
		<pubDate>Wed, 21 Feb 2007 08:58:53 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-16856</guid>
		<description>how can I resize a lot of images inside a folder and that folder is near a lot of folder in other folder.

I don't know if you understand me, something like this:

foder1
└&#62;folder11
  └&#62;picture111
  └&#62;picture112
  └&#62;...
└&#62;folder12
  └&#62;picture121
  └&#62;picture122
  └&#62;...
└&#62;...

thanks</description>
		<content:encoded><![CDATA[<p>how can I resize a lot of images inside a folder and that folder is near a lot of folder in other folder.</p>
<p>I don&#8217;t know if you understand me, something like this:</p>
<p>foder1<br />
└&gt;folder11<br />
  └&gt;picture111<br />
  └&gt;picture112<br />
  └&gt;&#8230;<br />
└&gt;folder12<br />
  └&gt;picture121<br />
  └&gt;picture122<br />
  └&gt;&#8230;<br />
└&gt;&#8230;</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: warpman</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-3169</link>
		<dc:creator>warpman</dc:creator>
		<pubDate>Mon, 06 Nov 2006 23:01:53 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-3169</guid>
		<description>If you think it’s time for practical use call on to my Warpman’s WWW. I wrote three scripts: two to make screenshots and one to convert the pictures. The text describing the scripts is supplemented with a dozen or so screenshots. Have a nice reading and of course give ‘em a try!.
http://warpman.kv.net.pl/art/art_1037_txt_00.html
Regards.</description>
		<content:encoded><![CDATA[<p>If you think it’s time for practical use call on to my Warpman’s <a href="http://WWW." rel="nofollow" class="extlink">http://WWW.</a> I wrote three scripts: two to make screenshots and one to convert the pictures. The text describing the scripts is supplemented with a dozen or so screenshots. Have a nice reading and of course give ‘em a try!.<br />
<a href="http://warpman.kv.net.pl/art/art_1037_txt_00.html" rel="nofollow" class="extlink">http://warpman.kv.net.pl/art/art_1037_txt_00.html</a><br />
Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik Rambris</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2982</link>
		<dc:creator>Fredrik Rambris</dc:creator>
		<pubDate>Fri, 03 Nov 2006 14:40:42 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2982</guid>
		<description>A thing I did before creating my own thumbnailer was to use jpeglibs own scaler, which is very much faster than loading the whole image, scaling it down and then compressing it again.

djpeg -scale 1/8 $file &#124; cjpeg -outfile thumb_$file

Or if you want it to be an exact size but not one that is perfectly dividable with the original size you first scale it to approximatly that size with djpeg and then use pnmscale to do the final bit. It is faster than just using pnmscale or convert for that matter.

djpeg -scale 1/8 $file &#124; pnmscale -xysize 64 64 &#124; cjpeg -outfile thumb_$file</description>
		<content:encoded><![CDATA[<p>A thing I did before creating my own thumbnailer was to use jpeglibs own scaler, which is very much faster than loading the whole image, scaling it down and then compressing it again.</p>
<p>djpeg -scale 1/8 $file | cjpeg -outfile thumb_$file</p>
<p>Or if you want it to be an exact size but not one that is perfectly dividable with the original size you first scale it to approximatly that size with djpeg and then use pnmscale to do the final bit. It is faster than just using pnmscale or convert for that matter.</p>
<p>djpeg -scale 1/8 $file | pnmscale -xysize 64 64 | cjpeg -outfile thumb_$file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cultrocker</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2818</link>
		<dc:creator>cultrocker</dc:creator>
		<pubDate>Mon, 30 Oct 2006 14:52:46 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2818</guid>
		<description>Don't forget the -thumbnail option of convert. It is used to do exactly this. It changes the size of the image to the value specified and strips the unwanted meta infomation off of the jpeg files.

convert infile.jpg -thumbnail 240x180! outfile.jpg

When processing many large files use the -size hint at the begining of options list. This speeds up conversion because convert only reads the file until enough of the image data is available to produce the lower resolution image. Try this.

convert -size 240x180 infile.jpg -thumbnail 240x180! outfile.jpg

This can will run much faster since the complete input file is not read. From the docs;

"use this option to choose a particular resolution layer of a JBIG or JPEG image (e.g. -size 1024x768)"</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget the -thumbnail option of convert. It is used to do exactly this. It changes the size of the image to the value specified and strips the unwanted meta infomation off of the jpeg files.</p>
<p>convert infile.jpg -thumbnail 240&#215;180! outfile.jpg</p>
<p>When processing many large files use the -size hint at the begining of options list. This speeds up conversion because convert only reads the file until enough of the image data is available to produce the lower resolution image. Try this.</p>
<p>convert -size 240&#215;180 infile.jpg -thumbnail 240&#215;180! outfile.jpg</p>
<p>This can will run much faster since the complete input file is not read. From the docs;</p>
<p>&#8220;use this option to choose a particular resolution layer of a JBIG or JPEG image (e.g. -size 1024&#215;768)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michuk</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2808</link>
		<dc:creator>michuk</dc:creator>
		<pubDate>Mon, 30 Oct 2006 11:54:58 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2808</guid>
		<description>Thanks memals, I updated the article to include mogrify as well. I never use it though, since it overwrites the original file(s).</description>
		<content:encoded><![CDATA[<p>Thanks memals, I updated the article to include mogrify as well. I never use it though, since it overwrites the original file(s).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: memals</title>
		<link>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2807</link>
		<dc:creator>memals</dc:creator>
		<pubDate>Mon, 30 Oct 2006 11:42:34 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/cli-tricks-creating-image-thumbnails/#comment-2807</guid>
		<description>mogrify can do most of the simple convert commands and will operate on more than one file
mogrify -resize 200 *.jpg
if you have convert you will also have mogrify</description>
		<content:encoded><![CDATA[<p>mogrify can do most of the simple convert commands and will operate on more than one file<br />
mogrify -resize 200 *.jpg<br />
if you have convert you will also have mogrify</p>
]]></content:encoded>
	</item>
</channel>
</rss>
