Property | Type | Description | |
---|---|---|---|
get_attributes_from_jpeg2000 | bool |
Method | Description | |
---|---|---|
Compute_Jpeg2000_Attributes ( string File_Location ) : bool |
Determine the width and height of a JPEG2000 file by reading the file into a temporary System.Drawing.Bitmap object. After this method is run, the width and height should now be available by calling the respective properties on this file object |
|
Compute_Jpeg_Attributes ( string File_Location ) : bool |
Determine the width and height of a JPEG file by reading the file into a temporary System.Drawing.Bitmap object. After this method is run, the width and height should now be available by calling the respective properties on this file object |
|
MIME_Type ( string Extenstion ) : string |
Gets the MIME Type of this file This is computed from the provided System_Name's final extension |
|
Set_Technical_Details ( ushort New_Width, ushort New_Height ) : void |
Sets the technical details for this image file
|
|
SobekCM_File_Info ( ) : System |
Constructor creates an empty instance of the SobekCM_File_Info class
|
|
SobekCM_File_Info ( string System_Name ) : System |
Constructor creates a new instance of the SobekCM_File_Info class
|
|
SobekCM_File_Info ( string System_Name, ushort Width, ushort Height ) : System |
Constructor creates a new instance of the SobekCM_File_Info class
|
Method | Description | |
---|---|---|
get_attributes_from_jpeg2000 ( string File ) : bool |
public Compute_Jpeg2000_Attributes ( string File_Location ) : bool | ||
File_Location | string | Current location for this file |
return | bool |
public Compute_Jpeg_Attributes ( string File_Location ) : bool | ||
File_Location | string | Current location for this file |
return | bool |
public MIME_Type ( string Extenstion ) : string | ||
Extenstion | string | File extension |
return | string |
public Set_Technical_Details ( ushort New_Width, ushort New_Height ) : void | ||
New_Width | ushort | Width of this image file |
New_Height | ushort | Height of this image file |
return | void |
public SobekCM_File_Info ( string System_Name ) : System | ||
System_Name | string | System name for the new file |
return | System |
public SobekCM_File_Info ( string System_Name, ushort Width, ushort Height ) : System | ||
System_Name | string | System name for the new file |
Width | ushort | Width of this image file |
Height | ushort | Height of this image file |
return | System |