---
title: "How the nine-patch Image different from a regular bitmap? Alternatively, what is the difference between nine-  patch Image vs regular Bitmap Image?"  
description: "How the nine-patch Image different from a regular bitmap? Alternatively, what is the difference between nine-  patch Image vs regular Bitmap Image?"  
author: "James Smith"  
published: 2011-11-10  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/1352/how-the-nine-patch-image-different-from-a-regular-bitmap-alternatively-what-is-the-difference-between-nine-patch-image-vs-regular-bitmap-image  
category: "mobile development"  
tags: ["mobile development"]  
reading_time: 1 minute  

---

# How the nine-patch Image different from a regular bitmap? Alternatively, what is the difference between nine-  patch Image vs regular Bitmap Image?

It is one of a resizable bitmap resource which is being used as backgrounds or other images on the device. The\
NinePatch class allows drawing a bitmap in nine sections. The four corners are unscaled; the middle of the image is scaled in both axes, the four edges are scaled into one axis.\

## Answers

### Answer by James Smith

It is one of a resizable bitmap resource which is being used as backgrounds or other images on the device. The\
NinePatch class allows drawing a bitmap in nine sections. The four corners are unscaled; the middle of the image is scaled in both axes, the four edges are scaled into one axis.\


---

Original Source: https://www.mindstick.com/interview/1352/how-the-nine-patch-image-different-from-a-regular-bitmap-alternatively-what-is-the-difference-between-nine-patch-image-vs-regular-bitmap-image

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
