public InputStream getFullImageStream(WorkflowImageParams params) throws Exception {
    String widthName = "full";
    String heightName = "full";
    InputStream is =
        getStreamFromCache(
            params.getWorkflow(),
            params.getStepId(),
            widthName,
            heightName,
            params.showLabels(),
            true);

    if (is == null) {
      BufferedImage image = delegateImageManager.getFullImage(params);
      if (image != null) {
        File cacheFile =
            addImageToCache(
                image,
                params.getWorkflow(),
                params.getStepId(),
                widthName,
                heightName,
                params.showLabels(),
                true);
        try {
          is = new FileInputStream(cacheFile);
        } catch (Exception e) {
          log.error("Workflow Thumbnail File Missing!", e);
        }
      }
    }

    return is;
  }
  public BufferedImage getFullImage(WorkflowImageParams params) throws Exception {
    BufferedImage image = null;

    if (cacheHasValidImage(
        params.getWorkflow(), params.getStepId(), "full", "full", params.showLabels(), true)) {
      image =
          ImageIO.read(
              getCacheFile(
                  params.getWorkflow(),
                  params.getStepId(),
                  "full",
                  "full",
                  params.showLabels(),
                  true));
    } else {
      image = delegateImageManager.getFullImage(params);
    }

    return image;
  }