Location: 
            imageprocessor.h
            
Link against: imageconversion.lib
            
         
         
       
      
         class ImageProcessorUtility;
         Description
         
         
            Utility class providing static factory functions for creating instances of CImageProcessor derived classes. 
         
         
         Members
         
         Defined in ImageProcessorUtility:
            
NewImageProcessorL(), NewImageProcessorL(), ReductionFactor()
            
         
         
         
       
      
         static IMPORT_C TInt ReductionFactor(const TSize &aOriginalSize, const TSize &aReducedSize);
         Description
         
         Static function to calculate a reduction factor based on the input parameters. This function is deprecated. It is recommended
            to use CImageDecoder::ReductionFactor or CImageReadCodec::ReductionFactor(for Plugin writers only) to calculate the reduction factor and then use CImageDecoder::ReducedSize to find the size of the decoded bitmap.
         
         
         Parameters
         
         
            
               | 
                     
                        | const TSize&aOriginalSize | A reference to the original size of an item.  |  
                        | const TSize&aReducedSize | A reference to the new size of an item.  |  | 
         
         
         Return value
         
         
            
               | 
                     
                        | TInt | The reduction factor. |  | 
         
          
      
         static IMPORT_C CImageProcessor *NewImageProcessorL(const CFbsBitmap &aBitmap, const TSize &aImageSize, TDisplayMode aImageDisplayMode,
               TBool aDisableErrorDiffusion);
         Description
         
         Static factory function for creating instances of CImageProcessor derived classes. This fuction is deprecated. It is recommended for plugin writers to use default implementation of CImageReadCodec::ReductionFactor to calculate the reduction factor and then use NewImageProcessorL(const CFbsBitmap& aBitmap,TInt aReductionFactor,TDisplayMode aImageDisplayMode, TBool aDisableErrorDiffusion)
            
         
         
         Parameters
         
         
            
               | 
                     
                        | const CFbsBitmap&aBitmap | A reference to the bitmap used.  |  
                        | const TSize&aImageSize | The size of image to use.  |  
                        | 
                              TDisplayModeaImageDisplayMode | The display mode to use.  |  
                        | 
                              TBoolaDisableErrorDiffusion | A flag indicating whether error diffusion should be disabled.  |  | 
         
         
         Return value
         
         
          
      
         static IMPORT_C CImageProcessor *NewImageProcessorL(const CFbsBitmap &aBitmap, TInt aReductionFactor, TDisplayMode aImageDisplayMode,
               TBool aDisableErrorDiffusion);
         Description
         
         Static factory function for creating instances of CImageProcessor derived classes.
         
         
         Parameters
         
         
            
               | 
                     
                        | const CFbsBitmap&aBitmap | A reference to the bitmap used.  |  
                        | 
                              TIntaReductionFactor | The value indicating how much to shrink the bitmap.  |  
                        | 
                              TDisplayModeaImageDisplayMode | The display mode to use.  |  
                        | 
                              TBoolaDisableErrorDiffusion | A flag indicating whether error diffusion should be disabled. |  | 
         
         
         Return value