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

Replace J2kImageWriteParam#lossless by ImageWriteParam#compressionType #418

Closed
gunterze opened this issue Mar 14, 2019 · 0 comments
Closed
Assignees
Milestone

Comments

@gunterze
Copy link
Member

Replace

    /** JPEG2000 lossless, default true */
    private boolean lossless; 

from

package org.dcm4che3.opencv;
:
public class J2kImageWriteParam extends ImageWriteParam

in favor of using existing

package javax.imageio;
public class ImageWriteParam extends IIOParam {
:
    protected String compressionType;
:
    public void setCompressionType(String compressionType) {..}
    public String getCompressionType() {..}

with

public class J2kImageWriteParam extends ImageWriteParam {
    private static final String[] COMPRESSION_TYPES = { "LOSSY", "LOSSLESS" };

Related #417 #416 #414

@gunterze gunterze added this to the 5.16.1 milestone Mar 14, 2019
@gunterze gunterze self-assigned this Mar 14, 2019
patrick-peer pushed a commit to patrick-peer/dcm4che that referenced this issue Oct 17, 2019
dcm4che#417

Replace J2kImageWriteParam#lossless by ImageWriteParam#compressionType fix dcm4che#418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant