1

Is there a way to save the com.itextpdf.text.Image file as a jpg file on the SD card in android?

I am creating an image from template and i want the image to be saved on the SD card. Any help is appreciated.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
  • https://stackoverflow.com/questions/9396243/how-to-save-the-image-to-sd-card-on-button-click-android – letsCode Dec 29 '17 at 15:06
  • 1
    iText doesn't render PDF pages to images. The `Image` object you obtained from a `PdfImportedPage` is a vector image consisting of PDF syntax that can only be reused in another PDF. You can change it into a raster image such as jpg. – Bruno Lowagie Dec 29 '17 at 16:23
  • Possible duplicate of [How to save the image to SD card on button Click android](https://stackoverflow.com/questions/9396243/how-to-save-the-image-to-sd-card-on-button-click-android) – akraf Dec 29 '17 at 17:37
  • @BrunoLowagie Is this possible yet? – M Akin Aug 01 '23 at 22:27

0 Answers0