R
R
Rrooom2014-09-11 23:27:41
JavaScript
Rrooom, 2014-09-11 23:27:41

What is the name of the image format?

I forgot, and neither remember nor formulate Google.
A tricky format for bitmaps that can be stretched without loss of quality. In fact, in it we create several areas - the borders, which always remain themselves, and the central part, which is just stretched. Often used in interfaces, for example, for buttons, I also saw it was used to make the background "scroll".
And, at the same time, are there libraries for js to work with it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2014-09-11
@Rrooom

9-patch
https://github.com/chrislondon/9-patch-Image-for-W...

S
Sergey, 2014-09-11
Protko @Fesor

usually all the same is done on the principle of sprites with png / bmp.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question