-
Notifications
You must be signed in to change notification settings - Fork 570
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
小图片按比例填充图片控件,然后添加贴纸,结果保存下来的最终图片,贴纸的位置和大小都不对了???怎么解决??? #90
Comments
小图片是多小 width height 请给出 , 位置不正确也请给出详细数据 |
图片是700X525的,我的控件是按3:4比例的,控件宽度全屏,图片展示上去被拉伸裁剪了,然后添加贴纸后,最终保存下来的图片贴纸放大了位置也偏上了 |
你的控件 是指什么控件? |
就是这个控件ImageViewTouch |
不过我设置的是CENTER_CROP,需求要充满控件,所以会被裁剪,相当于图片放大展示了 |
大佬,这个ImageViewTouch中的图片太小的话充满不了控件的,充满后添加贴纸就会有我说的那个问题?这个该从那里解决呢??急求解 |
CENTER_CROP 会影响图片最终合成的变换矩阵 建议不要做这样的修改 |
那有办法让它充满整个控件吗
…------------------ 原始邮件 ------------------
发件人: "Geass"<[email protected]>;
发送时间: 2020年3月3日(星期二) 上午9:30
收件人: "siwangqishiq/ImageEditor-Android"<[email protected]>;
抄送: "吴忧"<[email protected]>;"Author"<[email protected]>;
主题: Re: [siwangqishiq/ImageEditor-Android] 小图片按比例填充图片控件,然后添加贴纸,结果保存下来的最终图片,贴纸的位置和大小都不对了???怎么解决??? (#90)
CENTER_CROP 会影响图片最终合成的变换矩阵 建议不要做这样的修改
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
这个需要改图片合成的代码了 等我有空了看一下 |
好的 ,谢大佬
…------------------ 原始邮件 ------------------
发件人: "Geass"<[email protected]>;
发送时间: 2020年3月3日(星期二) 上午9:35
收件人: "siwangqishiq/ImageEditor-Android"<[email protected]>;
抄送: "吴忧"<[email protected]>;"Author"<[email protected]>;
主题: Re: [siwangqishiq/ImageEditor-Android] 小图片按比例填充图片控件,然后添加贴纸,结果保存下来的最终图片,贴纸的位置和大小都不对了???怎么解决??? (#90)
这个需要改图片合成的代码了 等我有空了看一下
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: