Skip to content

Cannot write non-continguous numpy view using bob.io.base.save()

Created by: anjos

This will not work as expected:

import bob.io.base
import bob.io.image

image = bob.io.base.load('lena.jpg')
bob.io.base.save(image[:, 30:50, 30:50], 'patch.bmp')

We need to create a test unit and fix this issue before the next relese.