File talk:Flag of Portugal.svg

出典:ウィキメディア・コモンズ (Wikimedia Commons)
ナビゲーションに移動 検索に移動

Authorship[編集]

This version was authored by Vítor Luís Rodrigues and António Martins-Tuválkin under contract of the President of the Portuguese Republic, Dr. Jorge Sampaio, in June 2004. It was released in the public domain via the presidential website (archival copy) and was brought off line in February 2006 (one hour after the inaugural speech of new President Prof. Cavaco Silva) to be released again about one year later: See official page about the national flag.

This image was vectorially constructed with great care, based on the most authoritative source, the 1911 booklet Bandeira Nacional: Modelo approvado pelo Governo Provisorio da Republica Portuguesa, by Columbano Bordalo Pinheiro, author of the flag design (Imprensa Nacional: Lisboa, 1911.04; 1st ed.; 12 p.; 210×175(×3) mm).

62.48.171.17 19:13, 18 October 2006 (UTC) and 82.155.72.73 19:29, 20 January 2008 (UTC) (same guy as above) It was me, back before account unification. -- Tuválkin 03:21, 16 July 2013 (UTC)[返信]

Shade of green[編集]

The source given does not exist anymore. I am surprised to see the dark green colour of the flag. No flag I've seen in any shop in Portugal has this colour. The green is much brighter - Quistnix 10:21, 3 July 2006 (UTC)[返信]

A brighter version is in the file history. The last uploader does mention that he's used the recommended colours. Can you verify that? How do you propose to resolve this? Siebrand 20:54, 17 July 2006 (UTC)[返信]
The legal wording is «verde escuro» (dark green); this version follows it. This version, BTW, is more and more popular among flag manufactors, and there are now more and more dark green flags in use in Portugal (see here and here). The light green version become popular in the late 1980ies, following changes in the flag manufaturing techniques, which raised protests in favour of the legal specification (and tradition) for dark green. (The shade of red, BTW, is bright red — vermelho vivo.) 62.48.171.17 19:21, 18 October 2006 (UTC)[返信]


Shade of red[編集]

The red should be bright, see here: http://www.presidencia.pt/archive/img/bandeira_g.png I don't know how to revert the current edit, though 80.123.210.172 19:46, 20 June 2009 (UTC)[返信]

According to http://web.archive.org/web/20060306100913/http://presidenciarepublica.pt/pt/republica/simbolos/bandeiras/ (at the end), the darker color is more accurate for a Pantone replication. The current colors used do not match PMS to hex conversion from Pantone's converter, however, and should be updated. ¦ Reisio (talk) 21:04, 20 June 2009 (UTC)[返信]
Sigh… The very source you mention (which I personally know quite well, having been one of its two authors) expressly prescribes RGB values to be used on screen (ecrã, in Portuguese). Please keep PMS for fabric tints and paper inks, and use RGB to color your pixels. I’m going to change the SGV to the RGB values given on the quoted source — which are the only official RGB values for the Portuguese national flag.Tuvalkin (talk) 23:34, 19 January 2010 (UTC)[返信]
I am fine with that. User:Zscout370 (Return fire) 03:30, 20 January 2010 (UTC)[返信]
Hey, Z! Give the guys a hello for me, and tell ’em I’m still here and soon back there again! :-) Tuvalkin (talk) 20:14, 21 January 2010 (UTC)[返信]
Certainly. User:Zscout370 (Return fire) 05:20, 22 January 2010 (UTC)[返信]

File information[編集]

This file was marked as equivalent to w:Image:Portugal_flag_large.png from en.wikipedia.org according to the NowCommons tag.

This is the edit history for that file's page:

  • [2002-08-24T05:53:27Z] Scipius (Large flag of Portugal)
  • [2002-08-28T11:49:26Z] Scipius
  • [2004-11-18T16:08:21Z] 207.232.136.100
  • [2004-11-26T06:05:43Z] Neutrality ({{PD-Flag}})
  • [2005-03-18T01:06:06Z] Neutrality ({{PD-flag-national}})
  • [2005-03-31T11:24:04Z] Schaengel89
  • [2005-04-01T06:01:47Z] RedWolf (-{{delete}}; images moved to Commons do not qualify; +{{NowCommons}})
  • [2005-10-26T12:15:22Z] 193.137.77.47
  • [2005-11-13T05:21:00Z] Joaopais
  • [2005-12-05T02:28:58Z] 70.22.135.129 (Spelling of "which" corrected. Word cruxified added to end of sentence.)
  • [2006-01-15T14:35:11Z] Schaengel89
  • [2006-05-01T02:09:08Z] Rockero (bypass redirect)


Original title:

  • Portugal_flag_large.png


Upload log:

  • (del) (cur) 18:03, 6 May 2005 . . Mário (Talk | contribs) . . 648×432 (21,867 bytes) ({{PD-Flag}})
  • (del) (rev) 11:52, 29 April 2005 . . Mário (Talk | contribs) . . 453×302 (8,338 bytes) (Reverted to earlier revision)
  • (del) (rev) 11:52, 29 April 2005 . . Mário (Talk | contribs) . . 453×302 (8,338 bytes) (Reverted to earlier revision)
  • (del) (rev) 11:49, 29 April 2005 . . Mário (Talk | contribs) . . 648×432 (86,036 bytes) ({{NowCommons|Image:Portugal_flag_large.png}})
  • (del) (rev) 22:10, 22 June 2004 . . Romanm (Talk | contribs) . . 453×302 (8,338 bytes) (from CIA Factbook 2004)
  • (del) (rev) 05:53, 24 August 2002 . . Scipius (Talk | contribs) . . 451×302 (7,666 bytes) (Large flag of Portugal)

Flag “meaning”[編集]

I will remove the following text:

The green part of the flag symbolizes hope, while the red in the flag symbolizes the courage and bloodshed in combat. The golden armilar sphere represents the world discovered by the Portuguese during the 15th and 16th. The five small shields represent the five Moor Kings defeated by King D. Afonso I Henriques in the Battle of Ourique. The white dots represent the five nails with which Christ was crucified. The seven castles symbolize the castles D. Afonso Henriques conquered to the Moors.

This is a great sum up of all assorted urban legends built around the supposed “meaning” of the Portuguese national flag and coat of arms. Better search enlightment in the linked encyclopedia articles… ;-) 62.48.171.17 19:24, 18 October 2006 (UTC)[返信]

— I wouldn't call it urban legends. They're just meanings that "attach" themselves to flags as History evolves. That is, they were not originally there, but later on people came up with them, and they stuck. What's the problem with that? Some of those "urban legends" are quite old — older than most countries in the world, actually. For example, that same "meaning" of the 5 shields is registered in Os Lusíadas, III, 53-54 (our national epic, first published in 1572), and probably Luís de Camões didn't invent it. (BTW, in the same stance of Os Lusíadas the meaning of the white dots is different: counting them, but considering the center shield twice it makes up 30, the number of silver coins for which Judas sold Jesus. In I, 7 their meaning is close to the one you present: not 5 nails — traditionally you just see 3 nails in Christ's images — but the 5 wounds: hands, feet and chest.) For those who can read Portuguese, I suggest http://www.ship.pt/janela_historia/bandeiras/2_quinas.php for a critical, historical analysis of the "quinas", and http://pt.wikipedia.org/wiki/Bandeira_de_Portugal (Portuguese Wikipedia) — where at least you can see the number of elements varying over time. But even if the number of castles, shields and white dots was originally different (and even varied greatly without much worry), maybe these apocryphal legends contributed to them stabilizing in the number they presently have. Gazilion 13:29, 29 February 2008 (UTC)[返信]
Thanks! I agree that they should stay, but they should be labeled accordingly. Perhaps instead of describing it should just link to the corresponding Wikipedia page, though. Dr Victor Vasconcelos de Souza (トーク) 23:29, 10 July 2023 (UTC)[返信]

Missing color[編集]

I noticed (while working on Marinha_de_Portugal_(1911-1974,_Ministro).svg) that a color was missing on the flag of Portugal: gold was accidentally removed on 28 November 2009 on the lesser outer ring of the armillary sphere, causing some overlapping of the black lines. It's not a big problem, but it should be repaired. Kenavo!

I cannot see where’s the missing gold polygon — do you need help? Concerning Marinha_de_Portugal_(1911-1974,_Ministro).svg, pls. note that the shade of green should be dark, as on the national flag, thus RGB:0-102-0, not the regular medium green you’re using. Tuvalkin (talk) 17:59, 1 February 2011 (UTC)[返信]
The outer ring (like the horizontal and oblic circles) is divided in three parts, and it is the same for the gold color: you have the outer rim, the middle part, and the inner rim. The absence of the gold color for the inner rim is partly compensated by the gold of the middle part (drawn larger than necessary) and that's why we don't see it at first; but when zooming in (especially on the left side of the flag) it becomes clear. Or I have a problem with my version of Inkscape. Thank you for the data about the Portuguese ensign, I will modify the file. Ec.Domnowall (talk) 00:10, 2 February 2011 (UTC)[返信]
No other remarks after the new version. Bye! Ec.Domnowall (talk) 15:00, 2 February 2011 (UTC)[返信]

Replace with optimized[編集]

{{Editprotected}} Please replace File:OptiFlag of Portugal.svg. Palosirkka (talk) 07:11, 12 September 2012 (UTC)[返信]

Seems to be an improvement, after a cursory look. Disgarbaged code, but some layering and cloning retained, making derivatives still easy, as in the original. -- Tuválkin 10:31, 12 September 2012 (UTC)[返信]
 未完了 per this discussion. Rd232 (talk) 14:02, 1 November 2012 (UTC)[返信]
This new image has no vexillological difference, which was the rationale to keep this file protected. Zscout370, can you weigh in, replace the current bugged SVG version with this better SVG-lookalike, and keep it protected as before? -- Tuválkin 18:48, 8 November 2012 (UTC)[返信]
Even if the file wasn't being fought over in the terms of colors, it would have been locked for being a high-use image. As for the optimized version, I personally have no issues. I tend to cut down on the code anyways when it comes to SVG files. I am going to upload this new file. User:Zscout370 (Return fire) 07:35, 9 November 2012 (UTC)[返信]

{{Editprotected}} Please upload File:Flag of Portugal (simplified).svg here. I have reduced the SVG code by another 36 kB (74%) and fixed the last few validation warnings. SiBr4 (talk) 21:33, 20 August 2014 (UTC)[返信]

FWIW,  I agree with this replacement. -- Tuválkin 22:33, 20 August 2014 (UTC)[返信]
✓ 完了 --Steinsplitter (トーク) 12:24, 1 September 2014 (UTC)[返信]

Rendering[編集]

For some reason, the flags of Portugal and Syria don't render at certain sizes:

[[File:Flag of Portugal.svg|25x15px]]
[[File:Flag of the United Arab Republic.svg|25x15px]]

shows up in Firefox as

Flag of Portugal.svg
Flag of the United Arab Republic.svg

SiBr4 (talk) 16:55, 8 November 2012 (UTC)[返信]

Must be some problem in the SVG code. Try this:

code rendering

[[File:Flag of Portugal.svg|25x15px]]
[[File:OptiFlag of Portugal.svg|25x15px]]


One more reason to replace the current with File:OptiFlag of Portugal.svg, as per the discussion above. -- Tuválkin 18:42, 8 November 2012 (UTC)[返信]

Then what's wrong with the flag of Syria? SiBr4 (talk) 13:59, 9 November 2012 (UTC)[返信]
The flag shows up fine in Firefox (I use 16.0.2): . User:Zscout370 (Return fire) 17:54, 9 November 2012 (UTC)[返信]
I keep seeing a link to the file instead of the image. I also have FF 16.0.2. SiBr4 (talk) 17:58, 9 November 2012 (UTC)[返信]
Then I am not sure what it could be honestly. Does the code that Tuválkin post work for you? And does any other flag file, besides these two, break for you? User:Zscout370 (Return fire) 18:22, 9 November 2012 (UTC)[返信]
Those two were the only ones. Portugal now works fine though. SiBr4 (talk) 22:42, 9 November 2012 (UTC)[返信]
Both PT flags at 15px high look good for me now, but SY is still showing the alt text linked to the image. Maybe the fault is not in the SVG code itself, but in Mediawiki building the PNGs from there, subject to capricious variations? -- Tuválkin 22:08, 10 November 2012 (UTC)[返信]
I wrote the above before I noticed that ZScout had already replaced the SVG code. -- Tuválkin 22:51, 10 November 2012 (UTC)[返信]
I've uploaded File:Flag of Syria test.svg, which does work:
25x15px
Can File:Flag of the United Arab Republic.svg be replaced with this file? SiBr4 (talk) 19:51, 12 November 2012 (UTC)[返信]

Shields of the Portugese flag are missing[編集]

3 of the 5 shields are missing from the flag. Can you fix this flag 99.229.41.79 03:41, 9 March 2013 (UTC)[返信]

Nothing is missing. There are five escutcheons on the field of the main shield, as it is supposed. -- Tuválkin 15:53, 9 March 2013 (UTC)[返信]
If you don't believe him click on this link 174.91.69.179 18:18, 15 July 2013 (UTC)[返信]
I see the image in that link perfectly formed. This must be a rendering glitch that shows only for some people, depending on one’s settings. It will go away soon. -- Tuválkin 03:19, 16 July 2013 (UTC)[返信]

Categories[編集]

{{Edit request}} — Preceding unsigned comment was added by 86.158.174.203 (talk) 18:52, 3 July 2019 (UTC) This should go in Category:National flag of Portugal. — Preceding unsigned comment was added by 86.173.239.113 (talk) 09:29, 2 July 2019 (UTC)[返信]

Replacing the .svg of the Portuguese Flag with new .svg from Presidency of the Portuguese Republic website[編集]

Hello,

The file of the Portuguese Flag https://commons.wikimedia.org/wiki/File:Flag_of_Portugal.svg has long featured RGB colors that don't represent well the Portuguese Flag. The origin of the error came from the official Presidency of the Portuguese Republic website, because the person responsible did not translate well the cymk and Pantone tones to equivalent sRGB numbers. That being said, until recently it was difficult to argue for a replacement of the wikipedia .svg since the original was given by the Presidency of the Portuguese Republic department.

Now that the file was replaced in the official website of the Presidency of the Portuguese Republic ( https://www.presidencia.pt/media/povd31yj/bandeiranacional.svg see also: https://www.presidencia.pt/presidente-da-republica/a-presidencia/simbolos-nacionais/bandeira-nacional/ ) I am asking for someone with the right privileges to replace the current Wikipedia .svg with a new one that has the "better" colors. The file of the Presidency of the Portuguese Republic website has currently 680x453px which needs to be resized to 600x400px for a seamless replacement on Wikipedia.

Thank you. — Preceding unsigned comment added by C1618 (talk • contribs) 12:05, 2 May 2021 (UTC)[返信]

  • Guy, I’m the one who chose both the RGB and the CMYK numbers in that document and that was good enough for all the fussy experts on Design, Vexillology, Heraldry, and State Protocol Sampaio’s Casa Civil could hurl at it, including bigwigs from both the CHAAP and all three banches of the Armed Forces, incl. Gabinete de Heráldica do Exército. What do you have for us now? Replace it with some Web Colors 101 hackjob who could not even get the 3:2 proportions of the flag cloth straight?
For the record, all the while Vítor Luís and I were working on the matter, we considered only RGB values (decided as  #FF0000  and  #006600 ) for we were working primarily on (and for) screen. Later (already after we were hired by the Presidency to fix the matter, on the aftermath of the early 2004 Ronaldo’s pagoda flag “scandal” and the weird Multibanco ad image), based on those and on analysis of some reference material (Columbano’s 1911 booklet and reference cloth as used by the Portuguese Navy) we decided on the given PMS values (485 CVC and 349 CVC). Only at the very end and as an afterthought a CMYK equivalence (0-100-100-0 and 100-35-100-30) was agreed upon and added to the document (and against my wishes — on technical grounds, just like the creation of a JPEG version): Back in 2004 and indeed nowadays more so, there is little use for interacting directly with CMYK, even when working towards four-color hardcopy, as automated conversion works usually much better.
So, even if a simplistic and arguebly erroneous (and indeed even impossible) “conversion” from either CMYK or PMS CVC to RGB doesn’t match the given RGB values ( #FF0000  and  #006600 ), then it’s the former that should be changed, not the latter. (And that putative change wouldn’t affect the SVG file we host, anyway, as its color information is encoded as RGB values.)
(See similar past discussions at File talk:Flag of Portugal.svg. I’d add that this discussion doesn’t belong here at AN but on COM:VP or indeed on the file’s talk page.) -- Tuválkin 22:16, 2 May 2021 (UTC)[返信]
The above was copied from AN, apparently this diff, where it meanwhile was archived.
  • Hello, The key issue here is: what file should Wikipedia show? I would say it's the one in the official Presidency of the Portuguese Republic website
Concerning the erroneous comment about the translation cymk-RGB, I hope the following comparison clarifies why I thought the person responsible did not correctly translate the cymk and Pantone tones to equivalent RGB numbers.
I made a comparison of the files presently in the official Presidency of the Portuguese Republic website (08.05.2021) and the one in Wikipedia (08.05.2021) - please check Portuguese Flag - File Comparison and open the PDF.
Portuguese Flag - File Comparison
It appears that when one opens the Wikipedia file with a sRGB profile, the colours are off.
Are you claiming that the Flag on top right has the colours that one is supposed to see on the web? That the RGB colors from the table of http://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/index.html are intended to be seen on a sRGB profile? And if so, why were such different cymk and Pantone tones chosen? (I am just curious, this is not the main issue.)
-
Still, and again to emphasise, what is important here is which file should Wikipedia show? One that draws from the original one of the official Presidency of the Portuguese Republic website ( https://www.presidencia.pt/media/povd31yj/bandeiranacional.svg ) or one that editors on Wikipedia find better (and if so, which editors)? It seems to me that the former makes more sense, but I’m not a veteran of Wikipedia…
Side note: I have nothing to do with the mentioned official entities nor the work done by them -- C1618
  • Hello, sorry for the double comment. Just to add:
When one meddle trough the archive of https://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/index.html one can open the PDF ( https://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/bandeira/bandeira.pdf ) and the WMF file, both with an sRGB profile imbedded. And indeed the colors of the SVG seems to be exported to be opened on a cymk profile not an sRGB profile. That’s perfectly normal since the most vectorial programs like Illustrator or CoreDraw or Affinity Publisher use as default working profile a cymk profile.
The only file that renders similarly as the Wikipedia file when opened directly on sRGB (like it’s interpreted from browsers) is the .JPG from Jorge Sampaio archives of the official Presidency of the Portuguese Republic website. All other ones are indeed very different.
All this means means that the colors of SVG will be rendered strangely if read directly to sRGB (see agian the top right image of the Portuguese Flag - File Comparison and compare to bottom left image).
I think we my have a case to:
1: replace the current .svg with the .svg of the official Presidency of the Portuguese Republic website (but this one uses the cymk colors as source, not the RGB colors).
2: add a cymk profile to the current .svg and hope that the browsers will respect that profile (and if so which one? The site of the official Presidency of the Portuguese Republic doesn’t state which colour profiles should be used).
3: convert the .svg to an sRGB profile because that’s today the standard on the web and leave the sRGB profile attached to the .svg. This conversion already exists on the archives of the official Presidency of the Portuguese Republic website (in the form of an .WMF file and of PDF) so there is no need to use or discuss other conversions. Those files could be used as reference *1. And the PDF of the Jorge Sampaio archives of the official Presidency of the Portuguese Republic website clearly states that is a final version (“vectorial com objectos originais desmontados, não editáveis; integrado em documento para utilização final ou para integração posterior.”).
Although it may not be consensual I would prefer the option 3. The reason for that is Wikipedia status of being the source for everything. Most people doesn’t even know what a colour profile is and will use the .svg in a wrong way. If translated already to sRGB codes (like the .WMF and PDF of the archives already are: https://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/bandeira/bandeira.wmf.zip ) the colors will be right almost every time someone uses the file from Wikipedia.
I changed the colours of wikipedia .svg with the colours of the PDF from https://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/bandeira/bandeira.pdf (I didn’t use the vector of PDF because the .svg from Wikipedia has better shapes) to here: https://commons.wikimedia.org/wiki/File:Flag_of_Portugal_Wiki_sRGB_Colors_Black0-0-0.svg with black as 0-0-0 and here https://commons.wikimedia.org/wiki/File:Flag_of_Portugal_Wiki_sRGB_Colors_Black28-32-36.svg with black as the original from PDF (*1).
The original file for upload is on 600x400px. Wikipedia seems to show another size, although if one download it, the size is right. The file is not optimized for size like the one of Wikipedia.
@Tuválkin you claim to known Vítor Luís, the technician behind the production of the files of the archive of Jorge Sampaio's Website . Can you ask him to state something about this matter? Which version should produce on sRGB the intended colours for the flag? this one: https://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/bandeira/bandeira.jpg or this one: https://jorgesampaio.arquivo.presidencia.pt/pt/republica/simbolos/bandeiras/bandeira/bandeira.pdf ?
*1 For the record the colours of the flag on the .WMF and PDF with an sRGB profile are:
Red: 213-46-37
Green: 5-112-68
Yellow: 249-222-32
White: 255-255-255
Blue: 34-60-129
Black: 28-32-36
Side note: One can see the flag in Bandeira Nacional: Modelo approvado pelo Governo Provisorio da Republica Portuguesa on page 13. The digitalization is from Portuguese Parliament Library.
C1618 (トーク) 16:39, 9 May 2021 (UTC)[返信]
  • @C1618: claim to»…?!) Está-se me a escassear a paciência, pá. Eu, António Fernando Lopes Escudeiro Pereira Martins, t.c.c António Martins-Tuválkin, sou co-autor, junto com Vítor Luís Rodrigues, do documento produzido em Junho de 2004 para o gabinete de comunicação do Casa Civil da Presidência da República Portuguesa. Este foi fruto de um trabalho que vínhamos a desenvolver desde o final da década anterior, inicialmente como um projeto pessoal. Somos amigos próximos desde 1998 e ambos praticámos profissionalmente a produção informática de imagens numa época em que esta era uma atividade pioneira. Não é verdade que o Vítor Luís seja «o técnico responsável»: somos os dois e efetivamente os ficheiros entregues foram preparados por mim com base em originais CDR de autoria conjunta e indistinta (tendo o ficheiro PDF sido criado por terceiros). Os ficheiros que estão hoje arquivados no espelho do saite da era Sampaio não correspondem plenamente aos originais entregues, como se pode ver p. ex. ficheiro CDR que foi originalmente exportado como v.8 para máxima retrocompatibilidade mas que a partir da era Cavaco foi convertido para v.12 (sem alteração do texto). Já expliquei que as cores escolhidas para visualização em ecrã são primária e explicitamente  #FF0000  e  #006600  — tudo o resto são artefactos de exportação e conversão, e não têm qualquer validade no contexto do apadrinhamento deste desenho pela Presidência em 2004: Nunca verificámos o código interno do WMF (de lembrar que até à popularização do formato SVG, havia bem pouco controlo por parte do utilizador e fraca fiabilidade na exibição em ecrã dos fomatos vetoriais mais correntes) e menos ainda do PDF. O CorelDraw foi por nós usado por ser a ferramenta que preferíamos para desenho de qualidade, não por confiarmos na maneira como guarda valores cromáticos nos seus ficheiros, e a escolha das cores foi testada com o Photoshop (em vários monitores). Não tenho mais nada de substancial a acrescentar: quando a cor preto surge expressa como  #1C2024  em vez de  #000000  é óbvio que houve erro de conversão… -- Tuválkin 14:43, 10 May 2021 (UTC)[返信]
  • Acerca da frase: «vectorial com objectos originais desmontados, não editáveis; integrado em documento para utilização final ou para integração posterior», referente ao PDF — o que eu quis dizer é que recomendávamos que quem quisesse fazer recortes de vinil ou qq coisas assim deveria usar o CDR ou o WMF e usar o PDF só para integração sem alterações, digital ou mesmo em hard copy (isto numa altura em que pouca gente tinha acesso ao Adobe Destiller e exportação/importação PDF a partir de outras aplicações era coisa rara). De forma alguma essa frase implica que o conteúdo desse PDF (que nem sequer foi exportado por nós, por “questões de calendário”) fosse mais autoritativo do que o texto principal do documento, por nós assinado, e que preconiza os valores cromáticos indicados. -- Tuválkin 15:34, 10 May 2021 (UTC)[返信]

Edit request 23 Febuary 2023[編集]

このページは保護ページの編集依頼に出されています。 管理者の方は、対処完了後、このテンプレートを<nowiki>か{{Tl}}に置き換えてください。

Tuvalkin

Hi. I got even newer implementation for File:Flag of Portugal.svg, in which I rework the white bezants as single element to lighten the file structure. Can you apply the change there? Thanks.

Click to see the source code
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="600" height="400">
	<rect width="600" height="400" fill="#f00"/>
	<rect width="240" height="400" fill="#060"/>
	<g fill="#ff0" fill-rule="evenodd" stroke="#000" stroke-width="0.573" stroke-linecap="round" stroke-linejoin="round">
		<path d="m318.24,262.04c-30.21-0.91-168.74-87.38-169.69-101.15l7.6496-12.757c13.741,19.966,155.36,104.06,169.27,101.08l-7.2299,12.823"/>
		<path d="m154.59,146.4c-2.7101,7.2937,36.149,31.318,82.903,59.754,46.752,28.434,87.065,46.006,90.053,43.486,0.18256-0.32544,1.4701-2.5409,1.352-2.5232-0.56001,0.84402-1.9234,1.1104-4.0506,0.49741-12.631-3.6433-45.575-18.765-86.374-43.506-40.798-24.743-76.294-47.544-81.811-57.232-0.38363-0.67116-0.65702-1.8962-0.60146-2.8487l-0.13405-0.002-1.1747,2.0532-0.16139,0.32191h-0.00088zm164.36,116.04c-0.51238,0.92957-1.4675,0.96044-3.2816,0.76112-11.3-1.2506-45.589-17.925-86.162-42.213-47.21-28.26-86.2-54.01-81.97-60.74l1.1509-2.0346,0.22665,0.0706c-3.8037,11.405,76.948,57.578,81.702,60.522,46.724,28.947,86.115,45.851,89.601,41.458l-1.2682,2.181v-0.002z"/>
		<path d="m240.17,169.23c30.237-0.23901,67.55-4.1319,89.023-12.69l-4.6265-7.5168c-12.692,7.0247-50.21,11.644-84.652,12.335-40.736-0.37483-69.49-4.1681-83.897-13.835l-4.3672,8.0045c26.484,11.207,53.623,13.587,88.52,13.703"/>
		<path d="m330.44,156.71c-0.73904,1.1818-14.743,6.0113-35.373,9.5753-13.988,2.1325-32.234,3.9555-55.004,3.9776-21.633,0.0203-39.305-1.5196-52.684-3.3329-21.656-3.3955-32.833-8.1201-36.965-9.7896,0.39509-0.78581,0.64908-1.337,1.0301-2.0708,11.895,4.736,23.124,7.5918,36.279,9.6158,13.291,1.8,30.75,3.362,52.276,3.3417,22.664-0.0229,40.709-1.9844,54.616-4.0534,21.155-3.4122,32.711-7.8034,34.334-9.8425l1.494,2.5788h-0.002zm-4.0603-7.6226c-2.293,1.8415-13.718,5.8932-33.819,9.1034-13.415,1.9226-30.472,3.6433-52.265,3.6645-20.704,0.0203-37.619-1.375-50.485-3.2491-20.414-2.6661-31.279-7.4754-35.196-8.8776,0.3898-0.67381,0.78666-1.3423,1.1941-2.0135,3.0479,1.5346,13.533,5.7909,34.226,8.7224,12.72,1.8036,29.661,3.1477,50.262,3.1265,21.69-0.0221,38.553-1.7762,51.883-3.6883,20.205-2.7799,31.077-7.9472,32.728-9.241l1.4728,2.4509v0.002z"/>
		<path d="m140.88,205.66c18.598,10.003,59.905,15.044,98.994,15.391,35.591,0.0564,81.958-5.5016,99.297-14.69l-0.47712-10.012c-5.4246,8.4773-55.113,16.609-99.206,16.276-44.093-0.3325-85.038-7.1429-98.687-15.959l0.0794,8.9914"/>
		<path d="m340.12,204.22,0.00088,2.3874c-2.606,3.1159-18.946,7.8255-39.437,11.142-15.595,2.391-35.927,4.1945-61.262,4.1945-24.069,0-43.263-1.7163-58.148-4.0014-23.529-3.4264-38.579-9.4262-41.6-11.217l0.0132-2.7852c9.0748,6.0334,33.661,10.447,41.917,11.798,14.788,2.2701,33.868,3.9732,57.817,3.9732,25.216,0,45.434-1.7912,60.931-4.1663,14.701-2.1237,35.644-7.6465,39.767-11.324h0.00088zm0.01-8.4922,0.00088,2.3874c-2.606,3.1142-18.946,7.8237-39.437,11.14-15.595,2.391-35.927,4.1945-61.262,4.1945-24.069,0-43.263-1.7145-58.148-4.0014-23.529-3.4246-38.579-9.4245-41.6-11.216l0.0132-2.7852c9.0748,6.0325,33.661,10.447,41.917,11.796,14.788,2.2719,33.868,3.9758,57.817,3.9758,25.216,0,45.434-1.7921,60.931-4.169,14.701-2.1237,35.644-7.6465,39.767-11.324l0.00088,0.002z"/>
		<path d="m239.79,260.32c-42.772-0.25489-79.421-11.659-87.16-13.544l5.6433,8.8344c13.67,5.7503,49.424,14.32,81.927,13.371,32.504-0.94809,60.91-3.466,80.928-13.211l5.7862-9.1555c-13.642,6.425-60.068,13.639-87.125,13.705"/>
		<path stroke-width="0.55" d="m323.3,253.72c-0.85016,1.2991-1.7171,2.5823-2.5963,3.8294-9.4417,3.3293-24.319,6.8245-30.597,7.844-12.824,2.6423-32.665,4.594-50.274,4.6029-37.89-0.55474-68.905-7.9719-83.496-14.299l-1.1773-2.0241,0.19225-0.30427,1.9966,0.77435c25.948,9.2834,55.091,12.987,82.698,13.652,17.538,0.0617,35.095-2.01,49.292-4.5491,21.771-4.3621,30.574-7.65,33.275-9.1405l0.68701-0.38541h-0.00088zm5.0172-8.2753c0.022,0.0256,0.0441,0.0503,0.0653,0.0776-0.63585,1.0733-1.2911,2.1652-1.9622,3.2623-5.0357,1.8-18.702,5.7988-38.659,8.5893-13.149,1.7912-21.322,3.526-47.479,4.034-49.015-1.2471-80.75-10.831-88.289-13.195l-1.1174-2.1431c28.406,7.4154,57.422,12.592,89.408,13.121,23.931-0.50976,34.112-2.2719,47.152-4.0499,23.271-3.6186,34.996-7.4498,38.515-8.5558-0.0441-0.0635-0.0961-0.13053-0.15433-0.19932l2.5231-0.9428-0.002,0.002z"/>
		<path d="m328.83,197.76c0.13873,28.137-14.26,53.386-25.858,64.525-16.408,15.759-38.163,25.896-63.569,26.363-28.37,0.52117-55.12-17.974-62.295-26.099-14.028-15.885-25.449-36.057-25.815-63.243,1.7376-30.709,13.793-52.1,31.268-66.769s40.743-21.813,60.121-21.302c22.358,0.59003,48.475,11.558,66.521,33.332,11.823,14.266,16.943,29.748,19.627,53.193zm-89.186-96.342c54.485,0,99.296,44.338,99.296,98.703,0,54.364-44.811,98.704-99.296,98.704s-98.924-44.339-98.924-98.704,44.439-98.703,98.924-98.703"/>
		<path d="m239.91,101.08c54.534,0,99.011,44.483,99.011,99.022,0,54.538-44.478,99.02-99.011,99.02-54.534,0-99.011-44.481-99.011-99.02s44.478-99.022,99.011-99.022zm-96.832,99.0224c0,53.26,43.736,96.842,96.832,96.842,53.097,0,96.833-43.582,96.833-96.842,0-53.262-43.737-96.844-96.833-96.844s-96.832,43.584-96.832,96.844z"/>
		<path d="m239.99,109.31c49.731,0,90.693,40.821,90.693,90.704,0,49.884-40.963,90.703-90.693,90.703s-90.693-40.819-90.693-90.703c0-49.883,40.964-90.704,90.693-90.704zm-88.515,90.7034c0,48.685,39.979,88.524,88.515,88.524s88.515-39.839,88.515-88.524c0-48.686-39.978-88.525-88.515-88.525-48.536,0-88.515,39.839-88.515,88.525z"/>
		<path d="m243.98,100.68-8.48545,0,0.01,198.96,8.51455,0z"/>
		<path d="m243.13,99.546h2.1598l0.0185,201.25h-2.1616l-0.0159-201.25zm-8.4213,0.0018h2.1766l0.003,201.25h-2.1783v-201.25z"/>
		<path d="m338.99,203.935,0-7.3554-5.99-5.58-34-9-49-5-59,3-42,10-8.48,6.28,0,7.3572l21.48-9.637,51-8h49l36,4,25,6z"/>
		<path d="m239.95,184.77c23.383-0.0432,46.07,2.2154,64.065,5.7194,18.569,3.7121,31.637,8.3556,36.105,13.571l-0.005,2.5823c-5.3884-6.4902-22.973-11.248-36.518-13.968-17.858-3.474-40.393-5.7168-63.647-5.6736-24.538,0.0459-47.387,2.3698-64.984,5.8032-14.12,2.8019-32.951,8.3679-35.302,13.858v-2.689c1.2911-3.8003,15.313-9.4792,34.984-13.417,17.729-3.4572,40.62-5.7415,65.302-5.7864zm0.01-8.4922c23.383-0.0423,46.07,2.2172,64.065,5.7194,18.569,3.7139,31.637,8.3556,36.105,13.571l-0.005,2.5823c-5.3884-6.4885-22.973-11.247-36.518-13.966-17.858-3.4757-40.393-5.7185-63.647-5.6736-24.538,0.0441-47.276,2.3698-64.875,5.8014-13.626,2.5832-33.226,8.3696-35.412,13.86v-2.6908c1.2911-3.7588,15.597-9.6414,34.985-13.417,17.729-3.4572,40.62-5.7397,65.302-5.7864z"/>
		<path d="m239.48,132.96c36.849-0.18433,68.99,5.1523,83.695,12.685l5.3638,9.279c-12.781-6.888-47.456-14.05-89.005-12.979-33.854,0.20814-70.027,3.7271-88.176,13.41l6.4035-10.709c14.895-7.7241,50.022-11.643,81.72-11.684"/>
		<path d="m239.97,140.62c21.017-0.0556,41.325,1.1298,57.476,4.0437,15.041,2.7993,29.385,7.0009,31.436,9.2604l1.5901,2.8099c-4.9881-3.257-17.401-6.8836-33.339-9.906-16.006-3.0083-36.3-4.0049-57.2-3.9502-23.722-0.0811-42.152,1.1712-57.969,3.9291-16.728,3.13-28.334,7.6015-31.197,9.7261l1.5583-2.9704c5.5631-2.8381,14.39-6.2592,29.223-8.9297,16.357-2.988,34.983-3.8841,58.423-4.0128h-0.00088zm-0.009-8.4843c20.113-0.0529,39.972,1.068,55.452,3.8506,12.209,2.3768,24.283,6.0872,28.704,9.3892l2.3256,3.6954c-3.9536-4.3947-18.836-8.5593-31.974-10.892-15.361-2.6494-34.395-3.698-54.508-3.8656-21.108,0.0591-40.615,1.352-55.752,4.1081-14.441,2.7481-23.76,6.0016-27.703,8.5425l2.0451-3.0868c5.4414-2.8646,14.232-5.4954,25.303-7.6465,15.249-2.7764,34.876-4.0358,56.108-4.0949z"/>
		<path d="m289.15,241.26c-18.218-3.4008-36.469-3.8947-49.217-3.7447-61.407,0.71967-81.244,12.609-83.665,16.209l-4.5894-7.4815c15.634-11.332,49.073-17.687,88.587-17.037,20.518,0.33602,38.224,1.6986,53.119,4.5835l-4.2358,7.4727"/>
		<path stroke-width="0.55" d="m239.58,236.46c17.082,0.25488,33.849,0.96044,50.033,3.9784l-1.172,2.069c-15.031-2.7746-31.055-3.8365-48.803-3.75-22.663-0.17727-45.585,1.9394-65.541,7.6668-6.2968,1.7524-16.721,5.8006-17.784,9.1458l-1.1659-1.9226c0.33601-1.9773,6.6363-6.081,18.414-9.3901,22.858-6.5458,44.239-7.6491,66.019-7.799v0.002zm0.77519-8.5963c17.698,0.33073,35.975,1.1492,53.74,4.6681l-1.2206,2.1537c-16.042-3.1847-31.369-4.2466-52.415-4.5702-22.735,0.0414-46.851,1.6625-68.778,8.0372-7.0791,2.062-19.297,6.5202-19.704,10.05l-1.1659-2.0655c0.26545-3.2059,10.842-7.388,20.358-10.156,22.096-6.4241,46.275-8.076,69.186-8.1174z"/>
		<path d="M327.58,247.38,320.201,258.829,299,240,244,203,182,169,149.81,157.99,156.67,145.27,159,144l20,5,66,34,38,24,32,23,13,15z"/>
		<path d="m148.65,158.29c5.646-3.8294,47.139,14.655,90.555,40.834,43.301,26.254,84.677,55.921,80.942,61.473l-1.2285,1.9323-0.56354,0.4445c0.12083-0.0864,0.74345-0.84755-0.0609-2.906-1.8449-6.0704-31.195-29.491-79.894-58.895-47.475-28.309-87.041-45.371-90.997-40.494l1.247-2.3892h-0.00089zm180.44,88.927c3.57-7.052-34.916-36.044-82.632-64.272-48.813-27.666-83.994-43.951-90.42-39.095l-1.4278,2.5991c-0.0124,0.14287,0.052-0.17727,0.35364-0.4101,1.1685-1.0195,3.1052-0.95074,3.9792-0.96662,11.065,0.16581,42.667,14.709,87.006,40.128,19.428,11.315,82.071,51.491,81.832,62.789,0.0168,0.97102,0.0803,1.1712-0.28485,1.6519l1.5936-2.4236v-0.002z"/>
	</g>
	<g>
		<path fill="#fff" stroke="#000" stroke-width="0.67037" stroke-linejoin="bevel" d="m180.6,211.01c0,16.271,6.6628,30.987,17.457,41.742,10.815,10.778,25.512,17.579,41.809,17.579,16.381,0,31.247-6.6525,42.016-17.389,10.769-10.735,17.443-25.552,17.446-41.88h-0.002v-79.189l-118.74-0.14111,0.0123,79.278h0.002z"/>
		<path fill="#f00" stroke="#000" stroke-width="0.50734" d="m182.82,211.12v0.045c0,15.557,6.4414,29.724,16.775,40.009,10.354,10.305,24.614,16.712,40.214,16.712,15.681,0,29.912-6.3606,40.222-16.626,10.308-10.265,16.697-24.433,16.699-40.044h-0.002v-76.826l-113.84-0.0185-0.0697,76.748m91.022-53.747,0.004,48.891-0.0414,5.1717h0.00088c0,1.3608-0.082,2.9122-0.24076,4.2333-0.92512,7.7294-4.4801,14.467-9.7451,19.708-6.1636,6.1357-14.671,9.9413-24.047,9.9413-9.327,0-17.639-3.9379-23.829-10.1-6.3497-6.32-10.03-14.986-10.03-23.947l-0.0132-54.023,67.94,0.12259,0.002,0.002z"/>
		<g id="castle3">
			<g id="castle" fill="#ff0" stroke="#000" stroke-width="0.5">
				<path stroke="none" d="m190.19,154.43c0.13493-5.521,4.0524-6.828,4.0806-6.8474,0.0282-0.0185,4.2314,1.4076,4.2173,6.8986l-8.2978-0.0512"/>
				<path d="m186.81,147.69-0.68172,6.3447,4.1406,0.009c0.0397-5.2493,3.9739-6.1225,4.0691-6.1031,0.0891-0.005,3.9889,1.1606,4.0929,6.1031h4.1511l-0.74962-6.3932-15.022,0.0379v0.002z"/>
				<path d="m185.85,154.06h16.946c0.35717,0,0.64908,0.35277,0.64908,0.78404,0,0.43039-0.29191,0.78141-0.64908,0.78141h-16.946c-0.35717,0-0.64908-0.35102-0.64908-0.78141,0-0.43127,0.29191-0.78404,0.64908-0.78404z"/>
				<path d="m192.01,154.03c0.0185-3.3126,2.2621-4.2501,2.2736-4.2483,0.00088,0,2.3423,0.96661,2.3609,4.2483h-4.6344"/>
				<path d="m186.21,145.05h16.245c0.34218,0,0.62263,0.31839,0.62263,0.70468,0,0.38717-0.28045,0.70467-0.62263,0.70467h-16.245c-0.34218,0-0.62263-0.31573-0.62263-0.70467,0-0.38629,0.28045-0.70468,0.62263-0.70468z"/>
				<path d="m186.55,146.47h15.538c0.32719,0,0.59529,0.31662,0.59529,0.70379,0,0.38805-0.2681,0.70467-0.59529,0.70467h-15.538c-0.32719,0-0.59529-0.31662-0.59529-0.70467,0-0.38717,0.2681-0.70379,0.59529-0.70379z"/>
				<path d="m191.57,135.88,1.2267,0.002v0.87136h0.89513v-0.89076l1.2567,0.004v0.88723h0.89778v-0.89076h1.2576l-0.002,2.0117c0,0.31574-0.25398,0.52035-0.54854,0.52035h-4.4113c-0.29633,0-0.56972-0.23724-0.5706-0.52652l-0.003-1.9879h0.00088z"/>
				<path d="m196.19,138.57,0.27691,6.4514-4.3028-0.0159,0.28486-6.4523,3.741,0.0168"/>
				<path id="cp1" d="m190.94,141.56,0.13141,3.4775-4.1256,0.002,0.11641-3.4793h3.8786-0.00089z"/>
				<use xlink:href="#cp1" x="10.609"/>
				<path id="cp2" d="m186.3,139.04,1.1994,0.003v0.87224h0.8775v-0.89253l1.2294,0.004v0.889h0.87926v-0.89253l1.2302,0.002-0.002,2.0117c0,0.31398-0.2487,0.51859-0.5362,0.51859h-4.3169c-0.28926,0-0.55824-0.23548-0.55913-0.52564l-0.003-1.9888h0.00088z"/>
				<use xlink:href="#cp2" x="10.609"/>
				<path fill="#000" stroke="none" d="m193.9,140.61c-0.0265-0.62706,0.87661-0.63411,0.86603,0v1.5364h-0.866v-1.536"/>
				<path id="cp3" fill="#000" stroke="none" d="m188.57,142.84c-0.003-0.6059,0.83693-0.61824,0.82635,0v1.1871h-0.826v-1.187"/>
				<use xlink:href="#cp3" x="10.641"/>
			</g>
			<use xlink:href="#castle" y="46.3198"/>
			<use xlink:href="#castle" transform="matrix(0.70460892,-0.70959585,0.70959585,0.70460892,-35.341459,275.10898)"/>
		</g>
		<use xlink:href="#castle" x="45.7138"/>
		<use xlink:href="#castle3" transform="matrix(-1,0,0,1,479.79195,0)"/>
		<g id="quina">
			<path fill="#039" d="m232.636,202.406v0.005c0,2.2119,0.84927,4.2272,2.2118,5.6894,1.3652,1.4667,3.2454,2.3777,5.302,2.3777,2.0672,0,3.9439-0.90487,5.3029-2.3654,1.3581-1.4587,2.2021-3.47219,2.2021-5.693v-10.768l-14.992-0.0123-0.0273,10.766"/>
			<path stroke="#fff" stroke-width="2.972" stroke-linecap="round" d="M236.074,195.742v0M244.392,195.742v0M240.225,199.735v0M236.074,203.916v0M244.383,203.905v0"/>
		</g>
		<use xlink:href="#quina" y="-26.016"/>
		<use xlink:href="#quina" x="-20.799"/>
		<use xlink:href="#quina" x="20.745"/>
		<use xlink:href="#quina" y="25.784"/>
	</g>
</svg>

-- Great Brightstar (トーク) 15:01, 23 February 2023 (UTC)[返信]

Having the «white bezants as single element» seems to be good Heraldry (and thus also good Vexillology, in this case), and also good S.V.G.-ology.
But please note that the 25 plates (in English Heraldry, bezants are always Or; “bezants Argent” are called plates) are just white discs on the blue background, without any black contour lines, unlike all other elements of this CoA as depicted on the flag — event the unheraldic white fimbriation around the edge of the shield.
-- Tuválkin 20:44, 23 February 2023 (UTC)[返信]
Still about the lack of black contour line around the plates: The current image is correct in this detail; I was merely stressing this so that nobody would think that was a mistake that needs to be corrected. -- Tuválkin 20:55, 23 February 2023 (UTC)[返信]

(The above was copied from my talk page. Please add {{Edit request}} and ping me if there is a consensus to change this or no response from others. —‍Mdaniels5757 (talk • contribs) 15:16, 23 February 2023 (UTC))[返信]

Yeah I just made some changes to make file structure lighter, regardless the dispute above, which is focus on the color shades. --Great Brightstar (トーク) 15:31, 23 February 2023 (UTC)[返信]
I think that improvements and optimization of the underlying structure of the SVG code, without changes in the geometry of the visible elements, are desirable and to be thanked! -- Tuválkin 21:00, 23 February 2023 (UTC)[返信]
Yes, I just found out an ultimate method to redraw white bezants in minimized code: 1) add five paths into one <path> element and make them zero-ed; 2) set stroke color, stroke width, and line cap to the <path> element. So when you look at the cource code you'll see how did I implemented in <g id="quina"> tag. -- Great Brightstar (トーク) 17:01, 21 March 2023 (UTC)[返信]
That is very neat, quite litterally! -- Tuválkin 20:26, 21 March 2023 (UTC)[返信]