1) Lately I've been using versions from 1.18 to 1.23, 64-bit zip with all extras.
I don't get any warnings when uploading decals.
The nature of the problem is that when I upload an image in UTM projection, the absolute coordinates from the jgw file are used. If the offset from the net.xml network is subtracted from these coordinates, the image is placed in the correct position. I have a script that I use to edit jgw files, but if it worked directly in SUMO, it would probably be more correct.
2) I guess I've always seen it that way. I currently know of about 4 computers and it behaves the same everywhere. I tried looking in the graphics card settings, etc. The only solution was a global gamma setting, but that's not suitable for other applications. I'll stick with doing gamma correction on the images.
Thanks,
satisfied SUMO user, Petr
for 1) there is a qualification: when loading an image with a world file, the projection of the .net.xml file (from the projParameter of the <location> element) is applied to the parameters of the world file. If you have been using a world file with UTM offset and the network had no associated projection then it would have worked.
When I'm loading your tile as a decal this is the warning I see:
Warning: Invalid longitude 4733.23 Warning: Could not convert coordinates in /localdata/1/debug/petr_decal/decals/Tile_008_009.jpg.
This warning reflects the attempt to transform the input coordinates from WGS84 to UTM (your network projParameter is "+proj=utm +zone=33 +ellps=WGS84 +datum=WGS84 + units=m +no_defs").
Ad 1) Its funny, because I have been using SUMO longer then 10 years and I've always used UTM decals in metric system without problems (only the origin).
ad 2) Yes, when I change global gamma settings to 0.45, the images looks good, but its not solution for me.
Thanks for support,
Petr
---------- Původní e-mail ---------- Od: Jakob Erdmann <namdre.sumo@xxxxxxxxx> Komu: Petr Chytil <PetrChytil@xxxxxxxxx> Kopie: Sumo project User discussions <sumo-user@xxxxxxxxxxx> Datum: 14. 7. 2025 10:40:55 Předmět: Re: [sumo-user] background decals
1. SUMO only supports jgw files in WGS84 (so the offset must be something in lon,lat and the pixels size must be in degrees). Your world file contains projected UTM data instead.
2. I cannot replicate the gamma-bias. The loaded image in sumo-gui has the same color as in an image view for me. This might be a graphics driver issue.