MD360Player4Android icon indicating copy to clipboard operation
MD360Player4Android copied to clipboard

How to disable the resize images?

Open hamam99 opened this issue 7 years ago • 2 comments

How to disable the resize images? I want to view the real images not the resize images. Thanks

hamam99 avatar Aug 04 '17 07:08 hamam99

the demo use the picasso to resize the image in BitmapPlayerActivity.java

Picasso.with(getApplicationContext())
                .load(uri)
                .resize(callback.getMaxTextureSize(),callback.getMaxTextureSize())
                .onlyScaleDown()
                .centerInside()
                .memoryPolicy(NO_CACHE, NO_STORE)
                .into(mTarget);

And it has the difference max texture size limited according to the device.

ashqal avatar Aug 07 '17 02:08 ashqal

Yes.... So what should I do?

On Aug 7, 2017 09:27, "Asha" [email protected] wrote:

the demo use the picasso to resize the image in BitmapPlayerActivity.java

Picasso.with(getApplicationContext()) .load(uri) .resize(callback.getMaxTextureSize(),callback.getMaxTextureSize()) .onlyScaleDown() .centerInside() .memoryPolicy(NO_CACHE, NO_STORE) .into(mTarget);

And it has the difference max texture size limited according to the device.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ashqal/MD360Player4Android/issues/179#issuecomment-320553824, or mute the thread https://github.com/notifications/unsubscribe-auth/AG3ddojUQ8bEfOwB2CirGxO_CtXTpWAgks5sVnYggaJpZM4OtXUA .

hamam99 avatar Aug 07 '17 04:08 hamam99