10

This might be a dumb question, but is it possible to make a .png file that isn't square?

If so, how can one do this in Gimp?

Ideally I'd like one in the shape of an X.

4
  • 3
    You mean, "isn't a rectangle"? ;) Nope, not possible.
    – slhck
    Commented Aug 24, 2011 at 16:05
  • Interesting question. The vast majority of today's display devices are rectangular (a notable exception being the Motorola Aura) so I doubt non-rectangular images would be particularly useful.
    – Jon Purdy
    Commented Aug 24, 2011 at 23:19
  • I love this question, nice thought. Why should images be rectangular? Because someone told you that they have to be rectangular?
    – demongolem
    Commented Jul 15, 2013 at 13:30
  • i wanted an image with bottle shape, searching for 2 days now, if anyone have idea please reply Commented Jun 22, 2016 at 13:13

1 Answer 1

28

All image formats (even vector) must maintain a rectangular border specifying the size of the image. However, one can use the transparent properties of PNG images to simulate the appearance of a non-square image.


Just create your image/shape, ensure the background is transparent, and save the file in the PNG format. Make sure you include the alpha channel so there is a transparent background saved with the image.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .