Class TIFFExporter


  • public class TIFFExporter
    extends Exporter
    A subclass of Exporter that handles saving a PDF as a TIFF file. The name of this feature is TIFFExporter

    This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.

    Since:
    2.10.2
    • Constructor Detail

      • TIFFExporter

        public TIFFExporter()
    • Method Detail

      • getFileFilter

        public FileFilter getFileFilter()
        Description copied from class: Exporter
        Get a FileFilter that matches the Files output by this Exporter
        Specified by:
        getFileFilter in class Exporter
      • getFileSuffix

        public String getFileSuffix()
        Description copied from class: Exporter
        Return the suffix of files normally output by this Exporter, such as "pdf", "tif", "jpg" etc.
        Specified by:
        getFileSuffix in class Exporter
      • getComponent

        public JComponent getComponent​(DocumentPanel panel,
                                       File file)
        Description copied from class: Exporter

        Return a JComponent which prompts the user for additional information after the initial save dialog. An example might be when saving to a bitmap format - this component could prompt for image resolution and so on. If this method returns null (the default), then no additional component will be displayed on save.

        By default this method calls return getComponent(), which calls the legacy method which was the recommended approach prior to 2.15.1

        Overrides:
        getComponent in class Exporter
        Parameters:
        panel - the DocumentPanel containing the PDF being saved
        file - the File being saved to