Rewritten zxing-image controller.