Try popular Android Application by Feliz-Droid

Try popular Android Application by Feliz-Droid

Speaking Caller logo
Speaking Caller
   
Battery temperature logo
Battery Temperature
   
Dual Photo logo
Dual Photo
   
Ganesh Wallpapersl ogo
Lord Ganesh Wallpaper
   
Girly Pink Keyboard l ogo
Girly Pink Keyboard

Thursday, August 27, 2015

Flip Bitmap in android

Hello Friends today we will see how to flip bitmap in android.

//# create a enum flip type parameter.
enum FLIP{HORIZONTAL,VERTICAL};
 // flip function with type
public static Bitmap flip(Bitmap bitmap, FLIP type){
Matrix matrix =new Matrix();
if(type==FLIP.HORIZONTAL){
              matrix.preScale(-1.0f, 1.0f);
}else if(type==FLIP.VERTICAL){
              matrix.preScale(1.0f, -1.0f);
}
return Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), matrix, true);
}
 // calling flip function and get flipped bitmap
Bitmap flippedBitmap=flip(bitmap, FLIP.HORIZONTAL);


 Support by downloading my App!


24 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.

    java training in chennai | java training in USA

    selenium training in chennai

    ReplyDelete
  3. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.

    rpa training in electronic city | rpa training in chennai

    rpa online training | selenium training in training

    ReplyDelete
  4. Awesome! Education is the extreme motivation that open the new doors of data and material. So we always need to study around the things and the new part of educations with that we are not mindful.
    python training in annanagar
    python training in chennai
    python training in chennai
    python training in Bangalore

    ReplyDelete
  5. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Devops training in velachery
    Devops training in annanagar
    Devops training in tambaram
    DevOps online Training

    ReplyDelete
  6. I am a regular reader of your blog and being students it is great to read that your responsibilities have not prevented you from continuing your study and other activities. Love

    angularjs Training in chennai
    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    angularjs-Training in velachery

    ReplyDelete
  7. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Best Devops Training in pune
    Devops Training in Chennai

    ReplyDelete
  8. Thanks for such a great article here. I was searching for something like this for quite a long time and at last, I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays. Well written article Thank You for Sharing with Us pmp training centers in chennai| pmp training in velachery | project management courses in chennai |pmp training in chennai | pmp training institute in chennai | pmp training in chennai

    ReplyDelete
  9. Hello, I read your blog occasionally, and I own a similar one, and I was just wondering if you get a lot of spam remarks? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me insane, so any assistance is very much appreciated.
    Android Training in Chennai | Best Android Training in Chennai
    Matlab Training in Chennai | Best Matlab Training in Chennai
    Best AWS Training in Chennai | AWS Training in Chennai
    Selenium Training in Chennai | Best Selenium Training in chennai
    Devops Course Training in Chennai | Best Devops Training in Chennai

    ReplyDelete
  10. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    blue prism Training in Electronic City

    ReplyDelete
  11. This is the exact information I am been searching for, Thanks for sharing the required infos with the clear update and required points. To appreciate this I like to share some useful information.datascience with python training in bangalore

    ReplyDelete
  12. Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.DataScience with Python Training in Bangalore




    ReplyDelete
  13. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.thanks a lot guys.
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

    ReplyDelete
  14. This post is very easy to read and enjoy without finding out any information. Great job!
    360DigiTMG data science course in malaysia

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. Nice stuff!! It's good to share these types of articles and I hope you'll share an article about artificial intelligence. By giving an institute like 360DigiTMG.it is one of the best institutes for accredited courses.
    artificial intelligence course in delhi

    ReplyDelete
  17. You should talk it's shocking. Your blog survey would extend your visitors. I was fulfilled to find this site.I expected to thank you for this phenomenal read!!

    HRDF training

    ReplyDelete
  18. Such a very useful information!Thanks for sharing this useful information with us. Really great effort.
    digital marketing courses aurangabad

    ReplyDelete