[Digikam-devel] branches/stable/extragear/graphics/doc/digikamimageplugins

Gilles Caulier caulier.gilles at free.fr
Tue May 16 07:45:46 BST 2006


SVN commit 541393 by cgilles:

digikam from stable : optimization of DigikamImagePlugins handbook PNG files using pngnq tool.

Results :

before recompression : 21.696.614 bytes
after recompression : 7.468.602 bytes!

CCMAIL: digikam-devel at kde.org, ach at mpe.mpg.de

 M  +15 -7     README  
 M             adjustcurvesdialog.png  
 M             adjustcurvespreview.png  
 M             adjustlevelsdialog.png  
 M             adjustlevelspreview.png  
 M             antivignettingdialog.png  
 M             antivignettingpreview.png  
 M             blowupdialog.png  
 M             blowuppreview.png  
 M             blowupsettings1.png  
 M             blowupsettings2.png  
 M             blurfx_farblur.png  
 M             blurfx_focusblur.png  
 M             blurfx_frostglass.png  
 M             blurfx_mosaic.png  
 M             blurfx_motionblur.png  
 M             blurfx_radialblur.png  
 M             blurfx_shakeblur.png  
 M             blurfx_smartblur.png  
 M             blurfx_softenerblur.png  
 M             blurfx_zoomblur.png  
 M             blurfxpreview.png  
 M             borderpreview.png  
 M             channelmixerdialog.png  
 M             channelmixerpreview.png  
 M             charcoalpreview.png  
 M             cimg-logo.png  
 M             despeckledialog.png  
 M             despecklepreview.png  
 M             distortionfx_blockwaves1.png  
 M             distortionfx_blockwaves2.png  
 M             distortionfx_caricature.png  
 M             distortionfx_circularwaves1.png  
 M             distortionfx_circularwaves2.png  
 M             distortionfx_corners.png  
 M             distortionfx_cylinderh.png  
 M             distortionfx_cylinderhv.png  
 M             distortionfx_cylinderv.png  
 M             distortionfx_fisheyes.png  
 M             distortionfx_polarcoord.png  
 M             distortionfx_tiles.png  
 M             distortionfx_twirl.png  
 M             distortionfx_unpolarcoord.png  
 M             distortionfx_wavesh.png  
 M             distortionfx_wavesv.png  
 M             distortionfxpreview.png  
 M             distortions.png  
 M             embosspreview.png  
 M             filmgrainpreview.png  
 M             freerotationpreview.png  
 M             hotpixelsdialog.png  
 M             hotpixelspreview.png  
 M             infraredpreview.png  
 M             inpaintingdialog.png  
 M             inpaintingpreview.png  
 M             inpaintingsettings1.png  
 M             inpaintingsettings2.png  
 M             inserttextpreview.png  
 M             lensdistortiondialog.png  
 M             lensdistortionpreview.png  
 M             logo.png  
 M             oilpaintpreview.png  
 M             perspectivepreview.png  
 M             raindropspreview.png  
 M             refocus-notsharpened.png  
 M             refocus-refocus.png  
 M             refocus-sharped.png  
 M             refocus-unsharpmask.png  
 M             refocusdialog.png  
 M             refocuspreview.png  
 M             restorationdialog.png  
 M             restorationpreview.png  
 M             restorationpreview2.png  
 M             restorationsettings1.png  
 M             restorationsettings2.png  
 M             sheartoolpreview.png  
 M             solarizepreview.png  
 M             superimposepreview.png  
 M             texturedialog.png  
 M             texturepreview.png  
 M             unsharpdialog.png  
 M             unsharppreview.png  
 M             whitebalancedialog.png  
 M             whitebalancepreview.png  


--- branches/stable/extragear/graphics/doc/digikamimageplugins/README #541392:541393
@@ -3,10 +3,10 @@
 
 >>> How to Make Screenshot for Manual with Alpha Blending 3D Border <<<
 
-- Never use advanced color theme to make screenshots. Always use KDE default color.
+- Never use advanced color theme to make screenshots. Always use KDE default color and icon set.
 
-- Use KSnapshot for take a shot. Use region selection option for take only 
-  important area. Remove buttons and dialog hearder for limit image file size.
+- Use KSnapshot or Gimp Import to take a shot. Use region selection option to select only
+  important area. Remove buttons and dialog header to limit image file size.
   _ALWAYS use PNG file format to save image.
 
 - Open your screenshot in Gimp 2.0 and make operations below:
@@ -26,11 +26,19 @@
       -> Allow Resizing = On
    * Save target image in PNG with max compression (Compression Level = 9)
    
-Note : A gimp2.2 script from Gerhard Kulzer can be use to add Alpha Blending 3D Border around screenshots. 
+Note : A gimp2.[2,3] script from Gerhard Kulzer can be used to add Alpha Blending 3D Border around screenshots. 
        Always use default settings. Script can be downloaded from this url:
        
-http://digikam3rdparty.free.fr/Tools/printscreen-to-manual.scm
+http://digikam3rdparty.free.fr/Tools/printscreen-v2.2.scm
+http://digikam3rdparty.free.fr/Tools/printscreen-v2.3.scm
+
+!----------Important-------------!
+Since the documentation is very good it is also very demanding in terms of volume, 99% whereof are screenshots. In order to limit the byte count to the minimum the following command chain shall be used to reduce the png file size. A factor of 2-4 can be gained. From within the folder where the png reside issue this command (requires pngnq and optipng to be installed on the system):
+
+pngnq -s 1 ./*.png && optipng *-nq8.png && rename -f s/-nq8\.png/.png/ *-nq8.png
+
+
+Gilles Caulier <caulier dot gilles at kdemail dot net>
+Gerhard Kulzer <gerhard at kulzer dot net>
       
-Gilles Caulier <caulier dot gilles at free dot fr>      
-      
             
\ No newline at end of file



More information about the Digikam-devel mailing list