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

czinspect: perform in-line conversion from JPEG-XR to other formats #8

Open
sysvinit opened this issue Jul 29, 2018 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@sysvinit
Copy link
Collaborator

The image format used by tiles in a .czi file is usually JPEG-XR, which is unwieldy for a lot of applications as the image format is not common, which necessitates format conversion. Adding support for czinspect to do this in-line after extraction would remove the need for external tooling to do this after the fact.

The proposed model is to extract a JXR image tile and then fork+exec JxrDecApp from jxrlib to convert to TIFF. Further conversions could then be performed with other programs such as vips or ImageMagick's convert.

@sysvinit sysvinit added the enhancement New feature or request label Jul 29, 2018
@sysvinit sysvinit self-assigned this Jul 29, 2018
@magnostherobot
Copy link
Owner

magnostherobot commented Jul 29, 2018

JxrDecApp can output in formats other than TIFF: from JxrDecApp --help:

  -o output.bmp/tif/jxr        Output image file name
                               bmp: <=8bpc, BGR
                               tif: >=8bpc, RGB
                               jxr: for compressed domain transcode

  -c format                    Specifies the uncompressed output format
                                0: 24bppBGR
                                1: 1bppBlackWhite
                                2: 8bppGray
                                ...
                               33: 80bppCMYKA
                               34: 32bppBGR

I'm uncertain how useful these filetypes will be, but they might make some conversions faster/simpler.

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

No branches or pull requests

2 participants