Skip to content

Commit

Permalink
[MOSIP-33587]
Browse files Browse the repository at this point in the history
Signed-off-by: JanardhanBS-SyncByte <[email protected]>
  • Loading branch information
JanardhanBS-SyncByte committed Jun 11, 2024
1 parent 4f1d7aa commit 24855f6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1122,10 +1122,10 @@ protected boolean isValidFaceBdb(PurposeType purposeType, String biometricSubTyp
isValid = false;
}

if (bdir.getImageColorSpace() != ImageColourSpace.UNSPECIFIED
|| bdir.getImageColorSpace() != ImageColourSpace.BIT_24_RGB) {
if (!(bdir.getImageColorSpace() == ImageColourSpace.UNSPECIFIED
|| bdir.getImageColorSpace() == ImageColourSpace.BIT_24_RGB)) {
message.append(
"<BR>Invalid Image Color Space Value for Face Modality, expected values[0x00, 0x01], but received input value["
"<BR>Invalid Image Color Space Value for Face Modality, expected values[0x00 or 0x01], but received input value["
+ MessageFormat.format("{0}", bdir.getImageColorSpace()) + "]");
isValid = false;
}
Expand Down

0 comments on commit 24855f6

Please sign in to comment.