{"id":16688485,"url":"https://github.com/hoijui/libreofficeimageoptimizer","last_synced_at":"2025-03-13T17:47:23.237Z","repository":{"id":136304984,"uuid":"179754865","full_name":"hoijui/LibreOfficeImageOptimizer","owner":"hoijui","description":"This is an utility that reduces the file-size of images contained within a Libre-/Open-Office document, in order to cut down on the overall file-size, and to save memory and speed up working on the document.","archived":false,"fork":false,"pushed_at":"2019-04-07T09:48:04.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T13:25:29.439Z","etag":null,"topics":["libreoffice","openoffice","tool"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoijui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-05T21:06:41.000Z","updated_at":"2020-01-31T18:27:03.000Z","dependencies_parsed_at":"2023-07-24T07:15:36.801Z","dependency_job_id":null,"html_url":"https://github.com/hoijui/LibreOfficeImageOptimizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoijui%2FLibreOfficeImageOptimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoijui%2FLibreOfficeImageOptimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoijui%2FLibreOfficeImageOptimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoijui%2FLibreOfficeImageOptimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoijui","download_url":"https://codeload.github.com/hoijui/LibreOfficeImageOptimizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243451609,"owners_count":20293168,"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":["libreoffice","openoffice","tool"],"created_at":"2024-10-12T15:43:55.203Z","updated_at":"2025-03-13T17:47:23.215Z","avatar_url":"https://github.com/hoijui.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Libre- and Open-Office image optimizer\n\nThis is an utility that reduces the file-size of images\ncontained within a Libre-/Open-Office document.\n\nThis may heavily cut down on the overall file-size of the document,\nand will thus __save memory__ and __speed up working on the document__,\nThis is most useful if one saves and/or opens the document often,\nor in case of little available RAM.\n\n## Building\n\n```bash\nmvn package\n```\n\nThe resulting \"binary\" will be at\n_target/libreofficeimageoptimizer-*-jar-with-dependencies.jar_.\n\n## Usage\n\n### Examples\n\nFor shortening our command lines, we will use this in all the examples (bash code):\n\n```bash\nalias docOptimizer='java \\\n\t-cp $HOME/src/LibreOfficeImageOptimizer/target/libreofficeimageoptimizer-*-jar-with-dependencies.jar \\\n\tnet.hoijui.libreofficeimageoptimizer.Optimizer'\n```\n\nExample 1 - Optimization with defaults:\n\n```console\ndocOptimizer document-with-huge-images.ods\n```\n\nExample 2 - Write result to a specific file:\n\n```console\ndocOptimizer document-with-huge-images.ods optimized-output.ods\n```\n\nExample 3 - Specify maximum resolution in either direction (width and height);\nthe resizing is always preserving the aspect ratio:\n\n```console\ndocOptimizer -max-size 200 document-with-huge-images.ods\n```\n\n## How it works\n\nIt simply:\n\n 1. unzips the Libre-/Open-Office document to a temporary directory\n 2. resizes the large images, making them smaller\n 3. re-zips the archive into an optimized quasi copy\n    of the original document\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoijui%2Flibreofficeimageoptimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoijui%2Flibreofficeimageoptimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoijui%2Flibreofficeimageoptimizer/lists"}