{"id":15168558,"url":"https://github.com/antononcube/raku-image-markup-utilities","last_synced_at":"2026-01-21T18:35:08.808Z","repository":{"id":211740540,"uuid":"729844324","full_name":"antononcube/Raku-Image-Markup-Utilities","owner":"antononcube","description":"Raku package for functions that facilitate the import, export, and viewing of images in different Markup types of documents.","archived":false,"fork":false,"pushed_at":"2023-12-17T13:33:49.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T09:34:01.938Z","etag":null,"topics":["base64","base64-encoding","image","markup","raku","rakulang","rendering"],"latest_commit_sha":null,"homepage":"https://raku.land/zef:antononcube/Image::Markup::Utilities","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antononcube.png","metadata":{"files":{"readme":"README-work.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-10T14:33:43.000Z","updated_at":"2023-12-17T15:12:55.000Z","dependencies_parsed_at":"2023-12-10T16:24:56.981Z","dependency_job_id":"9cad0e24-eef3-4abf-80ae-e3d7d038af39","html_url":"https://github.com/antononcube/Raku-Image-Markup-Utilities","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"939a2845f5228301eff165f35e950f15bff60aa7"},"previous_names":["antononcube/raku-image-markup-utilities"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-Image-Markup-Utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-Image-Markup-Utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-Image-Markup-Utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-Image-Markup-Utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antononcube","download_url":"https://codeload.github.com/antononcube/Raku-Image-Markup-Utilities/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248059088,"owners_count":21040883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base64","base64-encoding","image","markup","raku","rakulang","rendering"],"created_at":"2024-09-27T06:22:44.315Z","updated_at":"2026-01-21T18:35:08.777Z","avatar_url":"https://github.com/antononcube.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image::Markup::Utilities\n\nRaku package for functions that facilitate the import, export, and viewing of images in different Markup types of documents.\n\n## Installation\n\nFrom GitHub:\n\n```\nzef install https://github.com/antononcube/Raku-Image-Markup-Utilities.git\n```\n\nFrom [Zef ecosystem](https://raku.land):\n\n```\nzef install Image::Markup::Utilities;\n```\n\n-------\n\n## Usage examples\n\nImport an image and display it:\n\n```perl6, results=asis, output-prompt=NONE, eval=TRUE\nuse Image::Markup::Utilities;\nmy $img = image-import($*CWD ~ '/resources/RandomMandala.png', format =\u003e 'asis');\nimage-from-base64($img);\n```\n\n**Remark:** GitHub's Markdown renderer does not display the image imported above, \nbut other Markdown rendering apps, like, One Markdown or Visual Studio Code do show the image.\n\n**Remark:** If this Markdown file is converted into an HTML file, say, with \n[\"Markdown::Grammar\"](https://raku.land/zef:antononcube/Markdown::Grammar), [AAp3],\nthe image is seen any browser.\n\n-------\n\n## Implementation notes\n\n- Initial version of the function `image-from-base64` was implemented in \"Text::Plot\", [AAp1].\n  - In order to streamline the presentation material of the video [\"Using Wolfram Engine in Raku sessions\"](https://www.youtube.com/watch?v=nWeGkJU3wdM), [AAv1].  \n- Initial versions of the functions `image-encode` and `image-export` were implemented in the package \"WWW::OpenAI\", [AAp2].\n  - Now \"WWW::OpenAI\" depends on this package. \n\n-------\n\n## References\n\n### Packages\n\n[AAp1] Anton Antonov, \n[Text::Plot Raku package](https://github.com/antononcube/Raku-Text-Plot),\n(2022-2023),\n[GitHub/antononcube](https://github.com/antononcube/).\n\n[AAp2] Anton Antonov,\n[WWW::OpenAI Raku package](https://github.com/antononcube/Raku-WWW-OpenAI),\n(2023),\n[GitHub/antononcube](https://github.com/antononcube/).\n\n[AAp2] Anton Antonov,\n[Markdown::Grammar Raku package](https://github.com/antononcube/Raku-Markdown-Grammar),\n(2023),\n[GitHub/antononcube](https://github.com/antononcube/).\n\n### Videos\n\n[AAv1] Anton Antonov,\n[\"Using Wolfram Engine in Raku sessions\"](https://www.youtube.com/watch?v=nWeGkJU3wdM),\n(2022),\n[YouTube/antononcube](https://www.youtube.com/@AAA4prediction).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantononcube%2Fraku-image-markup-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantononcube%2Fraku-image-markup-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantononcube%2Fraku-image-markup-utilities/lists"}