reference
labkit.image.supportedExtensions
Return extensions supported by LabKit image file inputs.
Syntax
extensions = labkit.image.supportedExtensions()Description
Lists the filename extensions accepted by the generic LabKit image input functions. Matching in labkit.image.isSupportedPath is case-insensitive. This list describes source-image support; an individual app may offer a smaller set of export formats.
Inputs
None.
Outputs
extensions- String column of lowercase extensions, including the leading dot. The current values are .png, .jpg, .jpeg, .tif, .tiff, and .bmp.
Failure Behavior
The function accepts no caller input and performs no file-system access. It returns the fixed facade extension list without a recoverable failure state.
Example
extensions = labkit.image.supportedExtensions();
acceptsTiff = any(extensions == ".tiff");Related APIs
labkit.image.isSupportedPath— Return true when a path has a supported image extension.labkit.image.fileDialogFilter— Return a file-chooser-compatible image filter.labkit.image.adjustBrightnessContrast— Apply simple brightness and contrast adjustment.labkit.image.adjustHueSaturation— Apply HSV hue and saturation adjustment.labkit.image.assertSupportedPaths— Throw when any path has an unsupported image extension.labkit.image.displayName— Return a short image-file display name.labkit.image.ensureRgb— Return image data with exactly three color channels.labkit.image.grayWorldWhiteBalance— Apply generic gray-world white balance.
Source
This page is generated from the MATLAB help text in +labkit/+image/supportedExtensions.m.