{"action":"created","issue":{"url":"https://api.github.com/repos/benbalter/word-to-markdown/issues/69","labels_url":"https://api.github.com/repos/benbalter/word-to-markdown/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/benbalter/word-to-markdown/issues/69/comments","events_url":"https://api.github.com/repos/benbalter/word-to-markdown/issues/69/events","html_url":"https://github.com/benbalter/word-to-markdown/issues/69","id":125815358,"number":69,"title":"Image handling?","user":{"login":"bitnumus","id":3339587,"avatar_url":"https://avatars.githubusercontent.com/u/3339587?v=3","gravatar_id":"","url":"https://api.github.com/users/bitnumus","html_url":"https://github.com/bitnumus","followers_url":"https://api.github.com/users/bitnumus/followers","following_url":"https://api.github.com/users/bitnumus/following{/other_user}","gists_url":"https://api.github.com/users/bitnumus/gists{/gist_id}","starred_url":"https://api.github.com/users/bitnumus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitnumus/subscriptions","organizations_url":"https://api.github.com/users/bitnumus/orgs","repos_url":"https://api.github.com/users/bitnumus/repos","events_url":"https://api.github.com/users/bitnumus/events{/privacy}","received_events_url":"https://api.github.com/users/bitnumus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-10T11:53:40Z","updated_at":"2016-01-11T15:47:37Z","closed_at":"2016-01-11T15:47:37Z","body":"Hi, this may be more a question rather than an issue but wasn't sure of a better place to ask.\r\n\r\nCurrently i'm just testing this code, would be perfect for me and save a lot of time. I just have a question about image handling.\r\n\r\nI'm converting like this:\r\n\r\nw2c /path/to/file.doc >> new.md\r\n\r\nHowever, images are spamming the code with hex or whatever it is :). How can i convert the images to a uri or something that'll point to a local file?\r\n\r\nMany thanks"},"comment":{"url":"https://api.github.com/repos/benbalter/word-to-markdown/issues/comments/170592573","html_url":"https://github.com/benbalter/word-to-markdown/issues/69#issuecomment-170592573","issue_url":"https://api.github.com/repos/benbalter/word-to-markdown/issues/69","id":170592573,"user":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"created_at":"2016-01-11T15:47:37Z","updated_at":"2016-01-11T15:47:37Z","body":"> However, images are spamming the code with hex or whatever it is :). How can i convert the images to a uri or something that'll point to a local file?\r\n\r\nIt's Base64 encoded, to keep the images *within* the document. If you'd like, you can pull them out of the original `.docx` file, and save them to disk or upload them somewhere. You'll just need to replace the src for the image in the resulting markdown with image you pulled out."}}