mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Test default ColorSpace of new sprites
This commit is contained in:
parent
3e23e63824
commit
c6d3e0c948
@ -1,3 +1,4 @@
|
||||
Copyright (c) 2018-2019 Igara Studio S.A.
|
||||
Copyright (c) 2018 David Capello
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
8
scripts/color_space.lua
Normal file
8
scripts/color_space.lua
Normal file
@ -0,0 +1,8 @@
|
||||
-- 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
|
Loading…
Reference in New Issue
Block a user