get Centerpoint of Bitmap on an imageView


I draw an Bitmap on an ImageView (and some other stuff). I don't know if this problem is too trivial, but I did nothing found solving my problem,yet.

So: I need to get the Centerpoint auf the Bitmap after I manipulated it. So the Bitmap is rotated,moved and scaled.

How can I still get the CenterPoint of the BitMap on the Screen with an x/y coordinate?


Try the following,

int width=Bitmap.getWidth(); int height=Bitmap.getHeight(); int centerX=width/2; int centerY=height/2;

then centerX and centerY will be the center of the bitmap.


  • UITableViewController filling cells of different sections with Values
  • Draw a Curvilinear Rectangle inside a circle on iOS
  • Does there exist a digital image steganography algorithm which would be resistant to image manipulat
  • What's the difference between an interface and a constructor function in javascript?
  • Unity object not rotating around correct axis
  • Use of PHP code inside Javascript code
  • FileSystemWatcher and GUI
  • What does getters & setters method do in Java, how are they different from normal methods, and w
  • How can I rotate a UIViewController to its supported interface orientation when navigating to it?
  • KineticJS : scaling issue while using custom clipFunc on 2x pixel aspect display
  • failed to connect to localhost/ android
  • How do I run a command just after the emacs frame has been rendered?
  • Applying CIFiler to a masked portion of an image
  • Android LinearLayout and Images
  • Haskell permutation library function - please clarify?
  • No suitable HttpMessageConverter found for response type - Custom RestTemplate
  • Rotated Text in Circular Region
  • how to get the drawing graphic on picture box in c#
  • Exactly what should happen in a CALayer's display/drawRect methods?
  • Displaying pdf files using the PDFKit interface
  • Smiles in output C++
  • How to get a android ListView item selector to use state_pressed
  • Load image without autoscaling in Android
  • WPF Image control clipping
  • Retrieving a double from a JTextArea while solving for X
  • Picasso Taking time to load images
  • Calling java project from Mathematica
  • Load Same ACF Map Twice on Same Page
  • c# winform DrawToBitmap offscreen
  • Spring Integration Bridge with poller not working as expected for JMS
  • How to discover Font Type?
  • How to save a record and immediately use its GUID
  • Repository Browser Only - \"Repository moved permanently to… please relocate”
  • Possible to get mouse events fired when cursor is outside page?
  • Moving Android View and preventing onDraw to be called over and over again
  • Blackberry - Custom EditField Cursor
  • Update CALayer sublayers immediately
  • What is the “return” in scheme?
  • How to set my toolbar fixed while scrolling android
  • Android Heatmap on canvas or ImageView