Remove unused assets and convert base 64 images