{"action":"created","issue":{"url":"https://api.github.com/repos/OpenImageIO/oiio/issues/1041","labels_url":"https://api.github.com/repos/OpenImageIO/oiio/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/OpenImageIO/oiio/issues/1041/comments","events_url":"https://api.github.com/repos/OpenImageIO/oiio/issues/1041/events","html_url":"https://github.com/OpenImageIO/oiio/pull/1041","id":55206811,"number":1041,"title":"Sync get_texture_info() with the documentation","user":{"login":"darkhorse64","id":1331631,"avatar_url":"https://avatars.githubusercontent.com/u/1331631?v=3","gravatar_id":"","url":"https://api.github.com/users/darkhorse64","html_url":"https://github.com/darkhorse64","followers_url":"https://api.github.com/users/darkhorse64/followers","following_url":"https://api.github.com/users/darkhorse64/following{/other_user}","gists_url":"https://api.github.com/users/darkhorse64/gists{/gist_id}","starred_url":"https://api.github.com/users/darkhorse64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkhorse64/subscriptions","organizations_url":"https://api.github.com/users/darkhorse64/orgs","repos_url":"https://api.github.com/users/darkhorse64/repos","events_url":"https://api.github.com/users/darkhorse64/events{/privacy}","received_events_url":"https://api.github.com/users/darkhorse64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-22T20:48:43Z","updated_at":"2015-01-26T06:24:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenImageIO/oiio/pulls/1041","html_url":"https://github.com/OpenImageIO/oiio/pull/1041","diff_url":"https://github.com/OpenImageIO/oiio/pull/1041.diff","patch_url":"https://github.com/OpenImageIO/oiio/pull/1041.patch"},"body":"The documentation says: \r\n\r\nSupported dataname values include:\r\n\r\nexists Return 1 if the file exists and is an image format that OpenImageIO knows how to read, otherwise return 0. The data pointer is not used.\r\n\r\nActually, it always returns true and write the result in data. \r\n\r\nThis pull request syncs the code with the doc. Alternatively, the doc can be changed not to break compatibility\r\n"},"comment":{"url":"https://api.github.com/repos/OpenImageIO/oiio/issues/comments/71418965","html_url":"https://github.com/OpenImageIO/oiio/pull/1041#issuecomment-71418965","issue_url":"https://api.github.com/repos/OpenImageIO/oiio/issues/1041","id":71418965,"user":{"login":"lgritz","id":504179,"avatar_url":"https://avatars.githubusercontent.com/u/504179?v=3","gravatar_id":"","url":"https://api.github.com/users/lgritz","html_url":"https://github.com/lgritz","followers_url":"https://api.github.com/users/lgritz/followers","following_url":"https://api.github.com/users/lgritz/following{/other_user}","gists_url":"https://api.github.com/users/lgritz/gists{/gist_id}","starred_url":"https://api.github.com/users/lgritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgritz/subscriptions","organizations_url":"https://api.github.com/users/lgritz/orgs","repos_url":"https://api.github.com/users/lgritz/repos","events_url":"https://api.github.com/users/lgritz/events{/privacy}","received_events_url":"https://api.github.com/users/lgritz/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T06:24:54Z","updated_at":"2015-01-26T06:24:54Z","body":"I propose instead #1046, just change the docs to match the behavior we have had all along.\r\n"}}