blob: 663f7646ad0fec88a0a5af784923a93045c1ed07 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PDF_PDFIUM_PDFIUM_OCR_H_
#define PDF_PDFIUM_PDFIUM_OCR_H_
#include "third_party/pdfium/public/fpdfview.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace chrome_pdf {
SkBitmap GetImageForOcr(FPDF_DOCUMENT doc,
FPDF_PAGE page,
int page_object_index);
} // namespace chrome_pdf
#endif // PDF_PDFIUM_PDFIUM_OCR_H_