mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Use ColorMode.GRAY instead of ColorMode.GRAYSCALE
This commit is contained in:
parent
8e66b83319
commit
f643a93998
@ -1,11 +1,12 @@
|
|||||||
|
-- Copyright (C) 2018 Igara Studio S.A.
|
||||||
-- Copyright (C) 2018 David Capello
|
-- Copyright (C) 2018 David Capello
|
||||||
--
|
--
|
||||||
-- This file is released under the terms of the MIT license.
|
-- This file is released under the terms of the MIT license.
|
||||||
-- Read LICENSE.txt for more information.
|
-- Read LICENSE.txt for more information.
|
||||||
|
|
||||||
do
|
do
|
||||||
local spec = ImageSpec{colorMode=ColorMode.GRAYSCALE, width=32, height=64, transparentColor=2}
|
local spec = ImageSpec{colorMode=ColorMode.GRAY, width=32, height=64, transparentColor=2}
|
||||||
assert(spec.colorMode == ColorMode.GRAYSCALE)
|
assert(spec.colorMode == ColorMode.GRAY)
|
||||||
assert(spec.width == 32)
|
assert(spec.width == 32)
|
||||||
assert(spec.height == 64)
|
assert(spec.height == 64)
|
||||||
assert(spec.transparentColor == 2)
|
assert(spec.transparentColor == 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user