File talk:Flag of Bosnia and Herzegovina.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Category[edit]

{{editprotected}} Please change from Category:Blue and yellow flags to Category:Blue, white, yellow flags. --Smooth_O (talk) 13:09, 16 July 2010 (UTC)[reply]

Image page editing unprotected. User:Zscout370 (Return fire) 21:10, 16 July 2010 (UTC)[reply]

Simplify[edit]

{{Editprotected}} I simplified this flag but saw it's protected from reuploading.

@Admins: if you like the changes I've made, please change the code.

Changes:

  • better indentation, more legible
  • <use> tags for all the stars (including those at top and bottom)
  • XML attribute fill instead of the corresponding CSS attribute.

The resulting code is below:

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1000" height="500" viewBox="0 0 200 100">
<rect width="200" height="100" fill="#002395"/>
<path d="M 53,0 L 153,0 L 153,100 L 53,0 z" fill="#FECB00"/>
<path d="M 116.91604,94.060661 L 122.5,76.875 L 128.08396,94.060662 L 113.46496,83.439338 L 131.53504,83.439339 L 116.91604,94.060661 z" id="star" fill="white"/>
<use x="-87.5" y="-87.5" xlink:href="#star"/>
<use x="-75" y="-75" xlink:href="#star"/>
<use x="-62.5" y="-62.5" xlink:href="#star"/>
<use x="-50" y="-50" xlink:href="#star"/>
<use x="-37.5" y="-37.5" xlink:href="#star"/>
<use x="-25" y="-25" xlink:href="#star"/>
<use x="-12.5" y="-12.5" xlink:href="#star"/>
<use x="12.5" y="12.5" xlink:href="#star"/>
</svg>

--Ricordisamoa (talk but not stalk) 21:51, 30 December 2012 (UTC)[reply]

It can get even smaller than that. I once made this 533-byte code, but couldn't upload it either:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="400" viewBox="0 0 16 8">
<rect width="16" height="8" fill="#002395"/>
<path d="m4.24,0h8v8z" fill="#fecb00"/>
<g id="g">
<path d="M2.353283,0.5248529 2.8,-0.85 3.246717,0.524853 2.077197,-0.324853H3.522803z" fill="#fff" id="s"/>
<use xlink:href="#s" x="1" y="1"/>
<use xlink:href="#s" x="2" y="2"/>
</g>
<use xlink:href="#g" x="3" y="3"/>
<use xlink:href="#g" x="6" y="6"/>
</svg>
SiBr4 (talk) 10:54, 31 December 2012 (UTC)[reply]
It's also possible with exact stars (781 bytes):
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="400" viewBox="0 0 16 8">
<rect width="16" height="8" fill="#002395"/>
<path d="m4.24,0h8v8z" fill="#fecb00"/>
<g id="g">
<g transform="translate(2.8,-0.09)" id="s">
<g id="f">
<g id="t">
<path d="M0,-0.76V0H0.4z" fill="#fff" transform="rotate(18,0,-0.76)" id="o"/>
<use xlink:href="#o" transform="scale(-1,1)"/>
</g>
<use xlink:href="#t" transform="rotate(72)"/>
</g>
<use xlink:href="#t" transform="rotate(-72)"/>
<use xlink:href="#f" transform="rotate(144)"/>
</g>
<use xlink:href="#s" x="1" y="1"/>
<use xlink:href="#s" x="2" y="2"/>
</g>
<use xlink:href="#g" x="3" y="3"/>
<use xlink:href="#g" x="6" y="6"/>
</svg>
SiBr4 (talk) 11:41, 9 March 2013 (UTC)[reply]

The file, the colours...[edit]

We have official sources but still keep using some random colours... Aren't we trying to represent real flags? https://www.parlament.ba/Content/Read/233?title=OBosniIHercegovini --Koreanovsky (talk) 19:25, 20 March 2019 (UTC)[reply]

I have just had a look at the two files, and the current version of the flag appears to be using the following colours:
 
(#002395) for "blue" and
 
(#fecb00) for "gold".
while the official flag linked to by @Koreanovsky above uses the following colours:
 
(#1f4fa2) for "blue" and
 
(#fcd213) for "gold".
The difference between the colours is pretty stark, and I think we should favour the official version by default. However due to edit warring in the past I would rather other people commented on this possible change before I update the flag. Thanks, everyone, odder (talk) 10:47, 30 March 2019 (UTC)[reply]
I agree to update colors. These are way off. --5.43.74.95 18:50, 29 April 2019 (UTC)[reply]
Apparently the colors are supposed to be the same as those of the EU's flag. See here. – Illegitimate Barrister (talkcontribs), 23:44, 19 May 2019 (UTC)[reply]
I've uploaded a version with the EU flag's colors, here. – Illegitimate Barrister (talkcontribs), 20:32, 20 May 2019 (UTC)[reply]

Hollow stars and extra star halves[edit]

Stars are hollow when displayed in other formats such as .cdr after exporting from Illustrator as .eps. Those little parts inside should be united with surrounding to have full stars.

Also, there are halves of the upper and bottom starts which should be deleted (e.g. fix: divide upper and bottom star with one horizontal line and delete unnecessary parts). --5.43.74.95 18:50, 29 April 2019 (UTC)[reply]