Depth8Image.st
changeset 6310 612c17181395
parent 6299 83fea4366ebd
child 6837 e511316c0ed9
equal deleted inserted replaced
6309:d12f01f0e52e 6310:612c17181395
    50 ! !
    50 ! !
    51 
    51 
    52 !Depth8Image class methodsFor:'queries'!
    52 !Depth8Image class methodsFor:'queries'!
    53 
    53 
    54 defaultPhotometric
    54 defaultPhotometric
       
    55     "return the default photometric pixel interpretation.
       
    56      This may be a somewhat old leftover from times, when tiff was the first image file type to be read.
       
    57      Much better would be to always have some (possibly fake and virtual) colormap around, and ask that one.
       
    58      However, in the meantime, many other classes depend on that, so that it should be kept as an API 
       
    59      - even when the internal representation will be replaced by something better in the future."
       
    60 
    55     ^ #palette
    61     ^ #palette
    56 !
    62 !
    57 
    63 
    58 imageDepth
    64 imageDepth
    59     "return the depth of images represented by instances of
    65     "return the depth of images represented by instances of
  2452 ! !
  2458 ! !
  2453 
  2459 
  2454 !Depth8Image class methodsFor:'documentation'!
  2460 !Depth8Image class methodsFor:'documentation'!
  2455 
  2461 
  2456 version
  2462 version
  2457     ^ '$Header: /cvs/stx/stx/libview/Depth8Image.st,v 1.121 2014-03-02 13:59:37 cg Exp $'
  2463     ^ '$Header: /cvs/stx/stx/libview/Depth8Image.st,v 1.122 2014-03-05 15:26:38 cg Exp $'
  2458 !
  2464 !
  2459 
  2465 
  2460 version_CVS
  2466 version_CVS
  2461     ^ '$Header: /cvs/stx/stx/libview/Depth8Image.st,v 1.121 2014-03-02 13:59:37 cg Exp $'
  2467     ^ '$Header: /cvs/stx/stx/libview/Depth8Image.st,v 1.122 2014-03-05 15:26:38 cg Exp $'
  2462 ! !
  2468 ! !
  2463 
  2469