{"action":"created","issue":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/2206","repository_url":"https://api.github.com/repos/telegramdesktop/tdesktop","labels_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/2206/labels{/name}","comments_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/2206/comments","events_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/2206/events","html_url":"https://github.com/telegramdesktop/tdesktop/issues/2206","id":163290438,"number":2206,"title":"Received photos are smaller than in Telegram Web","user":{"login":"wodim","id":1001553,"avatar_url":"https://avatars1.githubusercontent.com/u/1001553?v=4","gravatar_id":"","url":"https://api.github.com/users/wodim","html_url":"https://github.com/wodim","followers_url":"https://api.github.com/users/wodim/followers","following_url":"https://api.github.com/users/wodim/following{/other_user}","gists_url":"https://api.github.com/users/wodim/gists{/gist_id}","starred_url":"https://api.github.com/users/wodim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wodim/subscriptions","organizations_url":"https://api.github.com/users/wodim/orgs","repos_url":"https://api.github.com/users/wodim/repos","events_url":"https://api.github.com/users/wodim/events{/privacy}","received_events_url":"https://api.github.com/users/wodim/received_events","type":"User","site_admin":false},"labels":[{"id":96671726,"url":"https://api.github.com/repos/telegramdesktop/tdesktop/labels/bug","name":"bug","color":"fc2929","default":true},{"id":248072344,"url":"https://api.github.com/repos/telegramdesktop/tdesktop/labels/waiting%20for%20answer","name":"waiting for answer","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-06-30T23:43:46Z","updated_at":"2018-03-18T02:12:46Z","closed_at":null,"author_association":"NONE","body":"I have a bot that sends photos to users. Those photos are sent as regular photos, **not** files.\n\nThe photos have a resolution of 1600x1200. Telegram Web shows the photos at the original size, but Telegram Desktop receives them at a resolution of 1280x960, with a very very ugly rescaling method.\n"},"comment":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/comments/373967401","html_url":"https://github.com/telegramdesktop/tdesktop/issues/2206#issuecomment-373967401","issue_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/2206","id":373967401,"user":{"login":"enchained","id":6181674,"avatar_url":"https://avatars2.githubusercontent.com/u/6181674?v=4","gravatar_id":"","url":"https://api.github.com/users/enchained","html_url":"https://github.com/enchained","followers_url":"https://api.github.com/users/enchained/followers","following_url":"https://api.github.com/users/enchained/following{/other_user}","gists_url":"https://api.github.com/users/enchained/gists{/gist_id}","starred_url":"https://api.github.com/users/enchained/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enchained/subscriptions","organizations_url":"https://api.github.com/users/enchained/orgs","repos_url":"https://api.github.com/users/enchained/repos","events_url":"https://api.github.com/users/enchained/events{/privacy}","received_events_url":"https://api.github.com/users/enchained/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T02:12:46Z","updated_at":"2018-03-18T02:12:46Z","author_association":"NONE","body":"@john-preston\r\nBut why same images look much worse when you open them in photo viewer from a bot/channel in tdesktop? In comparison to when you open in chat with a person or yourself. The image size is the same for me in both cases (1280x960).\r\n\r\nSteps to reproduce:\r\n\r\n1. Join https://t.me/resiz, compare the text in image visually from Telegram Desktop vs Telegram Web (or iOS). The text looks very uneven on edges. Forward this channel's message with the image to yourself.\r\n2. Download that image from the place where it looks better, like Telegram Web.\r\n3. Send that image to yourself (with compression)\r\n4. In your Saved messages, compare the images side by side clicking on viewer arrows, look at the text. It's very different. Wouldn't the pictures look pretty much the same it this point, if it was just the global \"single image size\" that caused the problem?\r\n\r\nWhy Telegram Desktop renders images from bots/channels vs chats differently? It looks like some REALLY bad scaling takes place at some point. Does the image viewer differentiate between sender types somehow? What could be the variables that viewer's image rendering depending on?\r\n\r\nIt is a big issue for me, cause I send a lot of screenshots via the bot from my tv when I watch movies with subtitles."}}
{"actor":{"display_login":"enchained"}}