Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This feature is supported in GroupDocs.Comparison for Java 17.3.0 or onward

Save Presentation to Image from File

The Recipe

  • Define output file path
  • Open source file
  • Define ComparisonSlidesImageSettings
  • Call method saveAsImages(),pass output file path and settings to it

The Code

HTML
<script src="https://gist.github.com/GroupDocsGists/21850d27f5605f24680eec21fe2b23c7.js"></script>
Info

This feature is supported in GroupDocs.Comparison for Java 17.3.0 or onward

Save Presentation to Image with Stream

The Recipe

  • Define ArrayList of type ByteArrayOutputStream
  • Open source file
  • Define ComparisonSlidesImageSettings
  • Call method saveAsImages(),pass ArrayList and settings to it

The Code

HTML
<script src="https://gist.github.com/samicheemagroupdocs/5bac22eb141b2cdd90d0548635f2336e.js"></script>
Info

This feature is supported in GroupDocs.Comparison for Java 17.3.0 or onward

Save Slide to Image from File

The Recipe

  • Open source file
  • Define ComparisonSlidesImageSettings
  • Call method saveSlideAsImage(),pass output file path, settings and slide index to it
  • Save result in ICompareResult

The Code

HTML
<script src="https://gist.github.com/GroupDocsGists/66a2e12f99359dd3d20778825bb94c54.js"></script>