Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7-RC1
    • Fix Version/s: None
    • Component/s: image plugin
    • Labels:
      None

      Description

      I have some code in uDig allowing people to choose an image to use. It seems (UDIG-1742) that I have gotten out of sync. Rather than duplicate the list of valid extensions I would like to make use of what is already available in WorldImageFormat

      Can we make a single Set<String> of valid extensions?

         /** {@link Set} of supported extensions for world+image files. */
         public final static Set<String> WORLD_IMAGE_EXT;
      
         static {
           // world+image
           tempSet = new HashSet<String>(3);
           tempSet.add(".jpeg");
           tempSet.add(".jpg");
           tempSet.add(".png");
           tempSet.add(".gif");
           tempSet.add(".bmp");
           tempSet.add(".tif");
           tempSet.add(".tiff");
           WORLD_IMAGE_EXT = Collections.unmodifiableSet(tempSet);
         }
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Simone Giannecchini
            Reporter:
            Jody Garnett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: