Skip to content

Error saving Layer Comp as png #91

@electricBonfire

Description

@electricBonfire

I have the following ruby script:

require 'psd'
psd = PSD.new('dusk.psd')
psd.parse!
psd.tree.filter_by_comp('Layer Comp 1').save_as_png('./Version A.png')

The script takes over 11 minutes to complete and the output image is vastly different than what the layer comp looks like in PS

I don't have a lot of Ruby experience and am unsure how to debug or even look into whats going on. I added PSD.debug = true and saw lots of output but nothing seemed to jump out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions