Skip to content

Commit

Permalink
Merge pull request #105 from hathitrust/GS-5046-dont-care-about-layers
Browse files Browse the repository at this point in the history
GS-5046: JPEG2000 images can have any (reasonable) number of layers
  • Loading branch information
aelkiss committed May 30, 2023
2 parents 0901a4b + 0b640d3 commit cba2032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HTFeed/PackageType/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ our $config = {
'HTFeed::ModuleValidator::JPEG2000_hul' => {
'camera' => undef,
# allow most common # of layers
'layers' => v_in( 'codingStyleDefault', 'layers', ['1','6','8','25'] ),
'layers' => v_between( 'codingStyleDefault', 'layers', '1','25' ),
'decomposition_levels' => v_between( 'codingStyleDefault', 'decompositionLevels', '1', '32'),
'resolution' => v_and(
v_ge( 'xmp', 'xRes', 300 ), # should work even though resolution is specified as NNN/1
Expand Down

0 comments on commit cba2032

Please sign in to comment.