Hello! I have noticed a weird bug in Other World Mapper version 1.1.1. while building maps using custom SVGs: the colors display correctly in the Feature Tool Properties section at the bottom-right corner of the program, but then the images' colors are changed when in the map view.
Here's a screenshot of them showing as expected in the Feature Tool Properties:
Compare to how they look in the actual map view:
Comparing the RGB values from the SVG files directly with the RGB values obtained from an eyedropper tool on a screenshot of the map view, I found that the red and blue values in RGB are swapped in the actual map display. For example, an RGB value of (211, 17, 17) from the source SVG becomes (17, 17, 211) in the map view.
I have tested this on two different Windows 10 computers, one with a fresh install of Other World Mapper. I have been able to reproduce this in both an existing map and a fresh map, created using all defaults. I have also confirmed that the SVGs show correctly when displayed in other programs, like Google Chrome and Firefox.
For your testing, I have attached a ZIP file containing all of the SVG files I have been able to reproduce this with. I created all of these SVGs using Inkscape. Please let me know if you need any additional information from me. Thank you for looking into this!
Imported SVG Feature Colors Swap Red and Blue Values
Moderator: Kyete
-
- Posts: 2
- Joined: Thu Jun 13, 2024 5:47 pm
Imported SVG Feature Colors Swap Red and Blue Values
- Attachments
-
- CustomFeatureSvgs.zip
- (5.44 KiB) Downloaded 673 times
Re: Imported SVG Feature Colors Swap Red and Blue Values
Did you tried to export the SVG as plain SVG instead of Inkscape SVG?
-
- Posts: 2
- Joined: Thu Jun 13, 2024 5:47 pm
Re: Imported SVG Feature Colors Swap Red and Blue Values
Reproduced the issue and added it to our list. Thank you for letting us know and providing the SVGs!
-Katie
-Katie