Warning: session_start(): open(/tmp/sess_eki42p7l1f69ca2noorocblfd0, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Optimise Compression openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (1) .- Knowledge Base  . 

Optimise Compression

   1.6  

KDE Service Menu

Score 71%
Optimise Compression
zoom


Link:  Link
Downloads:  1678
Submitted:  Nov 3 2004
Updated:  Jan 31 2009

Description:

This collection of KDE service menus allows you to *losslessly* optimise the sizes of various files. Possible use includes:

* creating smaller e-mail attachments
* speeding up your Web site (since the files will download faster)

The service menu files are as follows:

* optimise_png.desktop - for PNG files
* optimise_mng.desktop - for MNG files
* optimise_zip.desktop - for Zip-based files, including
- OpenOffice.org/StarOffice documents and templates (.sx?, .st?)
- OASIS OpenDocument (.od?, .ot?)
- Java archive (.jar)
- Mozilla extensions (.xpi)
* optimise_gzip.desktop - for GZip-based files, including
- AbiWord documents (.abw.gz, .zabw)
- DVI (.dvi.gz)
- PostScript (.ps.gz)
- bitmap fonts (.bdf.gz, .pcf.gz, .snf.gz)
- Tar (.tar.gz, .tgz)
- SVG (.svgz)
- VRML (.wrl.gz)

AdvanceCOMP [http://advancemame.sourceforge.net/comp-readme.html] is required to be installed for this functionality. In addition, PNG files may be optimised using OptiPNG [http://www.cs.toronto.edu/~cosmin/pngtech/optipng/]. Most PNG files are best optimised by running OptiPNG followed by AdvanceCOMP, but some are better optimised after using only one of these tools. Results will vary depending on the file.

Note that these processes are extremely CPU-intensive. If you have a slow system or are optimising many files at once you might prefer the "default" over the "maximum" optimisation options. The difference at the end is likely to be nominal. The processes run in the background, so you should be able to carry on with other tasks in the meanwhile.

In some cases, the AdvanceCOMP tools may deliver a CRC error and refuse to optimise the file. This does not damage the file.

To install, copy the .desktop files to ~/.kde4/share/kde4/services/ServiceMenus/

The service menus have been tested with KDE 4.1, but I believe they should work with earlier versions that support service menus.

NB: This project was formerly known as "Optimise PNG".




Changelog:

2009-01-31
Version 1.6
* Compatible with KDE4 (thanks to Pierre Buard)
* French translation (thanks to Pierre Buard)

2005-05-22
Version 1.5
* Better visual feedback:
- Output is displayed inside a konsole window
- A passive pop-up lets the user know that the process has commenced

2005-05-08
Version 1.4
* Added support for GZipped AbiWord (.abw.gz and .zabw), DVI (.dvi.gz), bitmap
fonts (.bdf.gz, .pcf.gz, .snf.gz), Tar (.tar.gz, .tgz), VRML (.wrl.gz),
OpenOffice.org/StarOffice documents and templates (.sx?, .st?), OASIS
OpenDocument documents and templates (.od?, .ot?), Java archive (.jar) and
Mozilla extensions (.xpi)
* split optimise_compression.desktop into optimise_gzip.desktop and
optimise_mng.desktop

2005-05-01
Version 1.3
* Added support for GZipped SVG (.svgz) files
* Performance enhancements:
- files are now processed sequentially rather than in parallel
- files are now processed in the background

2004-11-08
Version 1.2
* Renamed project to "Optimise Compression" to reflect feature enhancements
* Added support for Zip (.zip), GZip (.gz, including .tar.gz), and MNG (.mng)
files

2004-11-03
Version 1.0
* Named "Optimise PNG"
* Optimise PNG files only




LicenseGPL
Source(Optimise Compression 1.6)
Send to a friend
Subscribe
Other  Content  from Yama
Report inappropriate content



goto page:  1  2 

-

 havent tried yet

 
 by nuka on: Nov 3 2004
 
Score 50%

but how about a "do both" option?


Reply to this

-
.

 process information

 
 by eusonig on: Nov 3 2004
 
Score 50%

Some messages from the service menu could be useful.

The minimum will be a message box with the text "Process finish", as you can see in "Mount ISO image" service menu.


Reply to this

-

 Re: process informat

 
 by Yama on: Nov 4 2004
 
Score 50%

Good idea.

My initial hope was to display the advpng output in a terminal, but the "Terminal=true" option doesn't seem to work in service menus.

I'll see what I can do.


Reply to this

-
.

 Re: Re: process informat

 
 by Sebien on: Nov 4 2004
 
Score 50%

No.
A Finished dialog woun't be good for usbility because:
- You don't know it was started
- You are bored of the message needing a click

I propose you to put a progress dialog like Ark do.
Try it: right click an archive file and choose Actions -> Uncompress here.
A dialog with "animated progresbar" is shown during the uncompresing. And closed after!

Would be very good.

And no: showing the output of the Terminal is not very user friendly in a GUI environment


BasKet's (take notes and keep a full range of data on hand) author:
http://les83plus.free.fr/sebastien.laout/basket/indevel.html
http://kde-apps.org/content/show.php?content=10020

Reply to this

-

 Re: Re: process info

 
 by Vewyn on: May 14 2005
 
Score 50%

I found a solution that works for ME with this service menu. I was playing around with the PNG compression routines here because the service menu seemed to time out when using max compression. I wanted shell output to see if this was the case, as well as to see what the output results were for comparison. It was a simple matter of piping the command through "konsole". Here's how I modified the command syntax in the service menu file for OptiPNG-max:

Exec=konsole -T "OptiPNG Max Compression" --noclose --nomenubar --notoolbar -e nice -n18 optipng -preserve -o7 %F

For AdvanceCOMP-max:

Exec=konsole -T "AdvanceCOMP Max Compression" --noclose --nomenubar --notoolbar -e nice -n18 advpng -z -4 %F

For the user that was griping about using OptiPNG - Why don't you look at the command lines and just modify them, subbing in your own preferred tools instead of complaining about the authors choices? It's really not that difficult. I hope this info helps the author and users.


Reply to this

-
.

 Re: Re: Re: process

 
 by Yama on: May 15 2005
 
Score 50%

Thanks for letting me know. I had tried using "konsole -e" before (in KDE 3.3), but it didn't work. It seems to work well in KDE 3.4, so you can expect it to be in version 1.5.


PCLinuxOnline - Desktop GNU/Linux News
http://www.pclinuxonline.com

Reply to this

-

 pngcrush

 
 by asdex on: Nov 8 2004
 
Score 50%
asdexasdex
kein

I'm not impressed by the performance of AdvanceCOMP and OptiPNG.

OptiPNG shows really bad results while AdvancedComp shows results comparable to the older and reliable PNGCrush.

I don't know why I should use those programs.

Just save your large PNGs with "compression=9" (when using Gimp).


Reply to this

-

 Re: pngcrush

 
 by Yama on: Nov 9 2004
 
Score 50%

Applying OptiPNG followed by AdvanceCOMP on a PNG can deliver far superior compression over simply saving as compression=9, without any loss in quality. This is especially useful if you want to host a large picture on the Internet -- a smaller file will download faster.

OptiPNG is a (superior) replacement for (the seemingly unmaintained) Pngcrush. AdvanceCOMP is something completely different -- it converts the Ziv-Lempel compression to 7-Zip, thereby squeezing things even more.

Obviously nobody is forcing you to use these tools. If you don't have the patience to use these tools, don't use them. But it would be ridiculous to deny that they are capable of creating significantly smaller file sizes. They don't always (that depends on the properties of the file you are working on), but often they do.


Reply to this

-

 Re: Re: pngcrush

 
 by asdex on: Nov 10 2004
 
Score 50%
asdexasdex
kein

I have done different tests. Compared to pngcrush the results were not worth the "two-pass" pain. At least for me.


Reply to this

-
.

 Re: pngcrush

 
 by Yama on: May 15 2005
 
Score 50%

I have looked into pngcrush and I've concluded that it is not worth adding. The document "A guide to PNG optimisation" [http://www.cs.toronto.edu/~cosmin/pngtech/optipng.html] explains how OptiPNG outperforms pngcrush both in speed and in file size. Pngcrush has not been modified since 2002, so it is effectively a dead project. OptiPNG does optimisations in memory, and is able to overwrite the original file. Pngcrush must write to a separate file, making file conversions unnecessarily complicated (you need to manually delete the original file and rename the new one to take its place).


PCLinuxOnline - Desktop GNU/Linux News
http://www.pclinuxonline.com

Reply to this

-

 Re: Re: pngcrush

 
 by Vewyn on: May 17 2005
 
Score 50%

Yama: I'm not certain if it is necessary or even feasible to use OptiPNG before using AdvanceCOMP. In most of the cases I've come into thus far, AdvanceCOMP would produce a larger file when used after OptiPNG. It appears that on truecolor bitmaps, OptiPNG is producing a better result than AdvanceCOMP, but on greyscale images AdvanceCOMP is clearly producing a lower file size by itself. It looks like it now has the functions to reduce the color map according to the content, thus stacking it with OptiPNG doesn't seem to make alot of sense. Also, AdvanceCOMP does not want to accept 8-bit input (newest version - I don't know about older), so using OptiPNG beforehand is not even an option on some images.

The conclusion I come to is that each utility has it's strengths an weaknesses dependant upon which type of input you choose. AdvanceCOMP IS significantly faster than the other tools that go through the trial-and-error sequence to get the best file size possible.

For the other users speaking of other tools - pngcrush IS unfortunately outdated. I have been getting the same or better results out of OptiPNG and pngout. I'm not saying it's not good...I'm saying it's not the only good one.


Reply to this

-

 Re: Re: Re: pngcrush

 
 by Vewyn on: May 17 2005
 
Score 50%

Edit: AdvanceCOMP does work with 8-bit files, but not all.


Reply to this

-

 Re: pngcrush

 
 by Yama on: May 21 2005
 
Score 50%

Obviously, results will vary depending on the file you use. That is why I provide separate optipng and advancecomp options instead of lumping them them together into one command (as one user has requested). All I can suggest is that you experiment and find what's best for you.


PCLinuxOnline - Desktop GNU/Linux News
http://www.pclinuxonline.com

Reply to this

-
.

 Why on kde-look?

 
 by jstaniek on: May 8 2005
 
Score 50%
jstaniekjstaniek
Calligra / Kexi Team
Home

You're making garbage out of kde-look: please only add your application stuff for kde-apps.org, not to both.


regards,
Jarosław Staniek / Kexi Team

Reply to this

-
.

 Re: Why on kde-look?

 
 by Yama on: May 9 2005
 
Score 50%

What are you talking about? Service menus are automatically added to both kde-look and kde-apps.


Reply to this

-
.

 doesn\\\\\\\'t work for

 
 by phxguy on: May 22 2005
 
Score 50%

I get an error when i try to use the OptimisePNG

nice: optipng: No such file or directory

Any Ideas....


Reply to this

-

 Re: doesn\\\\\\\\\\\\\\\'t w

 
 by Yama on: May 22 2005
 
Score 50%

Do you have optipng installed into your PATH?


PCLinuxOnline - Desktop GNU/Linux News
http://www.pclinuxonline.com

Reply to this

-
.

 Script functionality

 
 by Vewyn on: Jun 12 2005
 
Score 50%

I haven't used the 1.5 version much since upgrading, so there is something I just noticed. I used to be able to select an antire directory of .png files and the service menu would pop up and let me optimise an entire directory. Now this functionality has been lost. I'm certain it's not with KDE because the previous version (1.4) of the service menu worked perfectly under it.


Reply to this

-
.

 Re: Script functiona

 
 by Vewyn on: Jun 12 2005
 
Score 50%

Nevermind the bug report - I didn't notice one single non-png file file in the directory and that was all it took to cause the problem.


Reply to this

goto page:  1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team