HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 42. CH39 TILED BACKGROUNDS 321


Starting over with our same
cropped and scaled image from
Example 1, we doGimp Menu:
Layer / Transform / Offset.


We choose to offset by x/2 and
y/2, which means we move the im-
age half way in the left-right di-
mension, and half way in the up-
down dimension.


The four corners are now in the
middle. The upper left and lower
right corners have swapped places.
The upper right and lower left
have swapped places. All the tiling
problems have been moved right to
the middle where we will fix them
manually.

Free download pdf