Changeset 6767


Ignore:
Timestamp:
08/04/10 15:51:39 (9 years ago)
Author:
melissa
Message:

Fixed a couple of silly Photoshop bugs.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/components/bio-formats/src/loci/formats/in/PSDReader.java

    r6699 r6767  
    6565    super("Adobe Photoshop", "psd"); 
    6666    domains = new String[] {FormatTools.GRAPHICS_DOMAIN}; 
     67    suffixNecessary = false; 
    6768  } 
    6869 
     
    271272        } 
    272273      } 
    273  
    274       in.skipBytes((int) (in.getFilePointer() % 2) + 4); 
    275274      while (in.read() != '8'); 
    276275      in.skipBytes(7); 
  • branches/4.2/components/bio-formats/src/loci/formats/in/PSDReader.java

    r6699 r6767  
    6464    super("Adobe Photoshop", "psd"); 
    6565    domains = new String[] {FormatTools.GRAPHICS_DOMAIN}; 
     66    suffixNecessary = false; 
    6667  } 
    6768 
     
    268269        } 
    269270      } 
    270  
    271       in.skipBytes((int) (in.getFilePointer() % 2) + 4); 
    272271      while (in.read() != '8'); 
    273272      in.skipBytes(7); 
  • trunk/components/bio-formats/src/loci/formats/in/PSDReader.java

    r6699 r6767  
    6464    super("Adobe Photoshop", "psd"); 
    6565    domains = new String[] {FormatTools.GRAPHICS_DOMAIN}; 
     66    suffixNecessary = false; 
    6667  } 
    6768 
     
    268269        } 
    269270      } 
    270  
    271       in.skipBytes((int) (in.getFilePointer() % 2) + 4); 
    272271      while (in.read() != '8'); 
    273272      in.skipBytes(7); 
Note: See TracChangeset for help on using the changeset viewer.