Updated gitignore
Reworked image rescaler.