Adding function to build gif in memory