changeset 7156 | 97b4f12aa796 |
parent 7126 | a81b992fd069 |
child 7157 | 9c370b5a2596 |
child 7173 | 075306bcac68 |
--- a/Image.st Tue Feb 16 12:24:58 2016 +0100 +++ b/Image.st Mon Feb 22 16:04:01 2016 +0100 @@ -5640,7 +5640,11 @@ photometric := self class defaultPhotometric "/ photometric := anImage photometric ] ifFalse:[ - photometric := photometricOrNil + photometricOrNil == #rgba ifTrue:[ + samplesPerPixel == 3 ifTrue:[ photometric := #rgb ] + ] ifFalse:[ + photometric := photometricOrNil + ]. ]. photometric == #palette ifTrue:[