This post demonstrates how to save the contents of a HTML5 canvas object to a Portable Pixel Map (PPM) encoded image file. It also discusses various gamma transfer functions including sRGB, radiance and luminance.
|
|
||
|
This post demonstrates how to save the contents of a HTML5 canvas object to a Portable Pixel Map (PPM) encoded image file. It also discusses various gamma transfer functions including sRGB, radiance and luminance. This post demonstrates how to provide robust support for command line argument processing in a JavaScript shell using the classical Unix getopts paradigm. It also demonstrates how to access environmental variables from a JavaScript shell. This post demonstrates one method of implementing rubber banding on a HTML5 canvas element using JavaScript. It also demonstrates how to horizontally flip, emboss, invert, and gray (grey) sections of an image. This post shows you how to build and smoketest a JavaScript shell for Microsoft Windows Vista SUA using the SpiderMonkey 1.8 sources As you are probably aware JavaScript engines such as SpiderMonkey typically do not allow access to the local filesystem for reasons of security. To enable developers to test the scripts from a command line, js includes the load() function which enables you to load one or more JavaScript scripts into the SpiderMonkey engine. However this [...] |
||
|
Copyright © 2005-2010 Finnbarr P. Murphy. All Rights Reserved. |
||