| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5258,7 +5258,6 @@ public void noiseDetail(int lod) { | |||
| 5258 | 5258 | ||
| 5259 | 5259 | /** | |
| 5260 | 5260 | * @see #noiseDetail(int) | |
| 5261 | - * @param lod number of octaves to be used by the noise | ||
| 5262 | 5261 | * @param falloff falloff factor for each octave | |
| 5263 | 5262 | */ | |
| 5264 | 5263 | public void noiseDetail(int lod, float falloff) { | |
@@ -5994,7 +5993,9 @@ public JSONObject loadJSONObject(String filename) { | |||
| 5994 | 5993 | return new JSONObject(createReader(filename)); | |
| 5995 | 5994 | } | |
| 5996 | 5995 | ||
| 5997 | - | ||
| 5996 | + /** | ||
| 5997 | + * @nowebref | ||
| 5998 | + */ | ||
| 5998 | 5999 | static public JSONObject loadJSONObject(File file) { | |
| 5999 | 6000 | return new JSONObject(createReader(file)); | |
| 6000 | 6001 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3328,15 +3328,13 @@ private IIOMetadata imageioDPI(ImageWriter writer, ImageWriteParam param, double | |||
| 3328 | 3328 | /** | |
| 3329 | 3329 | * ( begin auto-generated from PImage_save.xml ) | |
| 3330 | 3330 | * | |
| 3331 | - * Saves the image into a file. Images are saved in TIFF, TARGA, JPEG, and | ||
| 3332 | - * PNG format depending on the extension within the <b>filename</b> | ||
| 3333 | - * parameter. For example, "image.tif" will have a TIFF image and | ||
| 3334 | - * "image.png" will save a PNG image. If no extension is included in the | ||
| 3335 | - * filename, the image will save in TIFF format and <b>.tif</b> will be | ||
| 3336 | - * added to the name. These files are saved to the sketch's folder, which | ||
| 3331 | + * Saves the image into a file. Append a file extension to the name of | ||
| 3332 | + * the file, to indicate the file format to be used: either TIFF (.tif), | ||
| 3333 | + * TARGA (.tga), JPEG (.jpg), or PNG (.png). If no extension is included | ||
| 3334 | + * in the filename, the image will save in TIFF format and .tif will be | ||
| 3335 | + * added to the name. These files are saved to the sketch's folder, which | ||
| 3337 | 3336 | * may be opened by selecting "Show sketch folder" from the "Sketch" menu. | |
| 3338 | - * It is not possible to use <b>save()</b> while running the program in a | ||
| 3339 | - * web browser.<br /><br />To save an image created within the code, rather | ||
| 3337 | + * <br /><br />To save an image created within the code, rather | ||
| 3340 | 3338 | * than through loading, it's necessary to make the image with the | |
| 3341 | 3339 | * <b>createImage()</b> function so it is aware of the location of the | |
| 3342 | 3340 | * program and can therefore save the file to the right place. See the | |
| Back | FazBrowse Home | New Git URL |
0 commit comments