1

I have some artwork made in Inkscape, which I would like to export as a 9-patch image (info here). Does anyone know how I would go about doing this? If this functionality isn't supported out of the box, is there any plugin that might achieve this?

  • 1
    Please edit your question to elaborate what you consider a 9 patch image. – Wrzlprmft Feb 2 '17 at 6:07
1

Related questions and documentations:
How to create 9-patch images in gimp?
How to create nine-patch and use it in my App?
Android 9-patch

9-patch images are not a real file format but only a convention. Export your image as a png and you are done, assuming that you already drew the 1px border around the actual image. If you want you can rename your file image.png to image.9.png to emphasize, that the image is used as a 9-patch.

If you just have the actual image, expand the canvas by 1px on each side and draw a black 1px wide rectangle on the top and left border. The black lines define the stretchable area.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.