File: bp-core/classes/class-bp-attachment-avatar.php
Description
BP_Attachment_Avatar::validate_upload()

Avatar specific rules.

Source: bp-core/classes/class-bp-attachment-avatar.php:87

BP_Attachment_Avatar::shrink()

Maybe shrink the attachment to fit maximum allowed width.

Source: bp-core/classes/class-bp-attachment-avatar.php:116

BP_Attachment_Avatar::is_too_small()

Check if the image dimensions are smaller than full avatar dimensions.

Source: bp-core/classes/class-bp-attachment-avatar.php:179