Modularise JS source in 'lib' subdirectory.

Generate public API documention via jsdoc comments.
This commit is contained in:
Lovell Fuller
2016-11-01 14:33:16 +00:00
parent 552cfd6ff1
commit 8717ecc429
62 changed files with 3384 additions and 2779 deletions

View File

@@ -37,7 +37,6 @@ namespace sharp {
return dst;
}
VImage Composite(VImage src, VImage dst, const int x, const int y) {
if(IsInputValidForComposition(src, dst)) {
// Enlarge overlay src, if required
@@ -178,7 +177,7 @@ namespace sharp {
/*
* Stretch luminance to cover full dynamic range.
*/
VImage Normalize(VImage image) {
VImage Normalise(VImage image) {
// Get original colourspace
VipsInterpretation typeBeforeNormalize = image.interpretation();
if (typeBeforeNormalize == VIPS_INTERPRETATION_RGB) {