| 335 | } |
| 336 | |
| 337 | PDFIndirectReference PDFBitmap::Serialize(const std::shared_ptr<Image>& image, |
| 338 | PDFDocumentImpl* document, int encodingQuality) { |
| 339 | DEBUG_ASSERT(image); |
| 340 | DEBUG_ASSERT(document); |
| 341 | auto ref = document->reserveRef(); |
| 342 | SerializeImage(image, encodingQuality, document, ref); |
| 343 | return ref; |
| 344 | } |
| 345 | } // namespace tgfx |
nothing calls this directly
no test coverage detected