This document introduces you to the JPEG Image Frame Plug-in library functionality.
JPEG Image Frame Plug-in is the Imaging Frameworks EXIF decoder / encoder Plug-in which provides to decode / encode a JPEG file or descriptor to a binary image data in an uniform way.
JPEG Image Frame Plug-in Library Details
You must obtain necessary binaries in the form of DLL file to implement the JPEG Image Frame Plug-in function.
JPEG Image Frame Plug-in is plug-in for the Imaging Frameworks decoder / encoder plug-in relating to a binary image data.
Inorder to implement the JPEGExifPlugin.dll
four new classes are added they are explained in detail in Key Classes section. These classes are derived from:
CJPEGImageFrameDecoder
and CJPEGImageFrameEncoder
are derived from EXIF, they are CJPEGExifDecoder
and CJPEGExifEncoder
.
CJPEGImageFrameDecoderPlugin
and CJPEGImageFrameEncoderPlugin
are derived from EXIF plugin, they are CJPEGExifDecoderPlugin
and CJPEGExifEncoderPlugin
.
The key classes are:
CJPEGImageFrameDecoder
Use an extension of the EXIF JPEG encoder to encode JPEG image from CImageFrame
source type to either a file or a descriptor.
CJPEGImageFrameDecoderPlugin
This class is an extension of the Imaging Frameworks EXIF decoder plug-in which provides to decode a JPEG file or descriptor to CImageFrame
.
CJPEGImageFrameEncoder
Use an extension of the EXIF JPEG decoder to decode JPEG image from CImageFrame
source type to either a file or a descriptor.
CJPEGImageFrameEncoderPlugin
This class is an extension of the Imaging Frameworks EXIF encoder plug-in which provides to encode a JPEG file or descriptor to CImageFrame
.
The JPEG Image Frame Plug-in functionality is used for the following:
To Decode image data to a bitmap (RGB data wrapped by a CFbsBitmap
) from a file or a descriptor containing JPEG data.
To Encode an uncompressed bitmap (CFbsBitmap
) to JPEG data format within a file or a descriptor.
It allow access to the EXIF metadata.