Class Util


  • public class Util
    extends Object
    Utilities for IIIF canvas dimension processing.
    Author:
    Michael Spalti mspalti@willamette.edu
    • Method Detail

      • checkDimensions

        public static int[] checkDimensions​(int[] dims)
        IIIF Presentation API version 2.1.1: If the largest image’s dimensions are less than 1200 pixels on either edge, then the canvas’s dimensions SHOULD be double those of the image.
        Parameters:
        dims -
        Returns: