Skip to content

Refactor compressor#142

Merged
antmoth merged 38 commits intomainfrom
refactor-compressor
Jan 15, 2026
Merged

Refactor compressor#142
antmoth merged 38 commits intomainfrom
refactor-compressor

Conversation

@niquerio
Copy link
Collaborator

No description provided.

niquerio and others added 30 commits December 5, 2025 12:02
I want to use the name "compressor" for a different object. -ion makes
more sense a stage suffix than -or.
always initialize Log with Warnings; don't lazy-load it
info about file paths to compressor object. Replaces local variables in
Compression with queries to the compressor object.
creates TiffToPnm module for doing the compression
It only takes the first page.

Also puts tifftopnm call in a TiffTools module because compress is a
more complicated action and tiffcp is only used here.
remove minitest for tiff date because it's covered in the compressor
test
new.jp2 -> output.jp2 | new_path -> output_path
filename.tif-page1 -> output.tif | page1_path -> output_path
this makes it match what's going on for jp2 and paves the way for being
able to use the build in temp dir for the real deal
@niquerio niquerio marked this pull request as ready for review January 13, 2026 21:21
@antmoth antmoth merged commit 4f47f54 into main Jan 15, 2026
1 check passed
@antmoth antmoth deleted the refactor-compressor branch January 15, 2026 15:41
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

Successfully merging this pull request may close these issues.

2 participants