Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strm2oas --compression-level=10 doesn't write rep 1/2/3 #1893

Open
stefanottili opened this issue Oct 15, 2024 · 0 comments
Open

strm2oas --compression-level=10 doesn't write rep 1/2/3 #1893

stefanottili opened this issue Oct 15, 2024 · 0 comments

Comments

@stefanottili
Copy link

The attached test.gds.gz contains 6 rectangles placed as a 3x2 array with 100x75 spacing.
This could be written as a rep 1, but strm2oas doesn't do that, no matter the compression-level.
Isn't it supposed to be doing that even at the default compression level of 2 ?

Since zlib compresses larger rep 11 very well, rep 1/2/3 will only lead to small file size reductions.

strm2oas --compression-level=10 test.gds.gz a.oas
rep 11 4 25 (4,0) (4,0) (-8,3) (4,0) (4,0)
rep 1 1 0 100 75
image

test.gds.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant