{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/425","repository_url":"https://api.github.com/repos/jcupitt/libvips","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/425/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/425/events","html_url":"https://github.com/jcupitt/libvips/issues/425","id":149272810,"number":425,"title":"resize just one section of an image?","user":{"login":"mikesmith20","id":18539785,"avatar_url":"https://avatars.githubusercontent.com/u/18539785?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesmith20","html_url":"https://github.com/mikesmith20","followers_url":"https://api.github.com/users/mikesmith20/followers","following_url":"https://api.github.com/users/mikesmith20/following{/other_user}","gists_url":"https://api.github.com/users/mikesmith20/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesmith20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesmith20/subscriptions","organizations_url":"https://api.github.com/users/mikesmith20/orgs","repos_url":"https://api.github.com/users/mikesmith20/repos","events_url":"https://api.github.com/users/mikesmith20/events{/privacy}","received_events_url":"https://api.github.com/users/mikesmith20/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcupitt/libvips/labels/question","name":"question","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T21:10:15Z","updated_at":"2016-04-19T06:30:51Z","closed_at":null,"body":"I'd like to resize a small part of an image, but use the pixels around the edge (that will be cropped out) as context for the resize. Is there a way to do this? I imagine it has something to do with VipsRegion and its \"valid\" VipsRect."},"comment":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/comments/211756082","html_url":"https://github.com/jcupitt/libvips/issues/425#issuecomment-211756082","issue_url":"https://api.github.com/repos/jcupitt/libvips/issues/425","id":211756082,"user":{"login":"mikesmith20","id":18539785,"avatar_url":"https://avatars.githubusercontent.com/u/18539785?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesmith20","html_url":"https://github.com/mikesmith20","followers_url":"https://api.github.com/users/mikesmith20/followers","following_url":"https://api.github.com/users/mikesmith20/following{/other_user}","gists_url":"https://api.github.com/users/mikesmith20/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesmith20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesmith20/subscriptions","organizations_url":"https://api.github.com/users/mikesmith20/orgs","repos_url":"https://api.github.com/users/mikesmith20/repos","events_url":"https://api.github.com/users/mikesmith20/events{/privacy}","received_events_url":"https://api.github.com/users/mikesmith20/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T06:30:51Z","updated_at":"2016-04-19T06:30:51Z","body":"That's a good solution for a large file on disk, but not if the large file is streaming over the network. I want to do something like new_from_buffer, without waiting for the entire compressed file to download.\r\n\r\nThere's another related use case, where I want to run GPU processing algorithms while retaining the nice incremental processing of vips."}}