To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66690
                 Issue #|66690
                 Summary|Optimise JPEG images in gallery
               Component|framework
                 Version|OOo 2.0.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|9point9





------- Additional comments from [EMAIL PROTECTED] Fri Jun 23 07:12:17 -0700 
2006 -------
Although this is an enhancement request, it comes with fix!

JPEG images that come with OOo can be optimised to reduce disk space and
download size and improve loading time of images (less disk access).  Although
very marginal (~160Kb) I have done this with this script:

#!/bin/bash
##########################################################################
# JPGshrink: Compress all JPEG's in directory to 85%, baseline/progressive
##########################################################################

for b in `ls *.jpg`
do
jpegoptim --strip-all $b
jpegoptim --strip-all -m85 $b
jpegtran -progressive -outfile $b $b
jpegoptim --strip-all $b
done

This takes all JPEG's in a directory and optimises their compression.  It does
this at 85% quality which is generally accepted as a decent level for high
quality images.  The images are encoded in either baseline or progressive JPEG,
whichever is smallest.  The series of operations gaurantees this as jpegoptim
will not overwrite a smaller file and does not output progressive JPEG's.

I will upload a ZIP of the revised JPEG's so it's an easy fix.  These can then
be packaged into OOo.

PS:  This really shouldn't be under subcomponent: code but there is nowhere else
to put it under framework.  Sorry.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to