-
Notifications
You must be signed in to change notification settings - Fork 101
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
ChunkyPNG::Image from_datastream method #5
Comments
The idea is that the Canvas class only handles pixel data. The image class handles other aspects that can be part of a PNG image (currently only metadata). SO it is correct that the Canvas class does not have the metadata member. The question remains how you got this error. Do you have a code snippet that reproduces this issue? |
We have just a plain ol' .scss file. See the following:
We of course use ChunkyPNG via Lemonade. The sprite css fails to generate because of this error. |
If it helps, I've attached the following stacktrace:
|
Fixed by yourself. Thanks! |
We had this bug where metadata is not defined on instance of ChunkyPNG::Canvas. Which is correct. (There is no metadata attribute on ChunkyPNG::Canvas).
Commenting out the following fixes our bug.
image.metadata = ds.metadata
Should ChunkyPNG::Canvas instance have metadata attribute?
The text was updated successfully, but these errors were encountered: