question: private double determineMaxZoomFactor ( ) { if ( imageData != null ) { final double maxWidth = ( double ) Integer . MAX_VALUE / imageData . width ; final double maxHeight = ( double ) Integer . MAX_VALUE / imageData . height ; return Math . min ( maxWidth , maxHeight ) ; } return 1.0d ; }
target:  Determine the max zoom factor for the current image size.