blob: bc2c57bd3beddb0b01ca7c46e9a87fd6e45e9f90 [file] [log] [blame]
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkPDFBitmap_DEFINED
#define SkPDFBitmap_DEFINED
class SkImage;
class SkPDFDocument;
struct SkPDFIndirectReference;
/**
* Serialize a SkImage as an Image Xobject.
* quality > 100 means lossless
*/
SkPDFIndirectReference SkPDFSerializeImage(const SkImage* img,
SkPDFDocument* doc,
int encodingQuality = 101);
#endif // SkPDFBitmap_DEFINED