Skip to content

Commit

Permalink
Fix typo in image.js docs
Browse files Browse the repository at this point in the history
`filenmame` -> `filename`
  • Loading branch information
reidab authored Jan 10, 2025
1 parent 4bcbbcd commit 0ac9302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ p5.prototype.encodeAndDownloadGif = function(pImg, filename) {
* an object with its file type, file name, and image data as a string. For
* example, the first saved frame might have the following properties:
*
* `{ ext: 'png', filenmame: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
* `{ ext: 'png', filename: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
*
* The first parameter, `filename`, sets the prefix for the file names. For
* example, setting the prefix to `'frame'` would generate the image files
Expand Down

0 comments on commit 0ac9302

Please sign in to comment.