code: @Override
     public void loadTiff(InputStream tiff, ImageProcessor imageProcessor, int... pages) throws VectorPrintException {
        File f = null;
        try {
           f = File.createTempFile("tiff.", "tiff");
           f.deleteOnExit();
           IOHelper.load(tiff, new FileOutputStream(f), ReportConstants.DEFAULTBUFFERSIZE, true);
           loadTiff(f, imageProcessor, pages);
        } catch (IOException ex) {
           throw new VectorPrintException(String.format("unable to load tiff"), ex);
        } finally {
           if (f != null) {
              f.delete();
           }
        }
     }
docs: Creates tempfile and calls {@link loadTiff(File, ImageProcessor, int...) }
  
  @param tiff
  @param imageProcessor
  @param pages
  @throws VectorPrintException