SampleModel with the specified width and height that has a data layout compatible with this ColorModel.
@param w the width to apply to the new SampleModel
@param h the height to apply to the new SampleModel
@return a SampleModel object with the specifiedwidth and height.
@throws IllegalArgumentException if w orh is not greater than 0
@see SampleModel
| |