Added ability to get a smaller texture from another texture