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

Additions to JPEG2000 MIX Output #106

Closed
carlwilson opened this issue Sep 7, 2016 · 1 comment · Fixed by #445
Closed

Additions to JPEG2000 MIX Output #106

carlwilson opened this issue Sep 7, 2016 · 1 comment · Fixed by #445
Assignees
Labels
feature New functionality to be developed legacy Legacy bugs that require testing to establish status P3 Low priority bugs

Comments

@carlwilson
Copy link
Member

carlwilson commented Sep 7, 2016

Dev Effort

1D

Description

I have two feature requests to JPEG2000 module's MIX output that I think would be useful additions:

  1. The default display resolution of the JPEG2000 file reported in the MIX output, preferably as dpi.
    jhove:property
    jhove:nameDefaultDisplayResolution/jhove:name
    <jhove:values arity="Array" type="Property">
    jhove:property
    jhove:nameHorizResolution/jhove:name
    <jhove:values arity="List" type="Property">
    jhove:property
    jhove:nameNumerator/jhove:name
    <jhove:values arity="Scalar" type="Integer">
    jhove:value3870/jhove:value
    /jhove:values
    /jhove:property
    jhove:property
    jhove:nameDenominator/jhove:name
    <jhove:values arity="Scalar" type="Integer">
    jhove:value32768/jhove:value
    /jhove:values
    /jhove:property
    jhove:property
    jhove:nameExponent/jhove:name
    <jhove:values arity="Scalar" type="Integer">
    jhove:value5/jhove:value
    /jhove:values
    /jhove:property
    /jhove:values
    /jhove:property
    jhove:property
    jhove:nameVertResolution/jhove:name
    <jhove:values arity="List" type="Property">
    jhove:property
    jhove:nameNumerator/jhove:name
    <jhove:values arity="Scalar" type="Integer">
    jhove:value3870/jhove:value
    /jhove:values
    /jhove:property
    jhove:property
    jhove:nameDenominator/jhove:name
    <jhove:values arity="Scalar" type="Integer">
    jhove:value32768/jhove:value
    /jhove:values
    /jhove:property
    jhove:property
    jhove:nameExponent/jhove:name
    <jhove:values arity="Scalar" type="Integer">
    jhove:value5/jhove:value
    /jhove:values
    /jhove:property
    /jhove:values
    /jhove:property
<mix:SpatialMetrics>
  <mix:samplingFrequencyUnit>in.</mix:samplingFrequencyUnit>
  <mix:xSamplingFrequency>
    <mix:numerator>300</mix:numerator>
    <mix:denominator>1</mix:denominator>
  </mix:xSamplingFrequency>
  <mix:ySamplingFrequency>
    <mix:numerator>300</mix:numerator>
    <mix:denominator>1</mix:denominator>
  </mix:ySamplingFrequency>
</mix:SpatialMetrics>
  1. MIX output of the used compression scheme Lossy / Lossless, like:
<mix:Compression>
  <mix:compressionScheme>JPEG 2000 Lossless</mix:compressionScheme>
</mix:Compression>
@carlwilson carlwilson added feature New functionality to be developed legacy legacy Legacy bugs that require testing to establish status labels Sep 7, 2016
@carlwilson carlwilson removed the legacy label Dec 11, 2018
@ghost ghost added the P3 Low priority bugs label Mar 7, 2019
@ghost ghost added this to the Dev hack week initiation milestone Mar 7, 2019
@carlwilson
Copy link
Member Author

Hi @tledoux I've assigned this one to you initially, I can see why it's a good fit.

tledoux added a commit to tledoux/jhove that referenced this issue Apr 10, 2019
- Add CaptureResolution property in Jhove output
- Use either CaptureResolution or DefaultDisplayResolution in mix SpatialMetrics
- Handle lossy and lossless compression scheme in mix
- Calculate the compression ratio and output it in mix
- Add layers, levels, tile size in mix:SpecialFormatCharacteristics
- Fixes openpreserve#106
@carlwilson carlwilson modified the milestones: Hack week tasks , v1.24-m4 Release Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality to be developed legacy Legacy bugs that require testing to establish status P3 Low priority bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants