Class MapImageFormatChooser


  • public class MapImageFormatChooser
    extends Object
    A Utility class to select the optimal Map Format based on some preferences.
    Author:
    Chris Hodgson chodgson@refractions.net
    • Constructor Detail

      • MapImageFormatChooser

        public MapImageFormatChooser()
        Creates a new instance of MapImageFormatChooser.
    • Method Detail

      • isKnownFormat

        public static boolean isKnownFormat​(String format)
      • setTransparencyRequired

        public void setTransparencyRequired​(boolean transparencyRequired)
      • setPreferLossyCompression

        public void setPreferLossyCompression​(boolean useLossy)
      • chooseFormat

        public String chooseFormat​(String[] formats)