equal
deleted
inserted
replaced
12346 w "{ Class: SmallInteger }" |
12346 w "{ Class: SmallInteger }" |
12347 h "{ Class: SmallInteger }" |
12347 h "{ Class: SmallInteger }" |
12348 newImage newBits bitsPerPixel newBytesPerRow newMask |
12348 newImage newBits bitsPerPixel newBytesPerRow newMask |
12349 value srcRow pixelArray shrink| |
12349 value srcRow pixelArray shrink| |
12350 |
12350 |
12351 photometric == #rgb ifFalse:[ |
12351 (photometric == #rgb or:[photometric == #rgba]) ifFalse:[ |
12352 "/ self assert:false message:'only works with rgb images'. |
12352 "/ self assert:false message:'only works with rgb images'. |
12353 ^ (Depth32Image fromImage:self photometric:#rgb) |
12353 ^ (Depth32Image fromImage:self photometric:#rgb) |
12354 hardSmoothingMagnifiedBy:scaleArg |
12354 hardSmoothingMagnifiedBy:scaleArg |
12355 ]. |
12355 ]. |
12356 |
12356 |