This is great! I have to ask.. how did you do the auto dithering and stuff? I've been looking for something exactly like this which will make my sprites obey a certain pixel resolution without having to manually create each sprite a certain size up front