pdf_bitmaps 0.2.2 pdf_bitmaps: ^0.2.2 copied to clipboard
A Flutter pdf bitmaps generator and page counter using Android native pdfRenderer.
0.2.2 #
- Added
pdfPagesSize
method for getting size info of a page of pdf.
0.2.1 #
- BREAKING: Removed
scale
,backgroundColor
,pageIndex
,pagesIndexes
. - Added
pageInfo
to be used likeparams: PDFBitmapParams(pdfPath: pdfPath, pageInfo: PageInfo(pageNumber: 5, rotationAngle: 153, scale: 1.6, backgroundColor: Colors.red))
. - Added
pagesInfo
to be used likeparams: PDFBitmapsParams(pdfPath: pdfPath, pagesInfo: [PageInfo(pageNumber: 5, rotationAngle: 153, scale: 1.6, backgroundColor: Colors.red)])
. - Updated example and readme.
0.1.2 #
- Fixes issues due to calling page count while generating bitmaps.
0.1.1 #
- BREAKING:
quality
is replaced withscale
and scale takes a double value greater than 0 & less than and equal to 5 (Also fixes the plugin performance issue). - BREAKING:
pdfUri
is replaced withpdfPath
as nowpdfPath
is capable of taking care both URI path and absolute file path. - Added new method
pdfBitmaps()
which takes a list of page indexes and provides a list of Bytes as result. - Added new option
backgroundColor
which takes color to apply on the background of the pdf bitmap. - Added new method
cancelBitmaps()
which allows cancelling running bitmaps tasks.
0.0.2 #
- Added support to get bitmaps and page count for both uri and absolute file path.
0.0.1 #
- Initial release.