Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: go/pdf/pdf.go

Issue 1216483002: golden/pdfxform a pdf rasterization server (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /* PDF Rasterizer Package
2
3 This package provides the Pdfium and Poppler rasterizers. Pdfium
4 requires the `pdfium_test` executable be located in the PATH. Poppler
5 requires `pdftoppm` (provided by poppler-utils) and `pnmtopng`
6 (provided by netpbm). */
7
8 package pdf
9
10 type Rasterizer interface {
11 // Rasterize will take the path to a PDF file and rasterize the
12 // file. If the file has multiple pages, discard all but the first
13 // page. The output file will be in PNG format.
14 Rasterize(pdfInputPath, pngOutputPath string) error
15 // Return the name of this rasterizer.
16 String() string
17 // Return false if the rasterizer is found.
18 Enabled() bool
19 }
OLDNEW
« no previous file with comments | « go/pdf/functions.go ('k') | go/pdf/pdf_test.go » ('j') | golden/go/pdfxform/pdfxform.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698