{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/openlayers/issues/8323","repository_url":"https://api.github.com/repos/openlayers/openlayers","labels_url":"https://api.github.com/repos/openlayers/openlayers/issues/8323/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/openlayers/issues/8323/comments","events_url":"https://api.github.com/repos/openlayers/openlayers/issues/8323/events","html_url":"https://github.com/openlayers/openlayers/issues/8323","id":336240205,"node_id":"MDU6SXNzdWUzMzYyNDAyMDU=","number":8323,"title":"quality of ol.layer.Tile is not as good as ol.layer.Image","user":{"login":"danzaharescu","id":17156861,"node_id":"MDQ6VXNlcjE3MTU2ODYx","avatar_url":"https://avatars0.githubusercontent.com/u/17156861?v=4","gravatar_id":"","url":"https://api.github.com/users/danzaharescu","html_url":"https://github.com/danzaharescu","followers_url":"https://api.github.com/users/danzaharescu/followers","following_url":"https://api.github.com/users/danzaharescu/following{/other_user}","gists_url":"https://api.github.com/users/danzaharescu/gists{/gist_id}","starred_url":"https://api.github.com/users/danzaharescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danzaharescu/subscriptions","organizations_url":"https://api.github.com/users/danzaharescu/orgs","repos_url":"https://api.github.com/users/danzaharescu/repos","events_url":"https://api.github.com/users/danzaharescu/events{/privacy}","received_events_url":"https://api.github.com/users/danzaharescu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-27T13:53:00Z","updated_at":"2018-06-29T06:17:21Z","closed_at":"2018-06-27T15:50:16Z","author_association":"NONE","body":"Hello,\r\n\r\nI have identified a new possible problem. While playing with types described in title, I have encountered subtle differences in rendering quality.\r\nThe tile object suddenly deteriorates at a certain zoom out, and in addition, pixelRatio: 2 parameter added in the map does not have any effect.\r\nOn the other hand, ol.layer.Image is very clean and smooth at any zoom (especially, when pixelRatio: 2 is used)\r\n\r\nI am attaching my test scenario.\r\nYou may find my  'let useTile = false' statement, and change it to true, to use tiles instead of image.\r\nWhen doing a few (4-5) zoom outs in the html page, for the time use case the sudden quality decrese is visible.\r\n\r\nI have checked the map, view and tile object specification, but I was not able to find something helpful yet.\r\n\r\n\r\n\r\nRegards,\r\nDan"},"comment":{"url":"https://api.github.com/repos/openlayers/openlayers/issues/comments/401258786","html_url":"https://github.com/openlayers/openlayers/issues/8323#issuecomment-401258786","issue_url":"https://api.github.com/repos/openlayers/openlayers/issues/8323","id":401258786,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTI1ODc4Ng==","user":{"login":"danzaharescu","id":17156861,"node_id":"MDQ6VXNlcjE3MTU2ODYx","avatar_url":"https://avatars0.githubusercontent.com/u/17156861?v=4","gravatar_id":"","url":"https://api.github.com/users/danzaharescu","html_url":"https://github.com/danzaharescu","followers_url":"https://api.github.com/users/danzaharescu/followers","following_url":"https://api.github.com/users/danzaharescu/following{/other_user}","gists_url":"https://api.github.com/users/danzaharescu/gists{/gist_id}","starred_url":"https://api.github.com/users/danzaharescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danzaharescu/subscriptions","organizations_url":"https://api.github.com/users/danzaharescu/orgs","repos_url":"https://api.github.com/users/danzaharescu/repos","events_url":"https://api.github.com/users/danzaharescu/events{/privacy}","received_events_url":"https://api.github.com/users/danzaharescu/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T06:17:21Z","updated_at":"2018-06-29T06:17:21Z","author_association":"NONE","body":"Hello Ahocevar,,\r\n\r\nThanks for the interest in the problem.\r\nBut, even if the ticket is already closed, please let me post some additional considerations.\r\nI have some expectations, and some of them may be legitimate, some not.\r\nYou and the team could analyze and decide upon these:\r\n\r\n1. ol.layer.Tile  and ol.layer.Image should somehow behave similar at the same zooms.\r\n   But there seem to be some differences in rendering, as I stated in title.  If my understanding is correct,  \r\n   the only differences between these objects should regard centering/positioning/extent (example: tile \r\n   requires tile grid, image not). Uniform rendering algorithms across objects could make life of \r\n   developer easier I think...\r\n \r\n2. Strictly about the current ticket,  zooming out should, in my view, definitely not lead to a blurring of \r\n   the image (maybe I should have made the statement more clear from beginning), but I would expect a \r\n   gradual sharpening of the image (the effect that is corrected by pixelRatio ) . \r\n   Let's say, my image is clear at 105%, but blurry at 100% ...I think this is not normal. I like how \r\n   ol.layer.Image behaves in these zoom ranges (however, at about 125% and more, ol.layer.Image    \r\n   becomes slightly blurrier than Tile unfortunately).\r\n\r\n   You say I should bring other tiles appropriate for this zoom level (let's say 100%). But if I bring other \r\n   lower resolution tiles, the image will be even blurrier.  And bringing higher resolution tiles does not \r\n   make sense,  because my image already has enough quality for this zoom (as I said, it looks good at \r\n   105% ++   zooms, and ol.layer.Image also proves this).\r\n \r\n   So my conclusion is, either is a coding problem from my side (missing some parameters, or something)\r\n   either I did not describe the problem in the ticket clear enough.\r\n   Maybe the problem was somehow missed so far, because OpenLayers is usually used for drawing \r\n   maps, but  in my test case there is a picture containing text, which could make the issue more obvious.\r\n\r\nIt's up to you, if you will reconsider double check this issue or not.\r\nI am willing to further contribute to fixing such issues (provide details, screenshots, test code, test possible snapshot/internal fixes from your side), if there is also an interest from your side.\r\n\r\nMy regards,\r\nDan"}}
{"actor":{"display_login":"danzaharescu"}}