File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,14 +331,14 @@ This creates a new metadata item of the specified type, name and value.
331331This changes the value of an existing field, but will not change its type.
332332
333333You can't use ` set() ` to change core fields such as like ` width ` or
334- ` interpretation ` . Use ` copy() ` instead.`
334+ ` interpretation ` . Use ` copy() ` instead.
335335
336336Image references will be shared by the operation cache, so modifying an image
337337can change an image somewhere else in your program. Before changing an image,
338338you must make sure you own a private copy of an image with ` copy ` .
339339
340340``` lua
341- local new_image = image :copy ()`
341+ local new_image = image :copy ()
342342new_image :set (" orientation" , 7 )
343343```
344344
You can’t perform that action at this time.
0 commit comments