{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/firmware/issues/435","labels_url":"https://api.github.com/repos/raspberrypi/firmware/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/firmware/issues/435/comments","events_url":"https://api.github.com/repos/raspberrypi/firmware/issues/435/events","html_url":"https://github.com/raspberrypi/firmware/issues/435","id":85728713,"number":435,"title":"DispmanX snapshot blank when using resource smaller than display with display rotated.","user":{"login":"AndrewFromMelbourne","id":1305783,"avatar_url":"https://avatars.githubusercontent.com/u/1305783?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewFromMelbourne","html_url":"https://github.com/AndrewFromMelbourne","followers_url":"https://api.github.com/users/AndrewFromMelbourne/followers","following_url":"https://api.github.com/users/AndrewFromMelbourne/following{/other_user}","gists_url":"https://api.github.com/users/AndrewFromMelbourne/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewFromMelbourne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewFromMelbourne/subscriptions","organizations_url":"https://api.github.com/users/AndrewFromMelbourne/orgs","repos_url":"https://api.github.com/users/AndrewFromMelbourne/repos","events_url":"https://api.github.com/users/AndrewFromMelbourne/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewFromMelbourne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-06T09:35:24Z","updated_at":"2015-06-17T13:23:49Z","closed_at":null,"body":"I have a bug report for the utility I wrote called [raspi2png](https://github.com/AndrewFromMelbourne/raspi2png) that uses the DispmanX snapshot to make a screen shot of the Raspberry Pi. The [issue](https://github.com/AndrewFromMelbourne/raspi2png/issues/6) is that when the Raspberry Pi display is rotated, and a snapshot is created using a resource that has dimensions that are different to the display, the snapshot is blank. \r\n\r\nI have a small example program on gist ([snapshot_resize.c](https://gist.github.com/AndrewFromMelbourne/ac047bcb3d3f813d4764)) that shows the problem. If you run the example the program takes a snapshot with width and height set to half the display width and height and then displays the snapshot centered on the display.\r\n\r\nThe issue is present with the latest firmware release (31/5/2015 [revision 74fca0c56a378f78ace0148b7d439d177ead3c54](https://github.com/Hexxeh/rpi-firmware/commit/74fca0c56a378f78ace0148b7d439d177ead3c54)), I attempted to see if the issue is new, but I went back as far as 8/11/2014 ([revision 537ce36354588a7a4a3d58323e85ca8e35ec5f1f](https://github.com/Hexxeh/rpi-firmware/commit/537ce36354588a7a4a3d58323e85ca8e35ec5f1f)) and the issue was still present."},"comment":{"url":"https://api.github.com/repos/raspberrypi/firmware/issues/comments/112798321","html_url":"https://github.com/raspberrypi/firmware/issues/435#issuecomment-112798321","issue_url":"https://api.github.com/repos/raspberrypi/firmware/issues/435","id":112798321,"user":{"login":"popcornmix","id":1053730,"avatar_url":"https://avatars.githubusercontent.com/u/1053730?v=3","gravatar_id":"","url":"https://api.github.com/users/popcornmix","html_url":"https://github.com/popcornmix","followers_url":"https://api.github.com/users/popcornmix/followers","following_url":"https://api.github.com/users/popcornmix/following{/other_user}","gists_url":"https://api.github.com/users/popcornmix/gists{/gist_id}","starred_url":"https://api.github.com/users/popcornmix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcornmix/subscriptions","organizations_url":"https://api.github.com/users/popcornmix/orgs","repos_url":"https://api.github.com/users/popcornmix/repos","events_url":"https://api.github.com/users/popcornmix/events{/privacy}","received_events_url":"https://api.github.com/users/popcornmix/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T13:23:49Z","updated_at":"2015-06-17T13:23:49Z","body":"Should be in latest rpi-update firmware"}}