Skip to content

Commit c2311c8

Browse files
authored
Merge pull request #7462 from reidab/patch-1
Fix typo in image.js docs
2 parents 4bcbbcd + 0ac9302 commit c2311c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image/image.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ p5.prototype.encodeAndDownloadGif = function(pImg, filename) {
565565
* an object with its file type, file name, and image data as a string. For
566566
* example, the first saved frame might have the following properties:
567567
*
568-
* `{ ext: 'png', filenmame: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
568+
* `{ ext: 'png', filename: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
569569
*
570570
* The first parameter, `filename`, sets the prefix for the file names. For
571571
* example, setting the prefix to `'frame'` would generate the image files

0 commit comments

Comments
 (0)