pdf_bitmaps 0.2.1
pdf_bitmaps: ^0.2.1 copied to clipboard
A Flutter pdf bitmaps generator and page counter using Android native pdfRenderer.
0.2.1 #
- BREAKING: Removed
scale,backgroundColor,pageIndex,pagesIndexs. - Added
pageInfoto be used likeparams: PDFBitmapParams(pdfPath: pdfPath, pageInfo: PageInfo(pageNumber: 5, rotationAngle: 153, scale: 1.6, backgroundColor: Colors.red)). - Added
pagesInfoto 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:
qualityis replaced withscaleand scale takes a double value greater than 0 & less than and equal to 5 (Also fixes the plugin performance issue). - BREAKING:
pdfUriis replaced withpdfPathas nowpdfPathis 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
backgroundColorwhich 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.