added FromImageUnsafe and tests/benchmarks