{"id":19728638,"url":"https://github.com/tomroush/pdfbox-android","last_synced_at":"2025-05-15T13:07:13.462Z","repository":{"id":13458511,"uuid":"16148181","full_name":"TomRoush/PdfBox-Android","owner":"TomRoush","description":"The Apache PdfBox project ported to work on Android","archived":false,"fork":false,"pushed_at":"2024-03-18T20:51:33.000Z","size":74383,"stargazers_count":1076,"open_issues_count":123,"forks_count":273,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-05-15T13:07:09.732Z","etag":null,"topics":["android","android-library","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TomRoush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2014-01-22T18:29:09.000Z","updated_at":"2025-05-09T10:57:15.000Z","dependencies_parsed_at":"2023-12-28T21:55:36.514Z","dependency_job_id":"bddd1fa8-cd57-42da-89a3-aa321f9345f7","html_url":"https://github.com/TomRoush/PdfBox-Android","commit_stats":{"total_commits":365,"total_committers":21,"mean_commits":17.38095238095238,"dds":0.263013698630137,"last_synced_commit":"acf64258dd2ce575fea8ac4e51f57cca7f4945d7"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomRoush%2FPdfBox-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomRoush%2FPdfBox-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomRoush%2FPdfBox-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomRoush%2FPdfBox-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomRoush","download_url":"https://codeload.github.com/TomRoush/PdfBox-Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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":["android","android-library","java"],"created_at":"2024-11-12T00:06:30.038Z","updated_at":"2025-05-15T13:07:10.137Z","avatar_url":"https://github.com/TomRoush.png","language":"Java","readme":"PdfBox-Android\n==============\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.tom-roush/pdfbox-android/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.tom-roush/pdfbox-android/)\n[![Build Status](https://github.com/TomRoush/PdfBox-Android/actions/workflows/android-ci.yml/badge.svg?branch=master)](https://github.com/TomRoush/PdfBox-Android/actions)\n\nA port of Apache's PdfBox library to be usable on Android. Most features should be implemented by now. Feature requests can be added to the issue tracker. Stable releases can be added as a Gradle dependency from Maven Central.\n\nThe main code of this project is licensed under the Apache 2.0 License, found at http://www.apache.org/licenses/LICENSE-2.0.html\n\nUsage\n==============\n\nAdd the following to dependency to `build.gradle`:\n\n```gradle\ndependencies {\n    implementation 'com.tom-roush:pdfbox-android:2.0.27.0'\n}\n```\n\nBefore calls to PDFBox are made it is required to initialize the library's resource loader. Add the following line before calling PDFBox methods:\n\n```java\nPDFBoxResourceLoader.init(getApplicationContext());\n```\n\nAn example app is located in the `sample` directory and includes examples of common tasks.\n\nOptional Dependencies\n==============\n\nPdfBox-Android can optionally make use of additional features provided by third-party libraries. These libraries are not included by default to reduce the size of the PdfBox-Android. See the `dependencies` section in the`build.gradle` of the Sample project for examples of including the optional dependencies.\n\nReading JPX Images\n-------------\n\nAndroid does not come with native support for handling JPX images. These images can be read using the [JP2Android library](https://github.com/ThalesGroup/JP2ForAndroid). As JPX is not a common image format, this library is not included with PdfBox-Android by default. If the JP2Android library is not on the classpath of your application, JPX images will be ignored and a warning will be logged.\n\nTo include the JP2Android library, add the following to your project's Gradle `dependencies` section. Note that this library is available in JCenter only, so you will need to add `jcenter()` to your repository list.\n```gradle\ndependencies {\n    implementation 'com.gemalto.jp2:jp2-android:1.0.3'\n}\n```\n\nImportant notes\n==============\n\n* Currently based on PDFBox v2.0.27\n\n* Requires API 19 or greater for full functionality\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomroush%2Fpdfbox-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomroush%2Fpdfbox-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomroush%2Fpdfbox-android/lists"}