Ignore:
Timestamp:
2015-05-29T16:16:14+02:00 (10 years ago)
Author:
nokutu
Message:

Deprecated file

Location:
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillaryExportDownloadThread.java

    r31159 r31161  
    1010
    1111import javax.imageio.ImageIO;
     12import javax.imageio.ImageWriter;
     13import javax.imageio.metadata.IIOMetadata;
    1214
    1315import org.apache.commons.jcs.access.CacheAccess;
     
    2022import org.openstreetmap.josm.plugins.mapillary.MapillaryImage;
    2123import org.openstreetmap.josm.plugins.mapillary.cache.MapillaryCache;
     24
     25//import com.sun.imageio.plugins.png.PNGMetadata;
    2226
    2327public class MapillaryExportDownloadThread implements Runnable,
     
    3943        @Override
    4044        public void run() {
     45            ImageWriter writer = ImageIO.getImageWritersByFormatName("png").next();
     46            //IIOMetadata metadata = writer.getDefaultImageMetadata(typeSpecifier, writeParam);
    4147                try {
    4248                        CacheAccess<String, BufferedImageCacheEntry> prev = JCSCacheManager
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillaryExportWriterThread.java

    r31158 r31161  
    3535                        try {
    3636                                img = queue.take();
    37                                 outputfile = new File(path + "/" + i + ".png");
    38                                 ImageIO.write(img, "png", outputfile);
     37                                outputfile = new File(path + "/" + i + ".jpg");
     38                                ImageIO.write(img, "jpg", outputfile);
    3939                        } catch (InterruptedException e1) {
    4040                                // TODO Auto-generated catch block
Note: See TracChangeset for help on using the changeset viewer.