+ $len == length $comp or warn "wrong length $len != ", length $comp;
+
+ my $w = 648 / 2;
+
+=for non-working
+
+ my $data;
+
+ my $i = 0;
+ while ( $i < length $comp ) {
+ my $len = ord(substr($comp,$i,4));
+ $i += 1;
+ warn "$i comp $len\n";
+ $data .= substr($comp,$i,$len);
+ $data .= "\x00" x ( $w - $len );
+ $i += $len;
+ }
+
+=cut
+
+ my $data = $comp;