Using Imageloader to take photos to ImageView inside the picture is not in the wrong direction

Source: Internet
Author: User

Displayimageoptions configuration of the problem set a considerexifparams=true can be
Attach the meanings of each configuration item
Displayimageoptions options =NewDisplayimageoptions.builder ()//set the picture that the picture displays during the download. showimageonloading (r.drawable.ic_stub)//sets the picture to be displayed when the image URI is empty or wrong. Showimageforemptyuri (r.drawable.ic_stub)//set picture to display when errors are displayed during image load/decode. Showimageonfail (r.drawable.ic_error)//sets whether the downloaded picture is slow to exist in memory. Cacheinmemory (false)                //sets whether the downloaded picture is slow to exist on the SD card. Cacheondisc (true)                //Keep picture file header information. Considerexifparams (true)                //set how images are displayed in an encoded manner. Imagescaletype (imagescaletype.exactly_stretched)//set the decoding type of a picture. Bitmapconfig (Bitmap.Config.RGB_565)//. Decodingoptions (android.graphics.BitmapFactory.Options//decodingoptions)//set the decoding configuration for a picture. Considerexifparams (true)                //set the delay before the picture is downloaded. delaybeforeloading (100)//int//Delayinmillis Set the delay time for you//Set up bitmap before adding a picture to the cache//. Preprocessor (bitmapprocessor preprocessor). resetviewbeforeloading (true)//set whether the picture is reset before downloading, reset//. Displayer (New Roundedbitmapdisplayer )//is set to fillet, how many radians. Displayer (NewFadeinbitmapdisplayer (100))//Fade in. build ();

Using Imageloader to take photos to ImageView inside the picture is not in the wrong direction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.