DDMAL / pixel_wrapper

Rodan Pixel.js Wrapper
Other
0 stars 1 forks source link

Implement background layer functionality #11

Closed EricHanLiu closed 6 years ago

EricHanLiu commented 6 years ago

Takes the difference of the other 3 layers and generates a new layer when exporting. NOTE: can only be done once (ie. if you export to PNG, cannot export to imagedata, outcome won't be as intended). But, since we expect the user to only export to Rodan, it shouldn't be an issue

The only file changed is export.js, but I had to do some imports in order to restrain all the code to just export (this way the background is only generated when exporting, don't want the user to be able to alter the background layer while editing).

EricHanLiu commented 6 years ago

@vigliensoni by debugging messages in the console do you mean the console.log("Exporting 123") line that I altered? Or do you mean in my commit messages?

vigliensoni commented 6 years ago

console.log

On Fri, May 11, 2018 at 10:34 AM, Eric Han Liu notifications@github.com wrote:

@vigliensoni https://github.com/vigliensoni by debugging messages in the console do you mean the console.log("Exporting 123") line that I altered? Or do you mean in my commit messages?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DDMAL/pixel_wrapper/pull/11#issuecomment-388382083, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeCxW2p6Ew5J1MQo1Nt54g8AZf8MPKQks5txaF4gaJpZM4T7gng .