Project avatar SVG conversion (OD-2667)
jmbz opened 1 day ago

When an SVG file is uploaded to be used as a project avatar, it is converted to a PNG. The conversion process uses white for the background instead of transparent. If the SVG is a circle, the white background can show a bit even if cropped on the upload page.

image.png

To fix this, the background should be transparent or the SVG should be used as is.

  • Robin Shen commented 21 hours ago

    This is expected behavior. OneDev crops the avatar into a circle, and transparent background inside the circle looks odd. Make sure to use some non-white background images.

  • Robin Shen changed state to 'Closed' 21 hours ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
13.1.5
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2667
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover