Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeError: Source is too large #141

Closed
Glinkis opened this issue Jun 26, 2018 · 2 comments
Closed

RangeError: Source is too large #141

Glinkis opened this issue Jun 26, 2018 · 2 comments

Comments

@Glinkis
Copy link
Contributor

Glinkis commented Jun 26, 2018

After #139 I am getting an error when parsing one of my psd files:

RangeError: Source is too large
      at Uint8Array.set (native)
      at Image.combineRgbChannel (psd.js\lib\psd\image_modes\rgb.coffee:30:20)

The file in question is identical to other files (that works fine), except it's of the size 512 x 512 pixels.

@fabulousduck
Copy link
Collaborator

closing since fix got merged

@AnselDai
Copy link

Still encounter this situation. If make the size of unit8Array to be a parameter of PSD class, then we can dynamically control the size of Array in image.coffee according to the actual size of psd file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants