RadioPeirasmos / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

Problem with browser 'zoom' #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Would it be possible to make SpriteMe make a 1 pixel border between each of the 
images that it compiles into the single sprite? (an option?)

When I manually create sprites, I leave a transparent 1 pixel between each 
image to cope with a bug with most browsers. (Probably rounding)

If you dont leave the 1 pixel space, then if you zoom in (on Chrome use the 
CTRL + key to zoom in, or on an Ipad you just need to pinch zoomin) parts of 
the image from the first pixel 'line' on that image next to the one that should 
be showing 'leaks/bleeds' into the image.

I've found no other solution to this, other than adding a 1 pixel border around 
the individual images, so that there isnt anything 'close' to the actual image 
and the zoom doesnt leak.

Using: Chrome 31.0.1650.63, Windows 7 and also iPad 3 IOS7.

Thanks,

Rob Donovan.

Original issue reported on code.google.com by robertdo...@gmail.com on 6 Jan 2014 at 3:12