* Diagram/Chart Performance
Diagram/Chart Performance
Hi all,
I recently found my diagrams and charts were taking much longer to load than previously. A little investigation showed the issue was with a couple of Country Flags I had created. I found that their size was over 320,000kb! Other Country Flags are in the range 1kb to 675kb. Regenerating these new flags to more reasonable size of around 250kb vastly improved the performance.
The Country Flags were created using IrfanView version 4.60 and were saved as .emf files.
I hope this tip may be of use to others.
I recently found my diagrams and charts were taking much longer to load than previously. A little investigation showed the issue was with a couple of Country Flags I had created. I found that their size was over 320,000kb! Other Country Flags are in the range 1kb to 675kb. Regenerating these new flags to more reasonable size of around 250kb vastly improved the performance.
The Country Flags were created using IrfanView version 4.60 and were saved as .emf files.
I hope this tip may be of use to others.
- tatewise
- Megastar
- Posts: 27079
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Diagram/Chart Performance
The FH V7 Icons library has a Flags folder with 250 country flags in .emf format and sized as you say from 1 KB to 675 KB.
Presumably, your flags are for some other countries not in that library.
Presumably, your flags are for some other countries not in that library.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Diagram/Chart Performance
Absolutely correct, Scotland and Wales.
Re: Diagram/Chart Performance
Perhaps they should be downloadable from the Knowledge Base Diagram icons possibly together with other reasonably sized flags for Ulster (6 & 9 county), Other Irish Provinces and British & Irish Counties? Perhaps we need a new icon group of "Irish/British sub 'UN-State' flags" - presumably added via the "Contribute > Add/Update a Download" Menu on the KB?
Ditto for US State flags etc.?
That would save others from downloading excessively sized "icons" from other sources?
Ditto for US State flags etc.?
That would save others from downloading excessively sized "icons" from other sources?
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Diagram/Chart Performance
I look forward to receiving them via Add/Update Download in due course...davidf wrote: ↑07 Dec 2022 14:15Perhaps we need a new icon group of "Irish/British sub 'UN-State' flags" - presumably added via the "Contribute > Add/Update a Download" Menu on the KB?
Ditto for US State flags etc.?
That would save others from downloading excessively sized "icons" from other sources?
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
Re: Diagram/Chart Performance
David2416,ColeValleyGirl wrote: ↑07 Dec 2022 14:42I look forward to receiving them via Add/Update Download in due course...davidf wrote: ↑07 Dec 2022 14:15Perhaps we need a new icon group of "Irish/British sub 'UN-State' flags" - presumably added via the "Contribute > Add/Update a Download" Menu on the KB?
Ditto for US State flags etc.?
That would save others from downloading excessively sized "icons" from other sources?
You seem to have Scotland and Wales
Wikipedia seem to have copyright clear flags at https://en.wikipedia.org/wiki/List_of_English_flags and associated flags.
These need converting to emf format (which is Microsoft proprietary!) - so I have to find linux programs or plug-ins to do the conversions - or persuade Irfanview to "play nicely" on Wine/PlayonLinux.
So how to co-ordinate?
Open a new forum topic and post suitably formatted flags (3 at a time) and then someone (me, you?) download them and zip them into sensible libraries and upload to the KB?
Suitable format means emf format, file size less than 1kB, resolution at least 64 by 64 pixels?
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Diagram/Chart Performance
David,
Open a topic in Maintaining the KB?
I'd be grateful if somebody other than me would handle most of the work... I certainly am not skilled enough to do the image conversion (especially bearing in mind the issues identified here re transparent backgrounds: 2021 Converted Icons (19216))
Open a topic in Maintaining the KB?
I'd be grateful if somebody other than me would handle most of the work... I certainly am not skilled enough to do the image conversion (especially bearing in mind the issues identified here re transparent backgrounds: 2021 Converted Icons (19216))
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
Re: Diagram/Chart Performance
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Re: Diagram/Chart Performance
I have resized/resampled my Scotland Flag and the Ecuador Flag to have a height of 60 pixels using IrfanView. They are now 18kb and 17kb respectively. They seem to perform satisfactorily.
you will need to change the extensions back to emf.
you will need to change the extensions back to emf.