• Installation Manual
  • Information Server
  • Editor v2.0
  • Render Engine
    • Introduction to templating
    • Extensions (reference)
      • Core functions
      • Utitlity-Library
      • onion.net Data source
      • Search
      • Common Modules
      • ASP.NET
      • E-Mail
      • Imageservice
        • Core Functions
          • addPaletteColor
          • applyCommand
          • createColor
          • createFont
          • createImage
          • createPen
          • createPoint
          • createRectangle
          • createSize
          • createSolidFill
          • createTextFormat
          • createWorkspace
          • extractMetadata
          • getColorFromPosition
          • getPixel
          • getPixelIndex
          • loadFont
          • setPixel
          • setPixelIndex
          • setProperty
          • writeWorkspace
        • Canvas
        • Commands
        • Encoders
        • PDF
    • Configuration file
    • Practical Tips
  • Client API
  • Image Server
http://onionworks.net/2006/imageservice

getPixelIndex (workspace : nodeset, x : number, y : number) : nodeset

With this method, the colour palette index of the colour at a certain pixel can be determined.

The syntax of the method can be seen in the following example. The used variable “workspace” contains a created workspace.

<xsl:variable name="pixelIndex" select="is:getPixelIndex($workspace,100,100)" />
  • Documentation
    • Installation Manual
    • Information Server
    • Editor v2.0
    • Render Engine
    • Client API
    • Image Server
  • Exercises
    • W3C XPath
  • Contact
    • Imprint
    • Privacy policy
  • Versions
    • 4.5.7
    • 4.0.7
    • 4.0.6
  1. Home
  2. Documentation
  3. Render Engine
  4. Extensions (reference)
  5. Imageservice
  6. Core Functions
  7. getPixelIndex
onion.net
CMS and more ...
Deutsch
Search
  • Contact
  • Sitemap
  • Imprint
  • Privacy policy
  • Imprint
  • Privacy policy
Follow us on twitter