Image Effects
amaso83

Hi Clockwork Chilli

 

I downloaded Image Effects plug-in for WADE, and I try to do what is written in the newsletter:

 

wade.sepia('source.png', 'dest.png')

 

but it does no thing, i can not see dest.png?

All 3 Comments
Elliot

Hi amaso

 

As I understand it, it doesn't create a file dest.png on your disk, it only creates it in memory, so you can create a sprite with it.

wade.sepia('source.png', 'dest.png');var sprite = new Sprite('dest.png');
amaso83

Thank you Elliot

 

What do I do to save it to my disk?

Gio

Hi and welcome to the forums.

 

If you are on Windows, I'd suggest downloading prompt.js. Then (from prompt.js) you can do this:

wade.sepia('source.png', 'dest.png');promptjs.saveDataURL(wade.getImageDataURL('dest.png'), 'dest.png');
Post a reply
Add Attachment
Submit Reply
Login to Reply