We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6959cc9 commit 09e38ffCopy full SHA for 09e38ff
spec/write_spec.lua
@@ -9,8 +9,7 @@ describe("test image write", function()
9
end)
10
11
describe("to file", function()
12
- local array = { 1, 2, 3, 4 }
13
- local im = vips.Image.new_from_array(array)
+ local im = vips.Image.black(100, 100)
14
local tmp_png_filename = ffi.os == "Windows" and os.getenv("TMP") .. "\\x.png" or "/tmp/x.png"
15
local tmp_jpg_filename = ffi.os == "Windows" and os.getenv("TMP") .. "\\x.jpg" or "/tmp/x.jpg"
16
0 commit comments