| synopsis || arguments || prev || next |
void set_standard_feature_support( kdu_uint16 feature_id, bool is_supported)
Java: void Set_standard_feature_support( int feature_id, boolean is_supported)
[Declared in "../apps/compressed_io/jpx.h"]
This function is provided for applications which are reading an existing JPX data source. The application typically uses this function to identify those features which it explicitly does not support (setting is_supported = false).
By default all standard features are marked as supported, except those whose support is the responsibility of the jpx_source object and which are known not to be currently supported. By contrast, all vendor features (see set_vendor_feature_support) are unsupported by default.
Once the collection of supported features has been identified, the application may use the test_fully_understand and/or test_decode_completely function to evaluate the reader requirements expressions and hence deduce whether or not it will be able to fully understand all aspects of the data source, or at least completely decode the data source to obtain the result intended by its creator.
For a list of standard features, see the check_standard_feature function.
If true, support for this feature is being affirmed. Otherwise, it is being declined. Since all standard features are supported by default, unless the internal implementation inherently fails to support them, this function will normally be used with is_supported set to false.