How to insert an image in the PdfGrid on List<MediaReference>

How can i add my images from my List. i want to add these images into the grid.


final PdfImage image = PdfBitmap(raporBilgi.fotograflar![0])



1 Reply

GK Gowthamraj Kumar Syncfusion Team September 9, 2022 02:15 PM UTC

Hi ibrahim topyanak,


Syncfusion Flutter PDF library allows you to convert the PDF documents from Raster images (JPEG, PNG) in Dart. You can load image data in PdfBitmap object to draw the images using the drawImage method of the PdfGraphics class. The image data can be initialized as list of bytes or base64 string format.


Please refer to the below documentation link for more information,

UG: https://help.syncfusion.com/flutter/pdf/working-with-images

KB: https://www.syncfusion.com/kb/11965/how-to-convert-image-to-pdf-in-syncfusion-flutter-pdf-library


Please let us know if you need any further assistance in this.


Regards,

Gowthamraj K


Loader.
Up arrow icon