←Select platform

CodecsFpxLoadOptions Class

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
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.