[Declared in "../apps/support/kdu_stripe_compressor.h"]
This object provides a high level interface to the Kakadu compression machinery, which is capable of satisfying the needs of most developers while providing essentially a one-function-call solution for simple applications. Most new developers will probably wish to base their compression applications upon this object.
It should be noted, however, that some performance benefits can be obtained by creating compression engines yourself and directly passing them kdu_line_buf lines, since this can often avoid unnecessary copying and level shifting of image samples. Nevertheless, there has been a lot of demand for a dead-simple, yet also powerful interface to Kakadu, and this object is intended to fill that requirement. In fact, the various objects found in the "support" directory ( kdu_stripe_compressor, kdu_stripe_decompressor and kdu_region_decompressor) are aimed at meeting the needs of 90% of the applications using Kakadu. That is not to say that these objects are all that is required. You still need to open streams of one form or another and create a kdu_codestream interface.
In a typical compression application based on this object, you will need to do the following:
For a tuturial example of how to use the present object in a typical application, consult the Kakadu demo application, "kdu_buffered_compress".
kdu_stripe_compressor {Java: Kdu_stripe_compressor}
~kdu_stripe_compressor {Java: Native_destroy}
start {Java: Start}
finish {Java: Finish}
get_recommended_stripe_heights {Java: Get_recommended_stripe_heights}
push_stripe (4 forms)