https://bugs.documentfoundation.org/show_bug.cgi?id=158623

            Bug ID: 158623
           Summary: a few templates thumbnails could use indexed colours
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Installation
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jerome.bo...@laposte.net

Created attachment 191343
  --> https://bugs.documentfoundation.org/attachment.cgi?id=191343&action=edit
In ODF templates, list of thumbnails images which could use indexed colours

I extracted the content of LibreOffice_7.6.4_Win_x86-64.msi with msiextract.

The share/template directory contains 369 kB of thumbnails which could use
indexed colours.

mkdir tmp && cd tmp
for f in $( find ../share/template -type f -iname '*.otp' -o -iname '*.ott' -o
-iname '*.ots' -o -iname '*.otg' ) ; do { rm -rf * && echo Into ${f}: && 7z x
-bb0 -bd ${f} > /dev/null && find . -iwholename '*/Thumbnails/thumbnail.png'
-type f -exec file {} \; | grep -iv colormap | sed 's/:.*$//' | xargs -I {} ls
-l {} ; } ; done > ../templates_thumbnails_without_indexed_colours.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to