fix bug that caused only one mimap level to me created in convert method
fix bug that caused only one mimap level to me created in convert method

rekola/canvas,rekola/canvas,Sometrik/canvas,Sometrik/canvas