aseprite/scripts/color_space.lua

13 lines
339 B
Lua
Raw Normal View History

2019-01-03 16:51:30 +00:00
-- Copyright (C) 2019 Igara Studio S.A.
--
-- This file is released under the terms of the MIT license.
-- Read LICENSE.txt for more information.
local spr = Sprite(32, 32)
local cs = spr.spec.colorSpace
assert(cs.name == "sRGB") -- Default color profile
2019-01-03 16:52:13 +00:00
local spr2 = Sprite(32, 32)
local cs2 = spr.spec.colorSpace
assert(cs == cs2)