Modify

Opened 2 years ago

Closed 2 years ago

#16159 closed enhancement (fixed)

[Patch] SVG versions of icons

Reported by: floscher Owned by: team
Priority: minor Milestone: 18.04
Component: Core Version:
Keywords: svg icons Cc:

Description

Here are some SVG files that are almost-identical to existing icons, but reconstructed as super-small SVGs (< 1 kiB).

This list is going to grow over time, I just wanted to already share some of them. If you want you can already merge the ones that are there, or you wait until there are more and merge in one go.

Attachments (18)

mergenodes.svg (258 bytes) - added by floscher 2 years ago.
multipoly_create.svg (425 bytes) - added by floscher 2 years ago.
OLmarker.svg (224 bytes) - added by floscher 2 years ago.
mirror.svg (462 bytes) - added by floscher 2 years ago.
Mf_multipolygon.svg (533 bytes) - added by floscher 2 years ago.
Mf_multipolygon.2.svg (533 bytes) - added by floscher 2 years ago.
Mf_multipolygon.3.svg (533 bytes) - added by floscher 2 years ago.
addnode.svg (257 bytes) - added by floscher 2 years ago.
joinareas.svg (537 bytes) - added by floscher 2 years ago.
joinareas.2.svg (578 bytes) - added by floscher 2 years ago.
Disappearing nodes are now lighter
joinareas.3.svg (580 bytes) - added by floscher 2 years ago.
Corrected typo in previous version
way-select.svg (384 bytes) - added by floscher 2 years ago.
viewport-follow.svg (354 bytes) - added by floscher 2 years ago.
unselectall.svg (333 bytes) - added by floscher 2 years ago.
unjoinnodeway.svg (258 bytes) - added by floscher 2 years ago.
ortho.svg (425 bytes) - added by floscher 2 years ago.
followline.svg (446 bytes) - added by floscher 2 years ago.
selectall.svg (333 bytes) - added by floscher 2 years ago.

Download all attachments as: .zip

Change History (35)

Changed 2 years ago by floscher

Attachment: mergenodes.svg added

Changed 2 years ago by floscher

Attachment: multipoly_create.svg added

Changed 2 years ago by floscher

Attachment: OLmarker.svg added

Changed 2 years ago by floscher

Attachment: mirror.svg added

comment:1 Changed 2 years ago by floscher

The first batch (before on the left, after on the right side):
https://josm.openstreetmap.de/export/13595/josm/trunk/images/mergenodes.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/mirror.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/multipoly_create.svg (area no longer transparent, but in a lighter shade)
https://josm.openstreetmap.de/export/13595/josm/trunk/images/OLmarker.png (the inside of the circle on the marker is now see-through instead of fully black)

Changed 2 years ago by floscher

Attachment: Mf_multipolygon.svg added

Changed 2 years ago by floscher

Attachment: Mf_multipolygon.2.svg added

Changed 2 years ago by floscher

Attachment: Mf_multipolygon.3.svg added

comment:2 Changed 2 years ago by floscher

(oops, I accidentally uploaded the same file three times)

https://josm.openstreetmap.de/export/13595/josm/trunk/images/Mf_multipolygon.svg
This one changed quite a bit. I colored it like a relation, not like a way, because a multipolygon is a relation. Also the inner nodes are now also showing up as small dots.

Changed 2 years ago by floscher

Attachment: addnode.svg added

Changed 2 years ago by floscher

Attachment: joinareas.svg added

comment:3 Changed 2 years ago by floscher

https://josm.openstreetmap.de/export/13595/josm/trunk/images/addnode.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/joinareas.png (paint lines in black instead of blue, make the parts that will disappear when joining a bit lighter)

comment:4 Changed 2 years ago by stoecker

Lighter color for disappearing parts: That would include the two inner nodes 😁

Changed 2 years ago by floscher

Attachment: joinareas.2.svg added

Disappearing nodes are now lighter

comment:5 Changed 2 years ago by floscher

That's true indeed, here you are 😉
Disappearing nodes are now lighter

Changed 2 years ago by floscher

Attachment: joinareas.3.svg added

Corrected typo in previous version

Changed 2 years ago by floscher

Attachment: way-select.svg added

Changed 2 years ago by floscher

Attachment: viewport-follow.svg added

Changed 2 years ago by floscher

Attachment: unselectall.svg added

Changed 2 years ago by floscher

Attachment: unjoinnodeway.svg added

Changed 2 years ago by floscher

Attachment: ortho.svg added

Changed 2 years ago by floscher

Attachment: followline.svg added

comment:6 Changed 2 years ago by floscher

https://josm.openstreetmap.de/export/13595/josm/trunk/images/followline.svg
https://josm.openstreetmap.de/export/13595/josm/trunk/images/joinareas.png Corrected typo in previous version
https://josm.openstreetmap.de/export/13595/josm/trunk/images/ortho.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/unjoinnodeway.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/unselectall.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/viewport-follow.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/way-select.png

OK, so I think this will be enough for the moment… 😉

comment:7 Changed 2 years ago by floscher

Summary: [Patch] WIP: SVG versions of icons[Patch] SVG versions of icons

Changed 2 years ago by floscher

Attachment: selectall.svg added

comment:8 Changed 2 years ago by floscher

https://josm.openstreetmap.de/export/13595/josm/trunk/images/selectall.png

comment:9 in reply to:  6 ; Changed 2 years ago by stoecker

OK, so I think this will be enough for the moment… 😉

Nonono, when you have a flow keep going... 😇

There are so many missing or in png.

comment:10 in reply to:  9 Changed 2 years ago by floscher

Replying to stoecker:

OK, so I think this will be enough for the moment… 😉

Nonono, when you have a flow keep going... 😇

There are so many missing or in png.

I'll continue for sure, but for the moment there are also other areas I want to focus on…

comment:11 Changed 2 years ago by stoecker

In 13596/josm:

new SVG images made by floscher, see #16159

comment:12 Changed 2 years ago by stoecker

Regarding size: Please note that before release icons are stripped. So every prior cleanup beside geometric/logic changes has no effect.

comment:13 Changed 2 years ago by Klumbumbus

(see also #15240)

comment:14 in reply to:  12 Changed 2 years ago by floscher

Replying to stoecker:

Regarding size: Please note that before release icons are stripped. So every prior cleanup beside geometric/logic changes has no effect.

Yes, I know. The SVG ones were also changed structurally and with small appearance tweaks (color, pixel alignment). In the end they are now about 20% smaller than they were before (even with the stripping process in mind).
And since I'm not stripping them down manually but building these from scratch in a text editor (only checking with Inkscape how they look), it's not that hard to keep the size small.

comment:15 Changed 2 years ago by stoecker

Oh, I'm not the only one who does that. 😃
I even wrote PostScript by hand, but that is brain-damaging. SVG is better.

comment:16 Changed 2 years ago by Don-vip

Waw, this is really great to have such tiny SVG files! Thank you! :)

comment:17 Changed 2 years ago by Don-vip

Milestone: 18.04
Resolution: fixed
Status: newclosed

Again, thanks for these icons :) If you find time to create new ones, you can either create a new ticket of attach them to #15240

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.