You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"client","path":"client","contentType":"directory"},{"name":"docd","path":"docd","contentType":"directory"},{"name":"iWork","path":"iWork","contentType":"directory"},{"name":"snappy","path":"snappy","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"doc.go","path":"doc.go","contentType":"file"},{"name":"docconv.go","path":"docconv.go","contentType":"file"},{"name":"docconv_test.go","path":"docconv_test.go","contentType":"file"},{"name":"docx.go","path":"docx.go","contentType":"file"},{"name":"html.go","path":"html.go","contentType":"file"},{"name":"html_appengine.go","path":"html_appengine.go","contentType":"file"},{"name":"image.go","path":"image.go","contentType":"file"},{"name":"image_ocr.go","path":"image_ocr.go","contentType":"file"},{"name":"local.go","path":"local.go","contentType":"file"},{"name":"odt.go","path":"odt.go","contentType":"file"},{"name":"pages.go","path":"pages.go","contentType":"file"},{"name":"pdf.go","path":"pdf.go","contentType":"file"},{"name":"pdf_ocr.go","path":"pdf_ocr.go","contentType":"file"},{"name":"pdf_text.go","path":"pdf_text.go","contentType":"file"},{"name":"rtf.go","path":"rtf.go","contentType":"file"},{"name":"tidy.go","path":"tidy.go","contentType":"file"},{"name":"url.go","path":"url.go","contentType":"file"},{"name":"xml.go","path":"xml.go","contentType":"file"}],"totalCount":26}},"fileTreeProcessingTime":10.341182000000002,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":144055879,"defaultBranch":"master","name":"docconv","ownerLogin":"obrodinho","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-08-08T18:58:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/465634?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1613562923.5447092","canEdit":false,"refType":"branch","currentOid":"70c59bf00496961104cb0bc191702d8bcd37f830"},"path":"image.go","currentUser":null,"blob":{"rawLines":["// +build !ocr","","package docconv","","import (","\t\"fmt\"","\t\"io\"",")","","// ConvertImage converts images to text.","// Requires gosseract (ocr build tag).","func ConvertImage(r io.Reader) (string, map[string]string, error) {","\treturn \"\", nil, fmt.Errorf(\"docconv not built with `ocr` build tag\")","}","","// SetImageLanguages sets the languages parameter passed to gosseract.","func SetImageLanguages(string) {}"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/obrodinho/docconv/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"image.go","displayUrl":"https://github.com/obrodinho/docconv/blob/master/image.go?raw=true","headerInfo":{"blobSize":"384 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"8648052","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fobrodinho%2Fdocconv%2Fblob%2Fmaster%2Fimage.go","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"17","truncatedSloc":"13"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Go","languageID":132,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/obrodinho/docconv/blob/master/image.go","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/obrodinho/docconv/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/obrodinho/docconv/raw/refs/heads/master/image.go","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"ConvertImage","kind":"function","ident_start":143,"ident_end":155,"extent_start":138,"extent_end":277,"fully_qualified_name":"ConvertImage","ident_utf16":{"start":{"line_number":11,"utf16_col":5},"end":{"line_number":11,"utf16_col":17}},"extent_utf16":{"start":{"line_number":11,"utf16_col":0},"end":{"line_number":13,"utf16_col":1}}},{"name":"SetImageLanguages","kind":"function","ident_start":355,"ident_end":372,"extent_start":350,"extent_end":383,"fully_qualified_name":"SetImageLanguages","ident_utf16":{"start":{"line_number":16,"utf16_col":5},"end":{"line_number":16,"utf16_col":22}},"extent_utf16":{"start":{"line_number":16,"utf16_col":0},"end":{"line_number":16,"utf16_col":33}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/obrodinho/docconv/branches":{"post":"9km1xfgXI5te--sxwY6nD08RKi_IqdOGVakmouJrVZKVgFKFbOt34oVp94fvfketbhHlexEk2CjU2EGzkUElVw"},"/repos/preferences":{"post":"fbyb0j23NTX4L-w_xNhC2VdSLn0tnHwNgGWreLq6WGhUfm2R1lDOnL3Mt1WDUjbwT6p-C-t7mM5yZ_j3AQ80EQ"}}},"title":"docconv/image.go at master · obrodinho/docconv","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}