Skip to content

Commit

Permalink
Update image.js
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Yuan <[email protected]>
  • Loading branch information
juntao authored Jul 20, 2022
1 parent 485d4ff commit 9ea8c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_js/image.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Image} from 'image';
let img = new Image('./bird.png');
let img = new Image(__dirname + '/bird.png');
let img_luma = img.to_luma();
img_luma.save_to_file('./bird_luma.png')
img_luma.save_to_file(__dirname + '/bird_luma.png')

0 comments on commit 9ea8c6e

Please sign in to comment.