Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
2  
You mean, "isn't a rectangle"? ;) Nope, not possible. –  slhck Aug 24 '11 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 Aug 24 '11 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 Jul 15 '13 at 13:30
add comment

1 Answer

up vote 26 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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