added performance test for image conversion

currently it crashes with 10M pixels (will look into it)