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

Refactor image conversion task. #518

Merged
merged 1 commit into from
Jan 18, 2021
Merged

Refactor image conversion task. #518

merged 1 commit into from
Jan 18, 2021

Conversation

manthey
Copy link
Member

@manthey manthey commented Jan 18, 2021

This splits the conversion process so that it is separate from the Girder worker task. The new packages are now in the utilities directory.

It adds explicit support for processing geotiffs. It adds support for reprocessing files that could be read by large image, making them a more preferred format for reading tiles.

There are now options for lossless or lossy compression, plus more options for compression techniques. By default, if a file is not known to be compressed in a lossy manner, the resulting converted file will be lossless.

The converter doesn't use subprocess (it uses the python interfaces for vips and GDAL); this keeps the memory footprint smaller.

This is part of a series of PRs refactoring conversion. Future PRs will add support for multi-frame images, for converting files that can be read with large image but not by vips or gdal, and for adding jp2k tile support.

Closes #400.

This splits the conversion process so that it is separate from the
Girder worker task.  The new packages are now in the utilities
directory.

It adds explicit support for processing geotiffs.  It adds support for
reprocessing files that could be read by large image, making them a more
preferred format for reading tiles.

There are now options for lossless or lossy compression, plus more
options for compression techniques.  By default, if a file is not known
to be compressed in a lossy manner, the resulting converted file will be
lossless.

The converter doesn't use subprocess (it uses the python interfaces for
vips and GDAL); this keeps the memory footprint smaller.

This is part of a series of PRs refactoring conversion.  Future PRs will
add support for multi-frame images, for converting files that can be
read with large image but not by vips or gdal, and for adding jp2k tile
support.
@manthey manthey merged commit 906f36d into master Jan 18, 2021
@manthey manthey deleted the converter-refactor branch January 18, 2021 21:25
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.

Add a lossless option when converting with vips
1 participant