From a3943ee50803e6eccf1e00efaf07531895f63d72 Mon Sep 17 00:00:00 2001 From: REAS Date: Fri, 10 Nov 2017 14:41:32 -0800 Subject: [PATCH] Small parameter changes for Reference --- core/src/processing/core/PApplet.java | 5 +++-- core/src/processing/core/PImage.java | 14 ++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index cccf59839..9d183b437 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -5258,7 +5258,6 @@ public class PApplet implements PConstants { /** * @see #noiseDetail(int) - * @param lod number of octaves to be used by the noise * @param falloff falloff factor for each octave */ public void noiseDetail(int lod, float falloff) { @@ -5994,7 +5993,9 @@ public class PApplet implements PConstants { return new JSONObject(createReader(filename)); } - + /** + * @nowebref + */ static public JSONObject loadJSONObject(File file) { return new JSONObject(createReader(file)); } diff --git a/core/src/processing/core/PImage.java b/core/src/processing/core/PImage.java index 4fdd8cd49..049d198f4 100644 --- a/core/src/processing/core/PImage.java +++ b/core/src/processing/core/PImage.java @@ -3328,15 +3328,13 @@ int testFunction(int dst, int src) { /** * ( begin auto-generated from PImage_save.xml ) * - * Saves the image into a file. Images are saved in TIFF, TARGA, JPEG, and - * PNG format depending on the extension within the filename - * parameter. For example, "image.tif" will have a TIFF image and - * "image.png" will save a PNG image. If no extension is included in the - * filename, the image will save in TIFF format and .tif will be - * added to the name. These files are saved to the sketch's folder, which + * Saves the image into a file. Append a file extension to the name of + * the file, to indicate the file format to be used: either TIFF (.tif), + * TARGA (.tga), JPEG (.jpg), or PNG (.png). If no extension is included + * in the filename, the image will save in TIFF format and .tif will be + * added to the name. These files are saved to the sketch's folder, which * may be opened by selecting "Show sketch folder" from the "Sketch" menu. - * It is not possible to use save() while running the program in a - * web browser.

To save an image created within the code, rather + *

To save an image created within the code, rather * than through loading, it's necessary to make the image with the * createImage() function so it is aware of the location of the * program and can therefore save the file to the right place. See the