Skip to content

Commit

Permalink
no-op commit to trigger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Oct 12, 2022
1 parent a75c046 commit a6bb839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctr/io/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def read_pdf(
if isinstance(file, Path):
file = str(file)

# Rasterise pages to numpy ndarrays with pypdfium2
# Rasterise pages to numpy ndarrays with pypdfium2.
pdf = pdfium.PdfDocument(file, password=password)
renderer = pdf.render_to(pdfium.BitmapConv.numpy_ndarray, scale=scale, rev_byteorder=rgb_mode, **kwargs)
return [img for img, _ in renderer]

0 comments on commit a6bb839

Please sign in to comment.