image_to_pdf

Getting Started

This is Flutter simple package where you can simple convert your images Into Single PDf.

The "image_to_pdf" Flutter package is a tool that enables developers to convert one or more images into a single PDF file within their Flutter applications. This package provides a simple and convenient way for users to convert images to PDFs, making it ideal for use in various applications such as document scanning, image gallery apps, and more. The package includes various customizable options such as page size, margins, and image compression level to tailor the output PDF file to the user's preferences. Overall, this package offers a straightforward solution for developers to add image to PDF conversion functionality to their Flutter apps.

Add following dependencies to you pubspec.yaml file

dependencies:
  flutter:
    sdk: flutter
  image_to_pdf_converter:
    git:
      url: https://github.com/talha828/Images_to_pdf
      path: packages/image_to_pdf_converter

provide a image list to constructor

 await  ImageToPdf.imageList(data.fileList) 

in output you get Document convert them in file and use it.

sample application is avaliable

image

figma file link: https://www.figma.com/file/9xrLXdmFqXqWWbeQcw0oon/Image-to-PDF?t=rVyqkpXs84e7yfU8-1

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.