{"action":"closed","number":130,"pull_request":{"url":"https://api.github.com/repos/openmv/openmv/pulls/130","id":67618023,"html_url":"https://github.com/openmv/openmv/pull/130","diff_url":"https://github.com/openmv/openmv/pull/130.diff","patch_url":"https://github.com/openmv/openmv/pull/130.patch","issue_url":"https://api.github.com/repos/openmv/openmv/issues/130","number":130,"state":"closed","locked":false,"title":"Improved JPEG capabilities.","user":{"login":"kwagyeman","id":5694981,"avatar_url":"https://avatars.githubusercontent.com/u/5694981?v=3","gravatar_id":"","url":"https://api.github.com/users/kwagyeman","html_url":"https://github.com/kwagyeman","followers_url":"https://api.github.com/users/kwagyeman/followers","following_url":"https://api.github.com/users/kwagyeman/following{/other_user}","gists_url":"https://api.github.com/users/kwagyeman/gists{/gist_id}","starred_url":"https://api.github.com/users/kwagyeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwagyeman/subscriptions","organizations_url":"https://api.github.com/users/kwagyeman/orgs","repos_url":"https://api.github.com/users/kwagyeman/repos","events_url":"https://api.github.com/users/kwagyeman/events{/privacy}","received_events_url":"https://api.github.com/users/kwagyeman/received_events","type":"User","site_admin":false},"body":"* Added the ability to control the quality on JPEG functions... However,\r\ndue to our JPEG implementation this doesn't seem to help. 90% JPEG\r\nquality images and regular images should be about equal. But, you can\r\nsee heavy degredation with 90% still. E.g. text is unreabable. Not\r\nexactly sure why this is happening but it can be fixed later.\r\n\r\n* Changed the compress() function to compressed(). Also, it now\r\ncompresses using FB_Alloc to prevent realloc issues when compressing.\r\n\r\n* Added new compress() function. This function compresses an image in\r\nplace and if that image is the frame bufffer then it will update the\r\nframe buffer bpp value to reflect the image was compressed. Users can use\r\nthis function to basically finalize the frame buffer and then pass the FB\r\nto functions that need to send image bytes. The benefit of using this\r\nfunction is that it should allow higher quality JPEGs and let everything\r\nrun at a faster speed while connected to the IDE.\r\n\r\nI made this function to speed up WiFi. However, I encountered a bug with\r\nthe winc.send() method. It appears to zero the bytes it sends. I didn't\r\ndebug further except to verify that the image data became zero after\r\ncalling send.","created_at":"2016-04-23T20:42:59Z","updated_at":"2016-04-26T00:47:08Z","closed_at":"2016-04-26T00:47:08Z","merged_at":"2016-04-26T00:47:08Z","merge_commit_sha":"3ac7872188f7fa084f6113caf322e9652dd89037","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmv/openmv/pulls/130/commits","review_comments_url":"https://api.github.com/repos/openmv/openmv/pulls/130/comments","review_comment_url":"https://api.github.com/repos/openmv/openmv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmv/openmv/issues/130/comments","statuses_url":"https://api.github.com/repos/openmv/openmv/statuses/367e5fdd3d721457ac1c8ae9398127ea1750b9b5","head":{"label":"kwagyeman:master","ref":"master","sha":"367e5fdd3d721457ac1c8ae9398127ea1750b9b5","user":{"login":"kwagyeman","id":5694981,"avatar_url":"https://avatars.githubusercontent.com/u/5694981?v=3","gravatar_id":"","url":"https://api.github.com/users/kwagyeman","html_url":"https://github.com/kwagyeman","followers_url":"https://api.github.com/users/kwagyeman/followers","following_url":"https://api.github.com/users/kwagyeman/following{/other_user}","gists_url":"https://api.github.com/users/kwagyeman/gists{/gist_id}","starred_url":"https://api.github.com/users/kwagyeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwagyeman/subscriptions","organizations_url":"https://api.github.com/users/kwagyeman/orgs","repos_url":"https://api.github.com/users/kwagyeman/repos","events_url":"https://api.github.com/users/kwagyeman/events{/privacy}","received_events_url":"https://api.github.com/users/kwagyeman/received_events","type":"User","site_admin":false},"repo":{"id":51560369,"name":"openmv","full_name":"kwagyeman/openmv","owner":{"login":"kwagyeman","id":5694981,"avatar_url":"https://avatars.githubusercontent.com/u/5694981?v=3","gravatar_id":"","url":"https://api.github.com/users/kwagyeman","html_url":"https://github.com/kwagyeman","followers_url":"https://api.github.com/users/kwagyeman/followers","following_url":"https://api.github.com/users/kwagyeman/following{/other_user}","gists_url":"https://api.github.com/users/kwagyeman/gists{/gist_id}","starred_url":"https://api.github.com/users/kwagyeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwagyeman/subscriptions","organizations_url":"https://api.github.com/users/kwagyeman/orgs","repos_url":"https://api.github.com/users/kwagyeman/repos","events_url":"https://api.github.com/users/kwagyeman/events{/privacy}","received_events_url":"https://api.github.com/users/kwagyeman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kwagyeman/openmv","description":"OpenMV Camera Module","fork":true,"url":"https://api.github.com/repos/kwagyeman/openmv","forks_url":"https://api.github.com/repos/kwagyeman/openmv/forks","keys_url":"https://api.github.com/repos/kwagyeman/openmv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kwagyeman/openmv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kwagyeman/openmv/teams","hooks_url":"https://api.github.com/repos/kwagyeman/openmv/hooks","issue_events_url":"https://api.github.com/repos/kwagyeman/openmv/issues/events{/number}","events_url":"https://api.github.com/repos/kwagyeman/openmv/events","assignees_url":"https://api.github.com/repos/kwagyeman/openmv/assignees{/user}","branches_url":"https://api.github.com/repos/kwagyeman/openmv/branches{/branch}","tags_url":"https://api.github.com/repos/kwagyeman/openmv/tags","blobs_url":"https://api.github.com/repos/kwagyeman/openmv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kwagyeman/openmv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kwagyeman/openmv/git/refs{/sha}","trees_url":"https://api.github.com/repos/kwagyeman/openmv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kwagyeman/openmv/statuses/{sha}","languages_url":"https://api.github.com/repos/kwagyeman/openmv/languages","stargazers_url":"https://api.github.com/repos/kwagyeman/openmv/stargazers","contributors_url":"https://api.github.com/repos/kwagyeman/openmv/contributors","subscribers_url":"https://api.github.com/repos/kwagyeman/openmv/subscribers","subscription_url":"https://api.github.com/repos/kwagyeman/openmv/subscription","commits_url":"https://api.github.com/repos/kwagyeman/openmv/commits{/sha}","git_commits_url":"https://api.github.com/repos/kwagyeman/openmv/git/commits{/sha}","comments_url":"https://api.github.com/repos/kwagyeman/openmv/comments{/number}","issue_comment_url":"https://api.github.com/repos/kwagyeman/openmv/issues/comments{/number}","contents_url":"https://api.github.com/repos/kwagyeman/openmv/contents/{+path}","compare_url":"https://api.github.com/repos/kwagyeman/openmv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kwagyeman/openmv/merges","archive_url":"https://api.github.com/repos/kwagyeman/openmv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kwagyeman/openmv/downloads","issues_url":"https://api.github.com/repos/kwagyeman/openmv/issues{/number}","pulls_url":"https://api.github.com/repos/kwagyeman/openmv/pulls{/number}","milestones_url":"https://api.github.com/repos/kwagyeman/openmv/milestones{/number}","notifications_url":"https://api.github.com/repos/kwagyeman/openmv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kwagyeman/openmv/labels{/name}","releases_url":"https://api.github.com/repos/kwagyeman/openmv/releases{/id}","deployments_url":"https://api.github.com/repos/kwagyeman/openmv/deployments","created_at":"2016-02-12T01:23:48Z","updated_at":"2016-02-12T01:23:55Z","pushed_at":"2016-04-23T20:37:31Z","git_url":"git://github.com/kwagyeman/openmv.git","ssh_url":"git@github.com:kwagyeman/openmv.git","clone_url":"https://github.com/kwagyeman/openmv.git","svn_url":"https://github.com/kwagyeman/openmv","homepage":null,"size":44061,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openmv:master","ref":"master","sha":"4075eae03d09fd38cfbf577de72ed8affdc94285","user":{"login":"openmv","id":12023962,"avatar_url":"https://avatars.githubusercontent.com/u/12023962?v=3","gravatar_id":"","url":"https://api.github.com/users/openmv","html_url":"https://github.com/openmv","followers_url":"https://api.github.com/users/openmv/followers","following_url":"https://api.github.com/users/openmv/following{/other_user}","gists_url":"https://api.github.com/users/openmv/gists{/gist_id}","starred_url":"https://api.github.com/users/openmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmv/subscriptions","organizations_url":"https://api.github.com/users/openmv/orgs","repos_url":"https://api.github.com/users/openmv/repos","events_url":"https://api.github.com/users/openmv/events{/privacy}","received_events_url":"https://api.github.com/users/openmv/received_events","type":"Organization","site_admin":false},"repo":{"id":14360940,"name":"openmv","full_name":"openmv/openmv","owner":{"login":"openmv","id":12023962,"avatar_url":"https://avatars.githubusercontent.com/u/12023962?v=3","gravatar_id":"","url":"https://api.github.com/users/openmv","html_url":"https://github.com/openmv","followers_url":"https://api.github.com/users/openmv/followers","following_url":"https://api.github.com/users/openmv/following{/other_user}","gists_url":"https://api.github.com/users/openmv/gists{/gist_id}","starred_url":"https://api.github.com/users/openmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmv/subscriptions","organizations_url":"https://api.github.com/users/openmv/orgs","repos_url":"https://api.github.com/users/openmv/repos","events_url":"https://api.github.com/users/openmv/events{/privacy}","received_events_url":"https://api.github.com/users/openmv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmv/openmv","description":"OpenMV Camera Module","fork":false,"url":"https://api.github.com/repos/openmv/openmv","forks_url":"https://api.github.com/repos/openmv/openmv/forks","keys_url":"https://api.github.com/repos/openmv/openmv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmv/openmv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmv/openmv/teams","hooks_url":"https://api.github.com/repos/openmv/openmv/hooks","issue_events_url":"https://api.github.com/repos/openmv/openmv/issues/events{/number}","events_url":"https://api.github.com/repos/openmv/openmv/events","assignees_url":"https://api.github.com/repos/openmv/openmv/assignees{/user}","branches_url":"https://api.github.com/repos/openmv/openmv/branches{/branch}","tags_url":"https://api.github.com/repos/openmv/openmv/tags","blobs_url":"https://api.github.com/repos/openmv/openmv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmv/openmv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmv/openmv/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmv/openmv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmv/openmv/statuses/{sha}","languages_url":"https://api.github.com/repos/openmv/openmv/languages","stargazers_url":"https://api.github.com/repos/openmv/openmv/stargazers","contributors_url":"https://api.github.com/repos/openmv/openmv/contributors","subscribers_url":"https://api.github.com/repos/openmv/openmv/subscribers","subscription_url":"https://api.github.com/repos/openmv/openmv/subscription","commits_url":"https://api.github.com/repos/openmv/openmv/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmv/openmv/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmv/openmv/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmv/openmv/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmv/openmv/contents/{+path}","compare_url":"https://api.github.com/repos/openmv/openmv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmv/openmv/merges","archive_url":"https://api.github.com/repos/openmv/openmv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmv/openmv/downloads","issues_url":"https://api.github.com/repos/openmv/openmv/issues{/number}","pulls_url":"https://api.github.com/repos/openmv/openmv/pulls{/number}","milestones_url":"https://api.github.com/repos/openmv/openmv/milestones{/number}","notifications_url":"https://api.github.com/repos/openmv/openmv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmv/openmv/labels{/name}","releases_url":"https://api.github.com/repos/openmv/openmv/releases{/id}","deployments_url":"https://api.github.com/repos/openmv/openmv/deployments","created_at":"2013-11-13T10:23:44Z","updated_at":"2016-04-21T00:47:07Z","pushed_at":"2016-04-26T00:47:09Z","git_url":"git://github.com/openmv/openmv.git","ssh_url":"git@github.com:openmv/openmv.git","clone_url":"https://github.com/openmv/openmv.git","svn_url":"https://github.com/openmv/openmv","homepage":null,"size":44536,"stargazers_count":254,"watchers_count":254,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":11,"forks":77,"open_issues":11,"watchers":254,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmv/openmv/pulls/130"},"html":{"href":"https://github.com/openmv/openmv/pull/130"},"issue":{"href":"https://api.github.com/repos/openmv/openmv/issues/130"},"comments":{"href":"https://api.github.com/repos/openmv/openmv/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/openmv/openmv/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/openmv/openmv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmv/openmv/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/openmv/openmv/statuses/367e5fdd3d721457ac1c8ae9398127ea1750b9b5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"iabdalkader","id":4498013,"avatar_url":"https://avatars.githubusercontent.com/u/4498013?v=3","gravatar_id":"","url":"https://api.github.com/users/iabdalkader","html_url":"https://github.com/iabdalkader","followers_url":"https://api.github.com/users/iabdalkader/followers","following_url":"https://api.github.com/users/iabdalkader/following{/other_user}","gists_url":"https://api.github.com/users/iabdalkader/gists{/gist_id}","starred_url":"https://api.github.com/users/iabdalkader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iabdalkader/subscriptions","organizations_url":"https://api.github.com/users/iabdalkader/orgs","repos_url":"https://api.github.com/users/iabdalkader/repos","events_url":"https://api.github.com/users/iabdalkader/events{/privacy}","received_events_url":"https://api.github.com/users/iabdalkader/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":109,"deletions":45,"changed_files":11}}