pdf_to_image_converter 0.0.5
pdf_to_image_converter: ^0.0.5 copied to clipboard
Flutter package for converting PDF to images with quality presets, rotation, thumbnails, batch processing, and metadata extraction.
0.0.5 - 2025-12-14 #
Added #
- Quality Presets - New
RenderQualityenum with 6 predefined quality levels (thumbnail, low, medium, high, print, ultra) - Page Rotation - New
PageRotationenum supporting 0°, 90°, 180°, and 270° rotations - Page Range Rendering - New
renderPageRange()method to convert specific page ranges - Thumbnail Generation - New
renderThumbnail()andrenderAllThumbnails()methods for quick low-resolution previews - Cancellation Support - New
CancellationTokenclass to stop long-running batch operations - Custom Per-Page Settings - New
renderPagesWithConfig()method andPageRenderConfigclass for applying different settings per page - PDF Metadata - New
PdfMetadataclass andmetadatagetter to extract document information (title, page count, etc.) - Batch Page Sizes - New
getAllPageSizes()method to get dimensions of all pages at once - Added
rotationparameter to all rendering methods for page rotation support - Added
qualityparameter to rendering methods as convenient alternative to manual scale setting - Added
cancellationTokenparameter to batch operations for cancellation support - Comprehensive example app demonstrating all features with interactive UI
- Enhanced documentation with 8+ usage examples covering all features
- Performance tips and troubleshooting guide in README
Changed #
- BREAKING:
renderPage()now uses named parameters forscale, with newqualitypreset parameter - Enhanced
renderPage()method signature with rotation and quality preset support - Enhanced
renderAllPages()method with cancellation support and quality presets - Enhanced
saveAllImages()method with cancellation support - Updated README with professional formatting (removed emojis) and comprehensive API documentation
- Updated example README with detailed feature documentation and usage instructions
Fixed #
- Code formatting issues - all files now follow Dart style guidelines
- Improved error handling in rendering methods
- Better memory management for batch operations
0.0.4 - 2025-12-14 #
Changed #
- BREAKING: Removed deprecated
image_gallery_saverdependency - BREAKING:
saveImage()now requires afilePathparameter to specify where to save the image - BREAKING:
saveAllImages()now requires anoutputDirectoryparameter and supports custom file naming patterns - BREAKING:
renderPage()now uses named parameters forscale, with newqualitypreset parameter - Updated save functionality to use native Dart file I/O instead of gallery saving
- Updated package description to reflect file-based saving instead of gallery saving
- Enhanced
renderPage()method signature with additional parameters for quality presets and rotation - Enhanced
renderAllPages()method with cancellation support and quality presets - Enhanced
saveAllImages()method with cancellation support
Added #
- Quality Presets - New
RenderQualityenum with 6 predefined quality levels (thumbnail, low, medium, high, print, ultra) - Page Rotation - New
PageRotationenum supporting 0°, 90°, 180°, and 270° rotations - Page Range Rendering - New
renderPageRange()method to convert specific page ranges - Thumbnail Generation - New
renderThumbnail()andrenderAllThumbnails()methods for quick previews - Cancellation Support - New
CancellationTokenclass to stop long-running operations - Custom Per-Page Settings - New
renderPagesWithConfig()method andPageRenderConfigclass for different settings per page - PDF Metadata - New
PdfMetadataclass andmetadatagetter to extract document information - Batch Page Sizes - New
getAllPageSizes()method to get dimensions of all pages at once - Added
dart:ioimport for file operations - Added
fileNamePatternparameter tosaveAllImages()method with{index}placeholder support - Added
rotationparameter to all rendering methods - Added
qualityparameter to all rendering methods as alternative to manual scale setting - Added
cancellationTokenparameter to batch operations - Automatic directory creation for batch save operations
- Comprehensive example app demonstrating all features with interactive UI
Fixed #
- Fixed dependency issues with outdated
image_gallery_saverpackage - Updated example code to use new file-based saving API and all new features
- Updated README with corrected API documentation and comprehensive examples
- Code formatting issues - all files now follow Dart style guidelines
0.0.3 - 2025-12-13 #
Added #
- Custom quality control -
renderPage()now accepts optionalscaleandbackgroundparameters - Batch processing - New
renderAllPages()method to render all pages at once - Page dimensions - New
getPageSize()method to get page dimensions before rendering - Batch saving - New
saveAllImages()method to save multiple images - Progress callbacks - Real-time progress tracking for batch operations
- Comprehensive dartdoc comments for all public API members (100% documentation coverage)
- Proper example application in
example/directory following Dart conventions - Example README with platform setup instructions and usage guide
- Enhanced example app with quality slider, batch operations, and progress indicators
Changed #
- Updated
file_pickerdependency constraint to support latest versions (^8.0.0) - Moved
mockitoto dev_dependencies for proper package structure - Enhanced package description to meet pub.dev requirements
- Improved example app UI with better user feedback and status updates
Fixed #
- Code formatting issues - all files now follow Dart style guidelines
- Package structure now follows Dart conventions with proper example placement