Method: Vips::Image#bandsplit
- Defined in:
- lib/vips/image.rb
#bandsplit ⇒ Array<Image>
Split an n-band image into n separate images.
1304 1305 1306 |
# File 'lib/vips/image.rb', line 1304 def bandsplit (0...bands).map { |i| extract_band i } end |