Half Tile Offset

Offsets all layers by half. Image/Half_Tile_Offset Useful when creating a tilable texture. Just press Alt+I,O and you can start editing the image-edge seams.

A workflow-friendly fast alternative to going around every layer and selecting Layer/Transform/Offset... / Offset by x2,y2 / OK

 

Usage:

Let's say we have this 256x256 crop:

Original image, before editing

 

After the Image/Half-Tile-Offset command, we get this:

After Half Tile Offset

There was no UI to get in the way of workflow, and you can switch around offsets at any time. (Creating tiled textures requres such switching back-and-forth)

After some quick edits for 2 minutes with the clone-stamp tool, we have this image:

Resulting texture. Pardon the quality

 

To see how nicely it tiles, Filter/Map/Tile.../512/512/OK :

Visualization of the tiling

 

Enjoy :)

AttachmentSize
half-tile-offset.scm1.3 KB
half-tile-offset_example_before.jpg24.03 KB
half-tile-offset_example_after.jpg24.04 KB
half-tile-offset_example_edited.jpg23.93 KB
half-tile-offset_example_tiled_show.jpg57.38 KB

Comments

Unbound Variable

Execution error for 'Half Tile Offset':
Error: set!: unbound variable: theImage (in GIMP 2.6.8)

Yes, I immediately met that

Yes, I immediately met that problem when using it in 2.6.x instead of 2.2.4 . I tried a bunch of guides, fixed the runtime errors- but stumbled on something that looks like a bug: the layers didn't shift at all; the undo/redo history showed no changes were made, either.
I went back to fixing it several times, but ultimately gave-up.
I'd like someone to help me fix it, for users who unlike me don't hate 2.6.x .

Awesome!

I found myself actually shifting three layers the other day. I flattened them all together before shifting them back rather than have to shift all three. This is awesome. Thanks!

excellent

Both the script and the explanation are excellent. I wish all script writers would use pictures to explain their scripts.

Syndicate content