pdf_to_image_converter 0.0.5 copy "pdf_to_image_converter: ^0.0.5" to clipboard
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 RenderQuality enum with 6 predefined quality levels (thumbnail, low, medium, high, print, ultra)
  • Page Rotation - New PageRotation enum supporting 0°, 90°, 180°, and 270° rotations
  • Page Range Rendering - New renderPageRange() method to convert specific page ranges
  • Thumbnail Generation - New renderThumbnail() and renderAllThumbnails() methods for quick low-resolution previews
  • Cancellation Support - New CancellationToken class to stop long-running batch operations
  • Custom Per-Page Settings - New renderPagesWithConfig() method and PageRenderConfig class for applying different settings per page
  • PDF Metadata - New PdfMetadata class and metadata getter to extract document information (title, page count, etc.)
  • Batch Page Sizes - New getAllPageSizes() method to get dimensions of all pages at once
  • Added rotation parameter to all rendering methods for page rotation support
  • Added quality parameter to rendering methods as convenient alternative to manual scale setting
  • Added cancellationToken parameter 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 for scale, with new quality preset 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_saver dependency
  • BREAKING: saveImage() now requires a filePath parameter to specify where to save the image
  • BREAKING: saveAllImages() now requires an outputDirectory parameter and supports custom file naming patterns
  • BREAKING: renderPage() now uses named parameters for scale, with new quality preset 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 RenderQuality enum with 6 predefined quality levels (thumbnail, low, medium, high, print, ultra)
  • Page Rotation - New PageRotation enum supporting 0°, 90°, 180°, and 270° rotations
  • Page Range Rendering - New renderPageRange() method to convert specific page ranges
  • Thumbnail Generation - New renderThumbnail() and renderAllThumbnails() methods for quick previews
  • Cancellation Support - New CancellationToken class to stop long-running operations
  • Custom Per-Page Settings - New renderPagesWithConfig() method and PageRenderConfig class for different settings per page
  • PDF Metadata - New PdfMetadata class and metadata getter to extract document information
  • Batch Page Sizes - New getAllPageSizes() method to get dimensions of all pages at once
  • Added dart:io import for file operations
  • Added fileNamePattern parameter to saveAllImages() method with {index} placeholder support
  • Added rotation parameter to all rendering methods
  • Added quality parameter to all rendering methods as alternative to manual scale setting
  • Added cancellationToken parameter 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_saver package
  • 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 optional scale and background parameters
  • 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_picker dependency constraint to support latest versions (^8.0.0)
  • Moved mockito to 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

0.0.2 - 2024-07-21 #

Added #

  • Added onSave callback in saveImage method to notify about save status.

Fixed #

  • Fixed issue with rendering specific PDF pages.
16
likes
160
points
237
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for converting PDF to images with quality presets, rotation, thumbnails, batch processing, and metadata extraction.

Repository (GitHub)
View/report issues

Topics

#pdf #image #converter #pdf-to-image #rendering

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

file_picker, flutter, pdf_image_renderer

More

Packages that depend on pdf_to_image_converter