almost ready. need find correct result image size