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

图片裁剪缩小后,上传到服务端,图片为全黑色 #7

Open
l745230 opened this issue Jun 9, 2017 · 3 comments
Open

图片裁剪缩小后,上传到服务端,图片为全黑色 #7

l745230 opened this issue Jun 9, 2017 · 3 comments

Comments

@l745230
Copy link

l745230 commented Jun 9, 2017

图片裁剪缩小后,上传到服务端,图片为全黑色
image
仅裁剪,不放大缩小,图片上传正常

@JackPu
Copy link
Member

JackPu commented Jun 9, 2017

麻烦把原图发下我,邮箱我留在demo页面里面了。

@l745230
Copy link
Author

l745230 commented Jun 9, 2017

在IOS真机上测试
1.本地选择的图片,不缩放能正常上传,缩放后传到服务端就是黑图
2.拍照后上传的图片,无论是否裁剪,缩放,都是黑图
(附拍照传给服务端的参数Parameter : toCropImgW=3024 comprese=100 toCropImgH=3024 maxWidth=undefined request=crop toCropImgY=0 toCropImgX=504
)

@l745230
Copy link
Author

l745230 commented Jun 9, 2017

想换成服务端裁剪的方式,取到的参数是NaN.toCropImgY=NaN toCropImgX=NaN

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