Chop does not work how I expect

Way the image not slice good in chop?

itemCon.chop = new Scrambler(chop(asset(data.src).clone(), 1, 1)).noMouse().center(itemCon);
image

itemCon.chop = new Scrambler(chop(asset(data.src).clone(), 2, 2)).noMouse().center(itemCon);
image

itemCon.chop = new Scrambler(chop(asset(data.src).clone(), 4, 4)).noMouse().center(itemCon);

image

Sorry, what do you mean? It looks right to me 2x2 and 4x4

I think the chop breaks my image to slices but save it to look like the original image.
I want to slice my image, and keep it like the normal view.

The Scrambler is what is shifting them. Just use chop() without the scrambler and you will get the items in a Tile - with the positions not changed.

Oops... sorry

1 Like

lol - so all is good.

1 Like