Ticket #1576 (new defect)
Images without alpha channel should not get a transparent background
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | latest | Keywords: | bad icon;mappaint |
| Cc: |
Description
In the latest Version of JOSM all images with white background (telephon/toilets) are defect. (I think white is now transparent)
Attachments
Change History
comment:1 Changed 3 years ago by anonymous
- Status changed from new to closed
- Resolution set to wontfix
comment:2 Changed 3 years ago by anonymous
- Status changed from closed to reopened
- Resolution wontfix deleted
Ok, but i think they looks now terrible. For example the fuel sign have a white frayed border and if the background is black you can't see them very well.
comment:3 Changed 3 years ago by anonymous
- Owner changed from framm to anonymous
- Status changed from reopened to new
comment:5 Changed 3 years ago by anonymous
- Priority changed from major to critical
I'm 1/3 through the preset menu. Shall I continue to test every preset for the used icon and then look for icons that have no preset? Or do you see the problem and revert or fix the change that caused it?
comment:6 Changed 3 years ago by anonymous
- Owner changed from ulfl to stoecker
- Priority changed from critical to minor
- Summary changed from Images with white backgrounds are defect to Images without alpha channel should not get a transparent background
The change has been reverted to have a hotfix. Neverthelesse the reason is not yet fixed.
BTW: This is in no way a criticial bug. Even if it is major would be subject to discussion.
Error cause: When a PNG image has no alpha channel, JOSM takes the background as alpha channel and makes it transparent. The image optimization removed empty alpha channels from the icons thus triggering that bug in JOSM.
comment:7 in reply to: ↑ description Changed 3 years ago by carolus
- Priority changed from minor to major
- Version set to latest
Replying to anonymous:
In the latest Version of JOSM all images with white background (telephon/toilets) are defect. (I think white is now transparent)
Both in JOSM 1043 and JOSM 1042 I see that nodes that are assigned amenity | toilets are not visible in the normal mode. Only in wireframe mode these nodes can be seen in the map window. I just entered a toilet once more where I knew I already entered one last week. Switching to wireframe mode I saw there already was a toilet node. So to save OSM from dublicate nodes, I think the priority should be increased.
Changed 3 years ago by carolus
-
attachment
01_toilet not visible.png
added
Series of screen shots where we see that a toilet node is only visible in wire frame node.
Changed 3 years ago by carolus
-
attachment
02_if_you_know_where_to_klick_box_appears.png
added
Series of screen shots where we see that a toilet node is only visible in wire frame node.
Changed 3 years ago by carolus
-
attachment
03_only_in_wireframe_mode_the_node_is_shown.png
added
Series of screen shots where we see that a toilet node is only visible in wire frame node.
comment:8 Changed 3 years ago by Hasienda
- Keywords bad icon;mappaint added
another attempt to fix this by providing the same icons black on white without alpha channel found in ticket duplicate #1692
however, this is really annoying, to me too
Q.: I it really a problem to get hands on not-too-much optimized icons with alpha channel? I could make them from the bad ones with The GIMP on the fly ... (please ask hoff dot st at web dot de)
comment:10 Changed 2 years ago by bastiK
- Owner changed from framm to anonymous
- Status changed from new to needinfo
Apparently this is fixed.
Some images are still without alpha channel, e.g. /transport/taxi.png, /misc/landmark/tower.png
However they are displayed correctly on the map.
Maybe the issue is still present for an OS other than Linux. Could someone please check on Windows?
comment:11 Changed 2 years ago by bastiK
- Owner changed from anonymous to team
- Status changed from needinfo to new
comment:12 Changed 2 years ago by stoecker
I think it depends on Java version. We didn't change anything regarding image display.
comment:13 Changed 2 years ago by bastiK
42 of 523 images in styles/standard have no Alpha channel:
./leisure/garden.png ./leisure/nature_reserve.png ./sport/bicycle.png ./sport/chess.png ./sport/centre.png ./sport/riding.png ./hunting_stand.png ./rendering/quarry2.png ./rendering/beach.png ./rendering/quarry.png ./nautical/lock_gate.png ./nautical/marina.png ./nautical/anchor.png ./sightseeing/archaeological.png ./vehicle/cattle_grid.png ./vehicle/motorbike.png ./vehicle/gate.png ./vehicle/car_sharing.png ./vehicle/toll_booth.png ./service/administration/court_of_law.png ./service/emergency_access_point.png ./health/eye_specialist.png ./historic/boundary_stone.png ./religion/muslim.png ./religion/hinduism.png ./religion/jainism.png ./transport/airport/terminal.png ./transport/airport/helipad.png ./transport/turntable.png ./transport/taxi.png ./transport/car.png ./money/bank/vr-bank.png ./misc/information/guidepost.png ./misc/landmark/power.png ./misc/landmark/power/hydro.png ./misc/landmark/survey_point.png ./misc/landmark/water_tower.png ./misc/landmark/tower.png ./misc/landmark/beacon.png ./education.png ./accommodation/camping.png ./accommodation/guest_house.png
Would it help to update them?
comment:14 Changed 5 months ago by Cobra
- Status changed from new to closed
- Resolution set to fixed
Some of these images are looking rather ugly with the plain white background (imho), but working.
comment:15 Changed 5 months ago by stoecker
- Status changed from closed to reopened
- Resolution fixed deleted
comment:16 Changed 5 months ago by stoecker
- Status changed from reopened to new
I don't think this is fixed. We did not change a single bit of code for this. It can be it is a Java issue. If so, we need at least to find out and document when Java fixed it. Otherwise this issue still exists.
The included icons have always been adapted properly. Issue was always when optipng or pngcrush has been run to reduce icons size.



They are not defect. They have been changed to no longer so omnipresent. If you have special problems with individual icons, name these problems directly and reopen the report.