Mobile app version of vmapp.org
Login or Join
Courtney577

: Inkscape 9-patch image export or plugin? 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?

@Courtney577

Posted in: #Export #Inkscape #Png

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Courtney577

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh909

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme