Aspose.Note for Java 20.11 Release Notes

Major Features

  • Save the document as a grayscale image
  • Save the document as a black and white image

Features and Improvements

KeySummaryCategory
NOTENET-3060Save the OneNote with color(Black & White,Greyscale and Color)New Feature
NOTENET-2953Remove TableCell.IndentPosition/TableCellNode.OutlineElementChildLevel from public apiEnhancement
NOTEJAVA-880OneNote crash when exporting to docxBug

Public API and Backward Incompatible Changes

The following public types were added:Description
com.aspose.note.BinarizationMethodSpecifies binarization method for an image.
com.aspose.note.ColorModeThe color mode of the image.
com.aspose.note.ImageBinarizationOptionsOptions for image’s binarization.
The following public properties were added:Description
com.aspose.note.ImageBinarizationOptions.getBinarizationThresholdGets threshold value for fixed threshold binarization method.
com.aspose.note.ImageBinarizationOptions.setBinarizationThreshold(int)Sets threshold value for fixed threshold binarization method.
com.aspose.note.ImageBinarizationOptions.getBinarizationMethodGets the binarization method.
com.aspose.note.ImageBinarizationOptions.setBinarizationMethod(int)Sets the binarization method.
com.aspose.note.ImageSaveOptions.getColorModeGets color mode for the output image.
com.aspose.note.ImageSaveOptions.setColorMode(int)Sets color mode for the output image.
com.aspose.note.ImageSaveOptions.getBinarizationOptionsGets options for image’s binarization.
com.aspose.note.ImageSaveOptions.setBinarizationOptions(com.aspose.note.ImageBinarizationOptions)Sets options for image’s binarization.
The following static public constants were added:Description
com.aspose.note.BinarizationMethod.FixedThresholdThe image’s binarization is performed using specified fixed threshold.
com.aspose.note.BinarizationMethod.OtsuThe image’s binarization is performed adaptively using Otsu’s method to evaluate threshold.
com.aspose.note.ColorMode.NormalFull color image.
com.aspose.note.ColorMode.GrayScaleGray scale image.
com.aspose.note.ColorMode.BlackAndWhiteBinary image: only black and white colors are used.
com.aspose.note.PdfImageCompression.NoneNo compression is used when saving images.
The following public properties are removed:Description
com.aspose.note.TableCell.getIndentPositionGets the indent position.
com.aspose.note.TableCell.setIndentPosition(byte)Sets the indent position.