Phone +1.415.332.4343
  • Home
  • EQ Products
    • MediaRich ECM for SharePoint
      • Overview
      • Features
      • Benefits
      • Technical Overview
      • MediaRich for SharePoint at Work
    • MediaRich ECM for SharePoint – Online
    • MediaRich Server
      • Overview
      • Features
      • A/V Features
      • Technical Overview
      • MediaRich at Work
      • Demos
      • Use Cases
        • Asset Management
        • Batch Processing
        • Content Repurposing
        • Navigation
        • Product Visualization
      • Developer Center
    • MediaRich Hot Folders
      • Overview
    • EQ Network Beta
  • Customers
  • Partners
    • Partners Overview
    • Solution Partners
    • Technology Partners
  • News
  • Company
    • Company Overview
    • Executive Team
    • Privacy
    • Legal
    • Careers
    • Contact Us
  • Support

Function Order

Problem
Image quality is not as good as expected, or else the processing of images is taking too long.

Description
For a satisfactory user experience, a website should find a balance between quality graphics and a quick download time. The most efficient order of functions should be used wherever possible, while maintaining a certain degree of image quality. Conversely, if image quality is the prime concern, functions can be performed in an order that will help maintain that quality but this quality will be accompanied by a longer processing time.

Solution/Discussion
By having functions performed in a certain order, a script can be optimized for either higher image quality, or for efficiency in processing. It is unlikely that all of the functions found in the following two lists will be used in any one script…they are meant to be used as guidelines. The following lists assume that the starting image data is 24- or 32-bit.

Processing for speed:

collapse()

crop()

composite()

scale()

rotate()

(filters, transforms & color space adjustments: colorize(), adjustRgb(), etc.)

reduce() or convert()

Processing for quality:

composite()

crop()

(filters, transforms & color space adjustments: colorize(), adjustRgb(), etc.)

rotate()

scale()

collapse()

reduce() or convert()

Back to Developer Resources

Top

Developer Resources

  • Implementation Considerations
  • API’s
  • Script Optimization
  • Function Order
  • File Size
  • XML document object
  • Examples



Products
  • MediaRich for SharePoint
  • MediaRich Server
  • MediaRich Hot Folders
  • Debabelizer
  • EQ Network

  • Demos
  • Videos
Use Cases
  • Use Cases Overview
  • Asset Management
  • Batch Processing
  • Content Repurposing
  • Navigation
  • Product Visualization
Partners
  • Partner Overview
  • Solution Partners
  • Technology Partners
News
  • News/Blog
Company
  • Company
  • Executive Team
  • Privacy
  • Legal
  • Careers
  • Contact Us
© 2004-2012 Automated Media Processing Solutions, Inc. All Rights Reserved.