xref: /third_party/skia/src/pdf/SkPDFBitmap.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/src/pdf/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci * Copyright 2015 Google Inc.
3cb93a386Sopenharmony_ci *
4cb93a386Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci * found in the LICENSE file.
6cb93a386Sopenharmony_ci */
7cb93a386Sopenharmony_ci#ifndef SkPDFBitmap_DEFINED
8cb93a386Sopenharmony_ci#define SkPDFBitmap_DEFINED
9cb93a386Sopenharmony_ci
10cb93a386Sopenharmony_ciclass SkImage;
11cb93a386Sopenharmony_ciclass SkPDFDocument;
12cb93a386Sopenharmony_cistruct SkPDFIndirectReference;
13cb93a386Sopenharmony_ci
14cb93a386Sopenharmony_ci/**
15cb93a386Sopenharmony_ci * Serialize a SkImage as an Image Xobject.
16cb93a386Sopenharmony_ci *  quality > 100 means lossless
17cb93a386Sopenharmony_ci */
18cb93a386Sopenharmony_ciSkPDFIndirectReference SkPDFSerializeImage(const SkImage* img,
19cb93a386Sopenharmony_ci                                           SkPDFDocument* doc,
20cb93a386Sopenharmony_ci                                           int encodingQuality = 101);
21cb93a386Sopenharmony_ci
22cb93a386Sopenharmony_ci#endif  // SkPDFBitmap_DEFINED
23

Indexes created Thu Nov 07 10:32:03 CST 2024