Updated Image class to maintain transparency