PNG images in doc/hwdb-client/C/figures take too much space (more than 2.5 MB now !)

Bug #30069 reported by Mantas Kriaučiūnas
8
Affects Status Importance Assigned to Milestone
Baltix
Fix Released
Medium
Mantas Kriaučiūnas
hwdb-client (Ubuntu)
Fix Released
Low
Michael Vogt

Bug Description

PNG images in doc/hwdb-client/C/figures take too much space (more than 2.5 MB now !)

It's pretty strange problem - it seems png images in help are not compressed, because simple opening these images with gimp or gthumb and then saving (with the same name) reduces size of images about 5 times !

You can use pngcrush utility for reducing .png size without losing any
info in .png files :) I've reduced size of all images about 6 times (to ~680kb) with simple command:

pngcrush -d recompressed_figures/ doc/hwdb-client/C/figures/*.png

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

In Baltix GNU/Linux distribution I did
pngcrush -d recompressed_figures/ doc/hwdb-client/C/figures/*.png

Revision history for this message
Matt Zimmerman (mdz) wrote :

Confirmed, these images are much larger than they need to be.

Changed in hwdb-client:
assignee: nobody → ogra
status: Unconfirmed → Confirmed
Revision history for this message
cellarguy (cellar-dweller) wrote :

I think there is a problem with dapper's pngcrush. It's not up to date.

On the web, the latest version is
 pngcrush-1.6.3.tar.gz (as of 2006/05/01)

Running it on Dapper 6.06 I got this error message:
----
 pngcrush -d crushed *.png
Warning: versions are different between png.h and png.c
  png.h version: 1.2.7
  png.c version: 1.2.8

<snip blah blah>

pngcrush: relocation error: pngcrush: symbol png_read_data, version PNG12_0 not defined in file libpng12.so.0 with link time reference

Revision history for this message
Matt Zimmerman (mdz) wrote :

 hwdb-client (0.6-0ubuntu9) dapper; urgency=low
 .
   * help/C/figure/*.png:
     - applied pngcrush, saves 1,9 MB uncompressed

Changed in hwdb-client:
assignee: ogra → mvo
Revision history for this message
Michael Vogt (mvo) wrote :

I applied pngcrush on it and they are now only 750kb. Uploaded as 0.6-0ubuntu9

Changed in hwdb-client:
status: Confirmed → Fix Released
Przemek K. (azrael)
Changed in baltix:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.