Data size not consistent with its' true size

Hello @BarryLiu97,

I had a similar problem, when using raw.save() with my data:

It turned out, that the parameter fmt was crucial, as its default doubled my data in size. That could be solved with setting fmt=raw.orig_format.
Does this solve your problem too?