Timelapse specs (.pxtl file)

If you're not familiar with the basic models or how .px* file encoding works, please revisit Binary specs.

TimelapseFrame

UInt32      Signature, always 0xffffffff, if it's not, this is a legacy frame.
            We do not discuss legacy frame here, I guess we'll just ignore this timelapse file.
Size        The canvas (or frame in this context) size
UInt32      Color data size in bytes
[Byte]      Compressed color data using zlib compression. 
            The size of this data chunk is the previous value.
            After decompressing, it will be in the form of [ARGBColor]

The .pxtl is just a series of TimelapseFrame ones after another. We simply decode them until we reach the end of the file.

Last updated

Was this helpful?