Changeset 7479


Ignore:
Timestamp:
12/29/10 20:35:59 (9 years ago)
Author:
aivar
Message:

Added comments.

Location:
branches/maven/projects/deep-zoom-plugin/src/main/java/loci/multiinstanceplugin/deepzoom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/deep-zoom-plugin/src/main/java/loci/multiinstanceplugin/deepzoom/DeepZoomExporter.java

    r7368 r7479  
    111111    { 
    112112        System.out.println("Multiple Instance Plugin Chaining"); 
    113          
     113 
     114        // Calculate the number of levels needed to get down to a single pixel. 
     115        // 
     116        // Note that the total number of levels is not specified in the HTML or 
     117        // XML but implicitly derived from the image size.  If the number of 
     118        // levels generated is off the image will not display correctly. 
     119        // In practice I experimentally determined we could omit the tiles 
     120        // for folders 0..5 on a 13 folder image.  In that case the level 6 
     121        // tiles, although still tiny, were used to make a smooth animation when 
     122        // drawing the image initially in the SeaDragon JavaScript. 
     123        // 
    114124        int xLevels = getLevels(image.getWidth(), 1); 
    115125        int yLevels = getLevels(image.getHeight(), 1); 
  • branches/maven/projects/deep-zoom-plugin/src/main/java/loci/multiinstanceplugin/deepzoom/LevelProcessor.java

    r7368 r7479  
    1616 
    1717    /** 
    18      * XInnerX class at the top of the image chain.  Passes image on to CutTilesProcessor and also 
     18     * Class at the top of the image chain.  Passes image on to CutTilesProcessor and also 
    1919     * ScaleInHalfProcessor.  Note that this assumes that the CutTilesProcessor handles the image 
    2020     * in a read-only fashion. 
Note: See TracChangeset for help on using the changeset viewer.