creating an image with 0px width and 0px height is meaningless. but as you said, a program should validate user's input and avoid crashing. why i want to create an image with 0px width and 0px height ? because i have copied an image into my clipboard. i expect the canvas will autosize to the actual size of the image when i click ctrl+v in pinta. so i request a new practical feature: when open the new image window, the actural size of the image in the clipboard will be detected. 2011/5/3 grofaty