Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Integrate useful gallery themes from the Symphony branch | ||
---|---|---|---|
Product: | Draw | Reporter: | Armin Le Grand <Armin.Le.Grand> |
Component: | configuration | Assignee: | Armin Le Grand <Armin.Le.Grand> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | issues, pescetti |
Version: | 4.0.0-dev | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Armin Le Grand
2012-11-26 13:40:11 UTC
ALG: Taking over for evaluation. Findings will be reported accordingly. ALG: I have the first working version. Added themes are: arrows (merged with existing) bullets computers diagrams education environment finance gallery_sound gallery_system people sounds symbols transportation txtshapes Install set sizes (Windows): original: 122 MB (128.229.180 bytes) modified: 142 MB (149.436.536 bytes) Thus, it costs currently ca. 20 MB. I am right now using pngcrush to reduce all contained *.png's old and new ones. Lets see what we can do. Suggested from Kevin: remove theme 'rulers'. Comments on that? ALG: Suggestion: Use better scaler (e.g. recently added lanzcos) for thumbnail production. Need to check where this is done and if this is possible... ALG: pngcrush could reduce the sizes for more than 50%, but the effect will not be that big for the install set since these files will be zipped to gether. The newly pached pngs zip less than before. Lets see where we land... ALG: After using pngcrush the install set is original: 122 MB (128.229.180 bytes) modified: 139 MB (146.700.786 bytes) 3 MB less, still 17 MB to go. This is an increase of 14% roughly. Cheking better thumbnails now... ALG: Added scale flag to SetSizePixel for all bitmap base classes to be able to control evtl. involved scaling. Added better quality scaling to thumbnail production for gallery. Building... ALG: Have now rearranged all themes by using lanzcos scaling fr thumbnail production (And AAing for painting vector data). Thsi makes all contents look much better. Checked rebuild, works well after install. ALG: The gallery thumbnails look much better now with high quality scaling, this is also used for all self-added new gallery entries, bitmap and vector ones. Now I'm looking into reducing file sizes of al *.png files bigger than 50k... "alg" committed SVN revision 1417535 into trunk: #121407# Gallery reorganizations and additions of new themes ALG: Comitted as revision 1417535. From the newsgroup: I have now reduced some of the biggest graphics (which had sizes up to 1700x1400) and got a size of the install set of: original: 122 MB (128.229.180 bytes) modified: 138 MB (145.384.769 bytes) Thus, with the new themes (with # of entries) arrows (68) bullets (merged with existing, 92, 30 new ones) computers (18) diagrams (108) education (13) environment (25) finance (42) people (52) symbols (90) transportation (14) textshapes (38) and the old themes www-back (62) www-graf (93) rulers (25) sounds (35) htmlexpo (48) we have an extra of 16 MB (17.155.589 bytes). That is an increase of 13,37885% for 498 new graphics. All entries are newly created (for better thumbnails). The thumbnail quality will be increased for all user-added stuff in the gallery, too. The user gets a good pre-installed amount and selection of graphics for all purposes. I propose to add it in that form; when the vector-based versions should show up later it is easy to replace these. ALG: One more thing: Make the gallery thumb creation use the usual standard background of grey/white tiling to make transparencies visible. ALG: More complicated than I thought - opened new task for it (#121445#). Leave this one as done. |