renderPdfPage method
Converts a given page
from a given pdf
to a bitmap.
Optionally crop the output image to a given x
and y
coordinate with a given width
, height
.
With the scale
argument you can control the output resolution.
Default scale is 1
which means that the output image has exactly the size of the PDF.
Optionally set the background
color which will be used instead of transparency.
Implementation
Future<Uint8List?> renderPdfPage({
required int pdf,
required int page,
int? x,
int? y,
int? width,
int? height,
double? scale,
Color background = const Color(0xFFFFFFFF),
}) async {
throw UnimplementedError('renderPDFPage() has not been implemented.');
}