new c impl
Merge branch 'master' of https://github.com/halzate93/image-mirror
Partial c implementation