UNPKG
psd
Version:
latest (3.4.0)
3.4.0
3.3.0
3.2.2
3.2.1
3.2.0
3.1.0
3.0.0
2.1.0
2.0.0
1.1.0
1.0.2
1.0.1
0.0.4
0.0.3
0.0.2
0.0.1
A general purpose Photoshop file parser.
github.com/meltingice/psd.js
meltingice/psd.js
psd
/
lib
/
psd
/
layer_info.coffee
8 lines
(7 loc)
•
223 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
module.exports =
class
LayerInfo
constructor
: (
@layer
,
@length
) ->
@file
=
@layer
.file
@section_end
=
@file
.tell() +
@length
@data
= {} skip: ->
@file
.seek
@section_end
parse: ->
@skip()
# skip
by
default