Universal scanline loading function

Template-based function to load TIFF images in scanline mode.
Images are automatically converted to RGBA upon loading
Unified drawing function