{"action":"created","issue":{"url":"https://api.github.com/repos/neolord0/hwplib/issues/17","repository_url":"https://api.github.com/repos/neolord0/hwplib","labels_url":"https://api.github.com/repos/neolord0/hwplib/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/neolord0/hwplib/issues/17/comments","events_url":"https://api.github.com/repos/neolord0/hwplib/issues/17/events","html_url":"https://github.com/neolord0/hwplib/issues/17","id":325546615,"number":17,"title":"hwp파일에서 이미지만 추출하는 방법 문의","user":{"login":"sshi2074","id":39545558,"avatar_url":"https://avatars0.githubusercontent.com/u/39545558?v=4","gravatar_id":"","url":"https://api.github.com/users/sshi2074","html_url":"https://github.com/sshi2074","followers_url":"https://api.github.com/users/sshi2074/followers","following_url":"https://api.github.com/users/sshi2074/following{/other_user}","gists_url":"https://api.github.com/users/sshi2074/gists{/gist_id}","starred_url":"https://api.github.com/users/sshi2074/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshi2074/subscriptions","organizations_url":"https://api.github.com/users/sshi2074/orgs","repos_url":"https://api.github.com/users/sshi2074/repos","events_url":"https://api.github.com/users/sshi2074/events{/privacy}","received_events_url":"https://api.github.com/users/sshi2074/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T04:37:27Z","updated_at":"2018-05-23T07:14:30Z","closed_at":null,"author_association":"NONE","body":"올려주신 작업관련하여 큰 감동과 많은 도움을 받고 있습니다.\r\n감사합니다.\r\n\r\n초보 작업자로 하나 여쭙고 싶습니다.\r\nHWP파일에서 이미지만 추출하고 싶습니다.\r\n\r\n작업하신 소스를 보고 이미지를 추출하는 방법을 아래처럼 작성해 봤습니다.\r\n추출은 잘 되는데, 실제 윈도우에서 추출된 파일을 읽어보면 이미지 파일이 읽어지지 않습니다.\r\n\r\n가르침을 받고자 합니다.\r\n감사합니다.\r\n\r\n이 사이트에 말씀을 주시거나 메일로 말씀주셔도 됩니다. (연락처: sungho.shin7@gmail.com)\r\n\r\n다시한번 감사인사 드립니다.\r\n감사합니다.\r\n\r\n == 예시 ==\r\n\r\n\t\tString strFilePath = \"c://tmp/hwp01/test-image.hwp\";\r\n\t\t\r\n\t\tHWPFile hwpFile = HWPReader.fromFile(strFilePath);\r\n\t\tList<EmbeddedBinaryData> list = hwpFile.getBinData().getEmbeddedBinaryDataList();\r\n\t\t\r\n\t\tfor(EmbeddedBinaryData e:list) {\r\n\t\t\t\t\t\r\n\t\t\tbyte[] byteData = e.getData();\r\n\t\t\t\r\n\t\t\tString filePath = \"c://tmp/\" + e.getName();\r\n\t\t\tPath path = Paths.get(filePath);\r\n\t\t\tFiles.write(path, byteData);\t\t\t\r\n\t\t}"},"comment":{"url":"https://api.github.com/repos/neolord0/hwplib/issues/comments/391244835","html_url":"https://github.com/neolord0/hwplib/issues/17#issuecomment-391244835","issue_url":"https://api.github.com/repos/neolord0/hwplib/issues/17","id":391244835,"user":{"login":"neolord0","id":24711108,"avatar_url":"https://avatars0.githubusercontent.com/u/24711108?v=4","gravatar_id":"","url":"https://api.github.com/users/neolord0","html_url":"https://github.com/neolord0","followers_url":"https://api.github.com/users/neolord0/followers","following_url":"https://api.github.com/users/neolord0/following{/other_user}","gists_url":"https://api.github.com/users/neolord0/gists{/gist_id}","starred_url":"https://api.github.com/users/neolord0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolord0/subscriptions","organizations_url":"https://api.github.com/users/neolord0/orgs","repos_url":"https://api.github.com/users/neolord0/repos","events_url":"https://api.github.com/users/neolord0/events{/privacy}","received_events_url":"https://api.github.com/users/neolord0/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T07:14:30Z","updated_at":"2018-05-23T07:14:30Z","author_association":"OWNER","body":"코드 상으로는 문제가 없고, 혹시나 해서 제가 테스트 해봤는데  잘 되는 거 같던데요. \r\n테스트 하신 hwp 파일을 보내주실 수 있으시면... 보내주세요.. \r\n\r\n제가 테스트해 보겠습니다. "}}
{"actor":{"display_login":"neolord0"}}