<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; compress</title> <atom:link href="http://www.ghacks.net/tag/compress/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Caesium, Compresses Images, With Previews</title><link>http://www.ghacks.net/2010/07/27/caesium-compresses-images-with-previews/</link> <comments>http://www.ghacks.net/2010/07/27/caesium-compresses-images-with-previews/#comments</comments> <pubDate>Tue, 27 Jul 2010 08:34:54 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[caesium]]></category> <category><![CDATA[compress]]></category> <category><![CDATA[compress images]]></category> <category><![CDATA[image compressor]]></category> <category><![CDATA[windows software]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=28738</guid> <description><![CDATA[Images and photos can often be compressed to reduce their storage space requirements. If used with care, image compression can reduce file sizes of images and photos anywhere between 10% to 90%, without a visible loss in quality. Webmasters for instance need to make sure the images they post on their websites are optimized, to [...]]]></description> <content:encoded><![CDATA[<p>Images and photos can often be compressed to reduce their storage space requirements. If used with care, image compression can reduce file sizes of images and photos anywhere between 10% to 90%, without a visible loss in quality.</p><p>Webmasters for instance need to make sure the images they post on their websites are optimized, to avoid prolonged loading times for their visitors.</p><p>But compressing images can also be beneficial for other computer users, for instance before sending the latest holiday photos to friends and family.</p><p><span
id="more-28738"></span>Caesium is a lightweight image compressor that comes with all the bells and whistles one would expect.</p><p>The Open Source software needs to be installed before it can be used. Images are then loaded into the interface by clicking on the Add Files button in the main menu.</p><p>Each image is listed with its name, current file size and full path on the local computer system.</p><div
id="attachment_28739" class="wp-caption alignnone" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/image-compressor.png"><img
src="http://www.ghacks.net/wp-content/uploads/2010/07/image-compressor-300x300.png" alt="image compressor" title="image compressor" width="300" height="300" class="size-thumbnail wp-image-28739" /></a><p
class="wp-caption-text">image compressor</p></div><p>The lower half of the screen contains the image compression settings that are applied to the images during compression. The program will convert them by default into jpg images with a quality setting of 80%. Both the output format and the quality can be changed easily on the screen.</p><p>Additional options include the selection of an output directory, and an (optional) suffix.</p><p>A click on the preview button renders a preview image and displays it beneath the original image in the program interface.</p><p>This way it is possible to compare the original image with the compressed image, to see if there is the need for fine tuning the image compression settings.</p><p>Caesium displays the new size, ratio and quality next to the original image information. It is important to set the image container size to original under View > Image Container Size. The default image size is to small to compare the image&#8217;s quality thoroughly.</p><div
id="attachment_28740" class="wp-caption alignnone" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/compress-images.png"><img
src="http://www.ghacks.net/wp-content/uploads/2010/07/compress-images-300x300.png" alt="compress images" title="compress images" width="300" height="300" class="size-thumbnail wp-image-28740" /></a><p
class="wp-caption-text">compress images</p></div><p>A click on the compress button compresses the images in the queue, and either saves them in the same directory as the input images, or in the output directory location.</p><h3>Caesium Features</h3><blockquote><ul><li>Resize your pictures up to 90% preserving the file format. The software use an intelligent file compressing method.</li><li>Batch processing. Compress in a few second as pictures as you like.</li><li>Most common file format are supported. (JPG, BMP, PNG, GIF, WMF)</li><li>Easy preview, with a twin picture box that display the final result with a button.</li><li>Picture-by-picture compression level. You can set every single compression level at every picture.</li><li>Compression level can be set with an easy slider.</li><li>Drag&#038;Drop. Drop your pictures directly into the list.</li><li>Rename all files with a custom suffix.</li></ul></blockquote><p>Caesium does an excellent compression job most of the time. The standard output settings seem to work really well, and usually do not generate an output image of noticeable lower quality than the original. Depending on the original image, it can happen that the new compressed size of the image is in fact larger than the original size.</p><p>The Open Source software Caesium is available for download at the developer&#8217;s website over at <a
href="http://caesium.sourceforge.net/download.html">Sourceforge</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/07/27/caesium-compresses-images-with-previews/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Save disk space with UPX</title><link>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/</link> <comments>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/#comments</comments> <pubDate>Wed, 28 Apr 2010 13:11:32 +0000</pubDate> <dc:creator>Ronan Jouchet</dc:creator> <category><![CDATA[Hacking]]></category> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[compress]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[executables]]></category> <category><![CDATA[save]]></category> <category><![CDATA[space]]></category> <category><![CDATA[upx]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=24952</guid> <description><![CDATA[Disk space is cheap, but there are still situations where you&#8217;d like to reclaim space. For me, one of them is getting the maximum of the free Dropbox account I use to synchronize my applications between work and home. hey, don&#8217;t say my sysadmin I do this, he&#8217;d get a heart attack from the sole [...]]]></description> <content:encoded><![CDATA[<p>Disk space is cheap, but there are still situations where you&#8217;d like to reclaim space. For me, one of them is getting the maximum of the free Dropbox account I use to synchronize my applications between work and home. <em>hey, don&#8217;t say my sysadmin I do this, he&#8217;d get a heart attack from the sole thought of a virus among my tools collection</em>.</p><p>Of course {zip/rar}ing everything is a no-go; nobody wants to have to open an archive before being able to launch an application. So what?<br
/> <span
id="more-24952"></span>Enter UPX, the reference packer for executable files. UPX compresses executable files (mostly .exe and .dll under Windows), but contrarily to zip/rar/whatever, it keeps them executable, also preserving  their properties (icon, version&#8230;). All this at the cost of a completely unnoticeable performance hit when starting the application. Sounds good? Let&#8217;s compress everything executable in this Dropbox that is dangerously close to reaching its 2GB limit.</p><ol><li><a
href="http://upx.sourceforge.net/#download">Download UPX</a> from SourceForge and extract it to &lt;upxFolder&gt;.</li><li>Open a command prompt and browse to &lt;upxFolder&gt; (you can find the command prompt in Start &gt; Accessories or run it via Windows+R, then &#8220;cmd&#8221;. Use &#8220;cd FolderName&#8221; to navigate the filesystem).</li><li>Run upx.exe to have a look at the options available. I&#8217;ll use -9 but you can adjust this (for example if you feel a performance hit on an old machine &#8211;<em>I don&#8217;t</em>&#8211;), and -v to have verbose output. Now, navigate to the folder of a program you want to compress and run your freshly-baked command:<br
/> <code>"&lt;upxFolder&gt;\upx.exe" -9 -v *.exe *.dll</code><br
/> (replace &lt;upxFolder&gt; adequately, and keep the quotes around the path, or spaces will cause problems)</li><li>You&#8217;ll see the files being compressed, the compression ratio, as well as the occasional &#8220;<em>AlreadyPackedException: already packed by UPX</em>&#8220;, or &#8220;<em>CantPackException: .NET files (win32/net) are not yet supported</em>&#8220;, or &#8220;<em>IOException: read error: Invalid argument</em>&#8220;. These errors are all OK, UPX just notifies you that it left the file untouched.</li></ol><p>Woot, you already gained 50MB by just compressing big ol&#8217;Inkscape.<br
/> <a
rel="attachment wp-att-24921" href="http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/inkscape/"><img
class="alignnone size-full wp-image-24921" src="http://www.ghacks.net/wp-content/uploads/2010/04/inkscape.png" alt="" width="547" height="306" /></a></p><p>Of course you now want to do this on ALL the executables in a folder. But you&#8217;re lazy, and the perspective of running this line inside hundreds of subfolders leaves you bleak. Lucky you, I&#8217;m lazy too, so I dug <a
href="http://stackoverflow.com/questions/2043869/how-to-execute-a-windows-batch-command-recursively">Stack Overflow</a> to assemble a script that will do the operation recursively.</p><ol><li>Paste this in a text file (of course adjusting the main line like we did before) you will rename to something like upxRecursive.bat<br
/> <code>for /r /d %%x in (*) do (<br
/> pushd "%%x"<br
/> "&lt;upxFolder&gt;\upx.exe" -9 -v *.exe *.dll<br
/> popd<br
/> )<br
/> pause</code></li><li>Move this batch file inside your Dropbox folder, launch it and see the magic. This will take a long time on a big folder filled with executable files, but will seriously slim it down. In my case, I saved 400MB (from 1.7GB to 1.3GB), leaving me with plenty of space for more crap.</li></ol><p><strong>Final notes:</strong></p><ul><li>UPX has been in development for a long time and is praised for its extreme stability and reliability, but could possibly leave you with some exotic executable files that won&#8217;t run after compression. I personally never occurred to me, but accidents happen. In this case, use <code>"&lt;upxFolder&gt;\upx.exe" -d problematicFile.exe</code> to get an uncompressed version. Note it won&#8217;t be byte-identical, if you want to be able to get back to byte-identical versions, you should add the <code>--exact</code> switch at compression time.<br
/> By the way, the folks at <a
href="http://portableapps.com/">PortableApps.com</a> pack all the software they release with UPX. Reassured about its reliability?</li><li>People familiar with <a
href="http://en.wikipedia.org/wiki/Portable_Executable">the win32/pe format</a> will know that .exe and .dll are not its only valid extensions. The full list is &#8220;.exe .dll .cpl .ocx .sys .scr .drv&#8221;. However, I don&#8217;t recommend compressing sensitive files like control panel extensions or driver files, and this is why the line I suggest targets only dll and exe files. Compressing VLC is OK because you can reinstall it if UPX butchers it. Compressing critical software is not.</li><li>I&#8217;m just repeating my previous point, but don&#8217;t want to see angry comments from people doing crazy things with this. Again, <span
style="text-decoration: underline"><strong>don&#8217;t do this on all C: , it -will- wreck your system</strong></span>. Compress executables when you really need it, and inside folders containing only reinstallable applications if things go wrong.</li><li>UPX is multi-platform. My article focuses heavily on Windows because this is the platform where my use case comes from, but you can of course adjust this idea/script for Linux (plus you will probably have access to a saner scripting language than batch).</li><li><em><strong>EDIT</strong>: as pointed by John T. Haller in the comments, PortableApps offers <a
href="http://portableapps.com/apps/utilities/portableapps.com_appcompactor">AppCompactor</a>, a graphical frontend  that relies among others on UPX.</em></li></ul><p><em>Ronan is a geek and musician living in Montreal. He likes scaring wary sysadmins with 2GB folders full of false positives and writes about  software, music and life at <a
href="http://www.flyingmolehill.com/">flying  molehill</a>.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Krunch compress and uncompress your files online</title><link>http://www.ghacks.net/2006/05/30/krunch-online-compress-and-uncompress-your-files-online/</link> <comments>http://www.ghacks.net/2006/05/30/krunch-online-compress-and-uncompress-your-files-online/#comments</comments> <pubDate>Tue, 30 May 2006 19:57:12 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Online Services]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[archive]]></category> <category><![CDATA[compress]]></category> <category><![CDATA[krunch]]></category> <category><![CDATA[uncompress]]></category> <category><![CDATA[unpack]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2006/05/30/krunch-online-compress-and-uncompress-your-files-online/</guid> <description><![CDATA[Krunch is a nice little service that offers you the option to upload and compress files in three different formats (zip, rar and gzip). After compressing the file you have the option to download it for yourself and mail it to other recipients either with a download link to the file or directly as an attachment. The service offers the option to upload and decompress a compressed file in the formats zip, rar and tar.gz. It seems to have problems with my rar files though.]]></description> <content:encoded><![CDATA[<p>Krunch is a nice little service that offers you the option to upload and compress files in three different formats (zip, rar and gzip). After compressing the file you have the option to download it for yourself and mail it to other recipients either with a download link to the file or directly as an attachment. The service offers the option to upload and decompress a compressed file in the formats zip, rar and tar.gz. It seems to have problems with my rar files though.</p><p>Krunch offers two more options which make the site even more valuable. Unkrunch on web decompresses a compressed file that exists on a webserver on the web. You simply enter the url to the file and it will be decompressed. Last but not least you have the option to compress files on websites and download them as one big compressed file. Pretty useful if you don´t have access to such programs at your computer for instance.</p><p><span
id="more-525"></span></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2006/05/30/krunch-online-compress-and-uncompress-your-files-online/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
