package com.tt.honeyDue.util

/**
 * Configuration for image uploads
 * Change MAX_IMAGE_SIZE_BYTES to adjust the maximum file size for all image uploads
 */
object ImageConfig {
    /**
     * Maximum image file size in bytes
     * Default: 200KB (200 * 1024 bytes)
     */
    const val MAX_IMAGE_SIZE_BYTES = 200 * 1024 // 200KB

    /**
     * JPEG compression quality (0-100)
     * Used as starting point, will be reduced if needed to meet size requirement
     */
    const val INITIAL_JPEG_QUALITY = 85

    /**
     * Minimum JPEG quality to try before giving up
     */
    const val MIN_JPEG_QUALITY = 50
}
