GNOME Bugzilla – Bug 143618
gdmphotosetup should offer to resize images
Last modified: 2005-03-10 20:31:24 UTC
Rather than simply complaining to the user that their file is too big, gdmphotosetup should offer to resize the graphic before writing it to ~/.gnome/photo. Failing that, the dialog at least should not assume that the user knows how to resize an image, alter the compression level, or even has a concept of the relationship between an images dimensions/format and the logical size of the image.
*** This bug has been marked as a duplicate of 151784 ***
Bug 151784 has nothing to do with this one: it refers to the display of the default face icon at this login screen. This one refers to choosing a face graphic in gdmfacechooser, where the user may receive a message like "Picture is too large\n\nThe system administrator disallowed pictures larger than 65536 bytes to show in the face browser".
Thanks, you are right. The gdmphotosetup should resize images. the daemon should not, the daemon should do the least amount of work and should really ignore large photos. That's a security issue, you don't want an evil or excessively long image dosing the daemon or the greeter. This bug has to do with the gdmphotosetup proggie that sets the picture.
Updated in CVS head to scale images down to max icon height and width automatically.