You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/02/27 07:47:27 UTC

[Bug 57580] Optimize 'images.zip'

https://issues.apache.org/ooo/show_bug.cgi?id=57580

Rainer Bielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rainerbielefeld_ooo_qa@biel
                   |                            |efeldundbuss.de
             Latest|---                         |4.1-dev
    Confirmation on|                            |

--- Comment #12 from Rainer Bielefeld <ra...@bielefeldundbuss.de> ---
I wonder whether a cleanup already has bee done? I did some tests with very
imperfect tools and did not fine "zillions" if Identical files. But
nevertheless, found for "images.zip" osme possible duplicates:

(a) many imagename.png exist more than 1 time in the extracted file system.
    Examples: names_as_addressing.png 23 times, sc_underline.png 25 times
(b) A quick test with "sc_underline.png" shows that most of them have 
    different sizes, so they can't be identical. But I found several with
    identical size, let's take the ones with 408 bytes:
    ....\images\res\commandimagelist\sv\
    ....\images\res\commandimagelist\en-GB
    ....\images\res\commandimagelist\de
    ....\images\res\commandimagelist
    really look identical to me, show a capital underlined U
(c) so due to (b) there still might be some necessity for a cleanup?

(d) My test (WIN 7):
(d1) extract  "images.zip" (from "\share\config") to a new folder 
(d2) from console from folder to where "images.zip"
     has been extracted  do 'dir /s /w > dir.csv'
(d3) open "dir.csv" with calc, copy / paste all rows containing a .png
     to a new sheet
(d4) In a new column with function like "=COUNTIF(D$1:D$10000;D4745)" 
     in row 4745 list number of found files with that 
     particular name in D4745
(d5) search extracted folders for a name with duplicates, sort hits by
     file size and compare files with the same name and size
(e) may be there are more powerful tools to find duplicates?
    My tests are rather "expensive".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.