The ML Platform Behind Uber's AI
Michelangelo AI: 우버의 엔드‑투‑엔드 머신러닝 플랫폼
PDF 파일을 열어 메타데이터·페이지·객체·스트림·폰트·이미지·텍스트를 읽고, 페이지를 복사·분할·병합·회전·재배열한다
Opens Portable Document Format (PDF) files and reads their metadata, pages, objects, streams, fonts, images and text in reading order; copies pages between files to split, merge, rotate and reorder th
개발 도구R · CGitHub @pedrobtz온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Opens Portable Document Format (PDF) files and reads their metadata, pages, objects, streams, fonts, images and text in reading order; copies pages between files to split, merge, rotate and reorder them, and sets metadata, permissions and encryption; and writes new PDF files from R with text, paths and images. Uses a bundled copy of the pdfio library (<https://github.com/michaelrsweet/pdfio>), so no system library beyond zlib is required. Untrusted input is bounded by limits on size, object coun
README 전체를 불러오는 중입니다.
README 전문 보기 ↗zupdf reads, assembles and writes PDF files from R. It opens a file and reads its metadata, pages, objects, streams, fonts, images and text; copies pages between files to split, merge, rotate and reorder them; and writes new files with text, paths and images. It bundles the pdfio C library, so it needs no system library beyond zlib. It never renders a page to pixels: for that, use pdftools.
Install zupdf from CRAN:
install.packages("zupdf")
Or the development version from GitHub:
# install.packages("pak")
pak::pak("pedrobtz/zupdf")
library(zupdf)
pdf <- pdf_open("report.pdf") # a path, raw vector or connection
pdf_meta(pdf)$pages
pdf_page_text(pdf, pages = 1)
pdf_font_table(pdf)
pdf_close(pdf)
Untrusted files are bounded by limits on size, objects, stream size and nesting depth, and every error is a classed condition.
w <- pdf_new(media_box = pdf_paper("a4"))
page <- pdf_page_new(w)
pdf_draw_text(page, 72, 760, "A heading", font = "Helvetica-Bold", size = 18)
pdf_draw(page, data.frame(op = "rect", x = 72, y = 600, w = 200, h = 100), fill = "steelblue")
pdf_page_end(page)
pdf_save(w, "out.pdf")
zupdf provides the pdftools and qpdf functions that need no renderer, under
their names and with their arguments: pdf_info(), pdf_text(),
pdf_data(), pdf_fonts(), pdf_pagesize(), pdf_toc(),
pdf_attachments(), pdf_length(), pdf_split(), pdf_subset(),
pdf_combine() and pdf_rotate_pages(). Code using only these runs with
library(zupdf) in their place. Attached after pdftools or qpdf, zupdf masks
their functions of the same name. See vignette("switching", package = "zupdf")
for where the results differ.