C# Class SobekCM.Builder_Library.Modules.Items.UpdateJpegAttributesModule

Item-level submission package module updates the basic dimensional information stored for all of the JPEG files within the service METS file
This class implements the abstractSubmissionPackageModule abstract class and implements the iSubmissionPackageModule interface.
Inheritance: SobekCM.Builder_Library.Modules.Items.abstractSubmissionPackageModule
Show file Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
DoWork ( Incoming_Digital_Resource Resource ) : bool

Updates the basic dimensional information stored for all of the JPEG files within the service METS file

Private Methods

Method Description
Compute_Jpeg2000_Attributes ( SobekCM_File_Info JPEG2000_File, string File_Location ) : bool

Computes the attributes (width, height) for a JPEG2000 file

The attribute information is computed and then stored in the provided METS SobekCM_File_Info object

Compute_Jpeg_Attributes ( SobekCM_File_Info JPEG_File, string File_Location ) : bool

Computes the attributes (width, height) for a JPEG file

The attribute information is computed and then stored in the provided METS SobekCM_File_Info object

get_attributes_from_jpeg2000 ( SobekCM_File_Info JPEG2000_File, string File ) : bool

Method Details

DoWork() public method

Updates the basic dimensional information stored for all of the JPEG files within the service METS file
public DoWork ( Incoming_Digital_Resource Resource ) : bool
Resource Incoming_Digital_Resource Incoming digital resource object
return bool