{"id":13424990,"url":"https://github.com/rootVIII/pdfinverter","last_synced_at":"2025-03-15T19:32:25.190Z","repository":{"id":55945155,"uuid":"312150664","full_name":"rootVIII/pdfinverter","owner":"rootVIII","description":"darken (or lighten) a PDF","archived":true,"fork":false,"pushed_at":"2022-05-03T00:39:15.000Z","size":2521,"stargazers_count":161,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-11T01:06:09.501Z","etag":null,"topics":["golang","image","pdf","pdf-generation","png","qt5-gui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootVIII.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-12T02:53:04.000Z","updated_at":"2024-12-25T23:40:38.000Z","dependencies_parsed_at":"2022-08-15T10:00:59.497Z","dependency_job_id":null,"html_url":"https://github.com/rootVIII/pdfinverter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootVIII%2Fpdfinverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootVIII%2Fpdfinverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootVIII%2Fpdfinverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootVIII%2Fpdfinverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootVIII","download_url":"https://codeload.github.com/rootVIII/pdfinverter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243781746,"owners_count":20347140,"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":["golang","image","pdf","pdf-generation","png","qt5-gui"],"created_at":"2024-07-31T00:01:01.572Z","updated_at":"2025-03-15T19:32:24.867Z","avatar_url":"https://github.com/rootVIII.png","language":"Go","funding_links":[],"categories":["Go","Mac/iOS"],"sub_categories":["Containers"],"readme":"### PDFINVERTER - darken (or lighten) a PDF\n\nPDFInverter (GUI and CLI) will create a new PDF at the specified\nlocation from a source PDF. All colors will be inverted (original shown on left):\n\n\u003cimg src=\"https://user-images.githubusercontent.com/30498791/166346009-2b635dda-3c79-4557-9a7b-20f5bb64f075.png\" alt=\"example1\"\u003e\u003cbr\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/30498791/166346010-9d05b846-c924-4012-9693-928eafbc2a83.png\" alt=\"example2\"\u003e\u003cbr\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/30498791/166346011-c470d255-602c-4379-a8bd-bc0e8a2085ed.png\" alt=\"example3\"\u003e\u003cbr\u003e\n\n\nUnfortunately page links are not preserved, but this program will darken PDFs making them suitable for night reading.\n\n\nA 2-3 page PDF will invert very quickly. However a 400 page PDF may take 3-4 minutes.\n\n\nThis project should build on any platform with \u003ca href=\"https://github.com/gographics/imagick\"\u003eImageMagick bindings\u003c/a\u003e for Golang. \u003ccode\u003eexport CGO_CFLAGS_ALLOW='-Xpreprocessor'\u003c/code\u003e may need to be executed to run/build.\n\n\n\nThe GUI is developed with Golang QT bindings:\n\u003cimg src=\"https://user-images.githubusercontent.com/30498791/166346008-b40e110c-9fb9-4ca1-9434-0e1f5a330171.png\" alt=\"example2\"\u003e\n\n\n###### Get the project and build:\n\u003cpre\u003e\n  \u003ccode\u003e\ngit clone https://github.com/rootVIII/pdfinverter.git\ncd \u0026lt;project root\u0026gt;\ngo build -o bin/pdfinverter\n./bin/pdfinverter \n  \u003c/code\u003e\n\u003c/pre\u003e\n\n\n###### command-line usage:\n\u003cpre\u003e\n  \u003ccode\u003e\n# Required\n-i     input PDF file path\n-o     output PDF file path\n\nNote:  If no command line arguments are provided, the GUI version will open.\n  \u003c/code\u003e\n\u003c/pre\u003e\n\n\u003chr\u003e\nThis project was developed on macOS Big Sur 11.0.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FrootVIII%2Fpdfinverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FrootVIII%2Fpdfinverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FrootVIII%2Fpdfinverter/lists"}