{"action":"created","issue":{"url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/issues/77","repository_url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse","labels_url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/issues/77/comments","events_url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/issues/77/events","html_url":"https://github.com/CascadesCarnivoreProject/Timelapse/issues/77","id":163528718,"number":77,"title":"Bitmap optimizations","user":{"login":"saulgreenberg","id":15931952,"avatar_url":"https://avatars.githubusercontent.com/u/15931952?v=3","gravatar_id":"","url":"https://api.github.com/users/saulgreenberg","html_url":"https://github.com/saulgreenberg","followers_url":"https://api.github.com/users/saulgreenberg/followers","following_url":"https://api.github.com/users/saulgreenberg/following{/other_user}","gists_url":"https://api.github.com/users/saulgreenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/saulgreenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulgreenberg/subscriptions","organizations_url":"https://api.github.com/users/saulgreenberg/orgs","repos_url":"https://api.github.com/users/saulgreenberg/repos","events_url":"https://api.github.com/users/saulgreenberg/events{/privacy}","received_events_url":"https://api.github.com/users/saulgreenberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/labels/Low%20Priority%20fix","name":"Low Priority fix","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"saulgreenberg","id":15931952,"avatar_url":"https://avatars.githubusercontent.com/u/15931952?v=3","gravatar_id":"","url":"https://api.github.com/users/saulgreenberg","html_url":"https://github.com/saulgreenberg","followers_url":"https://api.github.com/users/saulgreenberg/followers","following_url":"https://api.github.com/users/saulgreenberg/following{/other_user}","gists_url":"https://api.github.com/users/saulgreenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/saulgreenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulgreenberg/subscriptions","organizations_url":"https://api.github.com/users/saulgreenberg/orgs","repos_url":"https://api.github.com/users/saulgreenberg/repos","events_url":"https://api.github.com/users/saulgreenberg/events{/privacy}","received_events_url":"https://api.github.com/users/saulgreenberg/received_events","type":"User","site_admin":false},"assignees":[{"login":"saulgreenberg","id":15931952,"avatar_url":"https://avatars.githubusercontent.com/u/15931952?v=3","gravatar_id":"","url":"https://api.github.com/users/saulgreenberg","html_url":"https://github.com/saulgreenberg","followers_url":"https://api.github.com/users/saulgreenberg/followers","following_url":"https://api.github.com/users/saulgreenberg/following{/other_user}","gists_url":"https://api.github.com/users/saulgreenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/saulgreenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulgreenberg/subscriptions","organizations_url":"https://api.github.com/users/saulgreenberg/orgs","repos_url":"https://api.github.com/users/saulgreenberg/repos","events_url":"https://api.github.com/users/saulgreenberg/events{/privacy}","received_events_url":"https://api.github.com/users/saulgreenberg/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-02T17:41:18Z","updated_at":"2016-07-07T16:50:41Z","closed_at":null,"body":"CacheOption.None vs CacheOption.OnLoad.  None caches the bitmap, which should be more efficentt. However, it is currently problematic. As far as I can tell, using CacheOption of None means that access to the file is kept, and thus a user cannot delete the image. Need to explore if there is a way to somehow release the file. Current solution just uses CacheOption.OnLoad: be nice to avoid that. Note that there are other issues with using caches, i.e., if a file is deleted but the cache is still maintained, it will show the cached image rather than the 'missing' image.\r\n\r\nUse thumbnails (ie., desiredWidth) in a variety of places  to increase bitmap creation speed BUT this introduces a metadata reading issue. While BitmapFrame allows a user to access metadata, bitmapImage does not. (Note that LoadBitmap returns a BitmapFrame for non-thumbnails, and a BitmapImage for thumbnails) Thus we cannot use thumbnails for those methods that require metadata access, which leads to inefficiencies. Need to explore other methods that allow us to access metadata without having to load the full bitmap, and to check if that is less or more efficient.\r\n"},"comment":{"url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/issues/comments/231138907","html_url":"https://github.com/CascadesCarnivoreProject/Timelapse/issues/77#issuecomment-231138907","issue_url":"https://api.github.com/repos/CascadesCarnivoreProject/Timelapse/issues/77","id":231138907,"user":{"login":"saulgreenberg","id":15931952,"avatar_url":"https://avatars.githubusercontent.com/u/15931952?v=3","gravatar_id":"","url":"https://api.github.com/users/saulgreenberg","html_url":"https://github.com/saulgreenberg","followers_url":"https://api.github.com/users/saulgreenberg/followers","following_url":"https://api.github.com/users/saulgreenberg/following{/other_user}","gists_url":"https://api.github.com/users/saulgreenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/saulgreenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulgreenberg/subscriptions","organizations_url":"https://api.github.com/users/saulgreenberg/orgs","repos_url":"https://api.github.com/users/saulgreenberg/repos","events_url":"https://api.github.com/users/saulgreenberg/events{/privacy}","received_events_url":"https://api.github.com/users/saulgreenberg/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T16:50:41Z","updated_at":"2016-07-07T16:50:41Z","body":"My thoughts on Todd's comments. Worth discussing with him before any changes are made. This won't be made in this release anyways, and I expect much more thought (and testing) will have to be put into it.\r\n\r\n- Using thumbnails, we may be able to shorten the throttle time (particularly if there are no videos in the image set). The biggest gain there will be in using left/right arrow keys to speed through all images. \r\n\r\n- Similarly, when loading a new image set  we will likely be able to skip fewer images during the load (Users had said they liked to see those images as they go by, as it gives them an initial sense of what is in the set). \r\n\r\n- If the user pauses or stops, I would load the highest resolution possible (and create the cache) as the time penalty for loading that image becomes irrelevant. This is much easier than changing resolutions on the fly. I think having fitting the resolution to the screen resolution on the fly has minimal benefit. Of course, if it can be done easily, then why not?\r\n\r\n- As mentioned, for rapid scrolling, an image resolution of 512 suffices to preview the content so there really is no need to use higher resolution there"}}
{"actor":{"display_login":"saulgreenberg"}}