@Override
protected void validate(File assetFile) throws ImageValidationException {
ImageValidator validator = new ImageValidator(assetFile, POSTER_TYPE);
validator.validateSize(POSTER_MIN_WIDTH, POSTER_MIN_HEIGHT);
validator.validateAspectRatio(new BigFraction(POSTER_AR_NUMERATOR).divide(POSTER_AR_DENOMINATOR));
<BUG>validator.validateJpeg();
</BUG>
validator.validateRGBColorSpace();
}
@Override

@Override
protected boolean checkMandatoryParams() {
return vendorId != null && locale != null;
}
@Override
protected void validate(File assetFile) throws ImageValidationException {
ImageValidator validator = new ImageValidator(assetFile, POSTER_TYPE);
validator.validateSize(POSTER_MIN_WIDTH, POSTER_MIN_HEIGHT);
validator.validateAspectRatio(new BigFraction(POSTER_AR_NUMERATOR).divide(POSTER_AR_DENOMINATOR));
validator.validateJpegOrPng();
validator.validateRGBColorSpace();
}
@Override
