←Select platform

Fpx Property

Summary
Gets the FPX load and save options.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public CodecsFpxOptions Fpx { get; } 
@property (nonatomic, strong, readonly) LTCodecsFpxOptions *fpx; 
public CodecsFpxOptions getFpx() 
public: 
property CodecsFpxOptions^ Fpx { 
   CodecsFpxOptions^ get(); 
} 
Fpx # get  (CodecsOptions) 

Property Value

The FPX load and save options.

Example
C#
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"; 
} 
Requirements

Target Platforms

Help Version 22.0.2023.5.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.