read first 1024 bytes for svg