Leadtools.Codecs Introduction (original) (raw)
Summary
The Leadtools.Codecs namespace contains classes with properties, methods, and events for loading, saving, and converting any type of image file, and for getting information about loaded bitmaps. Work with files in memory buffers or at offsets within disk files. Both high- and low-level functions are provided. In addition, it contains classes that support loading/saving non-image data such as tags, markers, comments, and extensions.
The RasterCodecs class is the main gateway to all file format features. Use it to load/save/convert images from disk or memory.
Key Features
- Get information about the image before loading it.
- Handle file format-specific information, such as the page number or physical resolution.
- Handle any feature with either low- or high-level functions. For example:
- Call a version of the RasterCodecs.Load overloaded method to load all the pages from a disk file into a RasterImage object.
- Use various low-level events to monitor image scanlines as they are being loaded.
- Override an operation with your own data, or cancel it all together.
- Load/Save/Convert any type of image file.
Demos
LEADTOOLS toolkits ship with many demos that show how to use the various features of the classes in the Leadtools.Codecs namespace:
- The MainDemo shows the common functionality in the LEADTOOLS toolkit. It shows how to load/save images in the various image formats supported by LEADTOOLS. It also shows how to load/save RAW FAX files and user-defined custom image formats with LEADTOOLS.
- The FeedLoadDemo shows how to progressively load an image from a web page or disk.
- The Jpeg2000Demo shows how to load and save images using the JPEG 2000 format.
- The OpenSaveStampDemo shows how to load and save stamps in JPEG files.
- The PaintWhileLoadDemo shows how to simultaneously load and paint an image.
See Also
Reference
Getting Started (Guide to Example Programs)
Summary of All Supported File Formats
Loading and Saving Large TIFF / BigTIFF Files
Version History
Leadtools.Codecs Assembly Changes
Leadtools.Codecs Assembly
CompactFile(Stream,Stream,int,int,bool,int,int,bool,int,CodecsSavePageMode,bool,bool) Method
CompactFile(Stream,Stream,int,int,bool,long,int,bool,long,CodecsSavePageMode,bool,bool,bool) Method
CompactFile(string,string,int,int,bool,int,int,bool,int,CodecsSavePageMode,bool,bool) Method
CompactFile(string,string,int,int,bool,long,int,bool,long,CodecsSavePageMode,bool,bool,bool) Method