Question: On my portfolio site at <http://samnorris.co.nz> I have an animated .gif image - the astronaut with the heading underneath: "Protecting the galaxy one pixel at a time"...

I'm not sure if it's just me and my monitor or not, and it is only very, very subtle but I can notice the background texture is not blending very well to the background texture on the page (which uses the same texture) and at some resolutions, and especially while scrolling I can see a visible square-like 'halo' around the image, as if the texture on the gif is slightly lighter than on the page or something.

I have tried various Photoshop export settings including Perceptual, Adaptive and Selective and quality: bilinear, bicubic ect. but nothing I have tried so far seems to solve it.

Incidentally, I was using a different background texture before which didn't seem to suffer from the problem, so maybe the problem just lies with the (complexity of?) the texture itself? or is there some way I can make sure the background texture in the .gif blends perfectly to the pages' background?

Here is the actual image itself:

![enter image description here](https://i.stack.imgur.com/UNUo3.gif)

and the background texture used on the page, if it helps at all:

![enter image description here](https://i.stack.imgur.com/RrJ1x.png)

It only seems to be a problem with the GIF and none of the other JPEG's or PNG's on the same page/section which use the same background texture either.

Answer: 
Although this response is much too late for those that came before me, I thought it might be useful to provide a simple solution (as most of these answers don't really answer concisely imho)....
Make your containing document larger - ie. instead of using a starting document size of 1500 x 1500, try one of 6000 x 6000px.
Although this makes no difference to the resolution of your textures, it does make it possible to see what you are doing whilst creating your textures.............
Make the resolution around 300px either when you open a new project or open a .obj file and that's it!