CodecsFpxLoadOptions Class (original) (raw)

Summary

Gets the options for loading FPX images.

Syntax

C#

Objective-C

C++/CLI

Java

Python

public class CodecsFpxLoadOptions 
@interface LTCodecsFpxLoadOptions : NSObject 
public class CodecsFpxLoadOptions 
public ref class CodecsFpxLoadOptions  
class CodecsFpxLoadOptions: 

Example

using Leadtools; using Leadtools.Codecs; using Leadtools.ImageProcessing.Core; public void CodecsFpxOptionsExample() { RasterCodecs codecs = new RasterCodecs(); string srcFileName = Path.Combine(LEAD_VARS.ImagesDir, "Image1.fpx"); codecs.Options.Fpx.Load.Resolution = new LeadSize(200, 200); // CodecsFpxOptions & CodecsFpxLoadOptions reference // Load the image RasterImage srcImage = codecs.Load(srcFileName); codecs.Save(srcImage, Path.Combine(LEAD_VARS.ImagesDir, "fpx.bmp"), RasterImageFormat.Bmp, 8); // Clean up srcImage.Dispose(); codecs.Dispose(); } static class LEAD_VARS { public const string ImagesDir = @"C:\LEADTOOLS22\Resources\Images"; }

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

StartCompress(int,int,int,RasterByteOrder,RasterViewPerspective,int,byte[],int,int,CodecsCompression,CodecsCompressDataCallback) Method