Teena Posted November 28, 2014 Share Posted November 28, 2014 See the picture as an example: My problem is ,some image pieces are not exactly fit inside each individual tile.It feels like they are cut. My calculations are-Step1.piece width=Math.floor(canvas width/cols);piece height=Math.floor(canvas height/rows); Step2:Matrix width=piece width*colsMatrix height=piece height*rows Step3:Then i push each individual piece (row /column) into array. Step4.Then i draw Image from (source to destination)... Waiting for your response! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.