package com.tt.honeyDue.util

import com.tt.honeyDue.platform.ImageData

/**
 * Platform-specific image compression
 * Compresses images to JPEG format and ensures they don't exceed MAX_IMAGE_SIZE_BYTES
 */
expect object ImageCompressor {
    /**
     * Compress an ImageData to JPEG format with size limit
     * @param imageData The image to compress
     * @return Compressed image data as ByteArray
     */
    fun compressImage(imageData: ImageData): ByteArray
}
