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

在phonegap的android应用中不能返回结果 #7

Open
IzayoyiSakuya opened this issue Oct 30, 2013 · 1 comment
Open

在phonegap的android应用中不能返回结果 #7

IzayoyiSakuya opened this issue Oct 30, 2013 · 1 comment

Comments

@IzayoyiSakuya
Copy link

Hi team,
我把AlloyImage加到PhoneGap2.8中,在Android2.3下测试下面的代码,其中workingSetImage是一个加载好的;

            var workingSetImage = document.getElementById("app_imageBox");

            var original = AlloyImage(workingSetImage);
            var sketch = original.clone().act("反色");

            var sketchData = sketch.save();

            console.log("sketch data = " + sketchData);

结果返回的是:
sketch data = data:
我看了源码,好像是data:image xxxx的png格式图片只返回了头部。Any idea?

@honghu91
Copy link
Contributor

待测试~

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

2 participants