Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psd.js
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
regiostart
psd.js
Commits
1a39a181
Commit
1a39a181
authored
May 23, 2014
by
Ryan LeFevre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blend clipping elements
parent
667a6019
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
file.coffee
lib/psd/file.coffee
+1
-1
info.coffee
lib/psd/layer/info.coffee
+3
-2
blend_clipping_elements.coffee
lib/psd/layer_info/blend_clipping_elements.coffee
+8
-0
No files found.
lib/psd/file.coffee
View file @
1a39a181
...
@@ -47,4 +47,4 @@ module.exports = class File
...
@@ -47,4 +47,4 @@ module.exports = class File
.
replace
(
/\u0000/g
,
''
)
.
replace
(
/\u0000/g
,
''
)
readByte
:
->
@
read
(
1
)[
0
]
readByte
:
->
@
read
(
1
)[
0
]
readBoolean
:
->
readByte
()
isnt
0
readBoolean
:
->
@
readByte
()
isnt
0
\ No newline at end of file
\ No newline at end of file
lib/psd/layer/info.coffee
View file @
1a39a181
...
@@ -2,8 +2,9 @@ LazyExecute = require '../lazy_execute.coffee'
...
@@ -2,8 +2,9 @@ LazyExecute = require '../lazy_execute.coffee'
Util
=
require
'../util.coffee'
Util
=
require
'../util.coffee'
LAYER_INFO
=
{
LAYER_INFO
=
{
name
:
require
(
'../layer_info/unicode_name.coffee'
),
blendClippingElements
:
require
(
'../layer_info/blend_clipping_elements.coffee'
)
nestedSectionDivider
:
require
(
'../layer_info/nested_section_divider.coffee'
),
name
:
require
(
'../layer_info/unicode_name.coffee'
)
nestedSectionDivider
:
require
(
'../layer_info/nested_section_divider.coffee'
)
sectionDivider
:
require
(
'../layer_info/section_divider.coffee'
)
sectionDivider
:
require
(
'../layer_info/section_divider.coffee'
)
}
}
...
...
lib/psd/layer_info/blend_clipping_elements.coffee
0 → 100644
View file @
1a39a181
LayerInfo
=
require
'../layer_info.coffee'
module
.
exports
=
class
BlendClippingElements
extends
LayerInfo
@
shouldParse
:
(
key
)
->
key
is
'clbl'
parse
:
->
@
enabled
=
@
file
.
readBoolean
()
@
file
.
seek
3
,
true
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment