SVG Logo Upload Support?

Hi, So upon running the wizard, instead of using a normal jpeg/png for the logo, I tried to upload an SVG file in place (for primary and compact logo versions) and it didn’t work. Is there anyway there could potentially be support for SVG Logos? It would work perfectly with all screen sizes (as it scales effortlessly) and is extremely compact (my JPEG takes 15kb while my SVG takes 1kb)

「いいね!」 2

The problem is email. Email clients do not like svg.

「いいね!」 1

Ahh okay! That makes sense!

Also if it is a jpeg i suspect it should not be, otherwise it would not translate to SVG well. Have you tried png? Can you post it here?

Yeah, I just ended up realizing that using PNG with a transparent background is actually much more compressible than using JPEG with a white background…

the primary logo is the main annoyance since the added text doesn’t bode well for JPEG Compression, but oh well!

Convert to 8-bit PNG w/alpha (you don’t need more than 256 colors for this) then zopfli:

C:\Users\Jeff\Desktop>zopflipng Untitled.png Untitled.png
Optimizing Untitled.png
Filter strategy zero: 6459 bytes
Result is smaller
Input size: 10100 (9K)
Result size: 6459 (6K). Percentage of original: 63.950%

Gets it down to 6,459 bytes.

「いいね!」 4

ブランドセクションで、ロゴのオプションを2つ用意していただけませんか?従来の画像用のメール用ロゴと、サイト内ロゴ用のSVGサポートです。現在、ロゴの変更で非常に苦労しています。ChromeはPNGの縮小が全くうまく機能しません。見つけたCSSの提案もどれも機能せず、高DPI対応を維持したいと考えています。

標準DPIの画面でChromeに表示されるぼやけたロゴ:

現在、SVGはロゴの事実上の標準となっています。可能であれば、DiscourseでもSVGサポートを導入していただければ幸いです。

ただし、他の解決策に関するご提案も歓迎します。

「いいね!」 1

SVGファイルは、サイトロゴとして使用できるようになりました。例えば、MetaのロゴもSVG形式です。別個の「ダイジェストロゴ」設定があり、そこでは異なるファイル形式をアップロードできます。

「いいね!」 2

ああ、恥ずかしいですね。どうやら私の SVG に問題があったようです。別のものを試したら動作しました。ありがとうございました :slight_smile:

「いいね!」 2