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

BitmapLoader.Current.Load() doesn't work correct #419

Open
wist214 opened this issue Oct 31, 2019 · 1 comment
Open

BitmapLoader.Current.Load() doesn't work correct #419

wist214 opened this issue Oct 31, 2019 · 1 comment

Comments

@wist214
Copy link

wist214 commented Oct 31, 2019

The height/width parameters don't change anything in the BitmapLoader.Current.Load() function, the size is always remains original. Project: Xamarin Forms, Android

I had to change your lib (Splat.Drawing), and use Bitmap.CreateScaledBitmap() after decoding the stream, because parameters outHeigth and outWidth that you used, didn't work in this situation.
In case with IOS everything works fine.

P.S. In case with Cocoa, Tizen platforms, you still provide the ability to set width/height despite the fact that you don't use these parameters at all in your source code, so the size will definitely remain the same.

@glennawatson
Copy link
Contributor

Sounds good. Given you done the changes already mind providing a PR?

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