outputs total sprite dimensions