Skip to content

Releases: ismoy/ImagePickerKMP

1.0.28-beta3

15 Nov 16:11
18bcb64

Choose a tag to compare

What's Changed

Full Changelog: v1.0.28-beta2...1.0.28-beta3

v1.0.28-beta2

07 Nov 23:30
2cddf67

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.28-beta1...v1.0.28-beta2

1.0.28-beta1

22 Oct 23:42
dba101c

Choose a tag to compare

What's Changed

  • Update version to 1.0.27 And 1.0.28-beta1 by @ismoy in #57

Full Changelog: v1.0.26...1.0.28-beta1
Maven Central: https://central.sonatype.com/artifact/io.github.ismoy/imagepickerkmp

v1.0.26

14 Oct 23:35
db68920

Choose a tag to compare

What's Changed

Full Changelog: v1.0.25...v1.0.26

v1.0.25

13 Oct 04:06
774a285

Choose a tag to compare

What's Changed

Full Changelog: v1.0.24...v1.0.25

New Feature

06 Oct 03:44
ed66fca

Choose a tag to compare

What's Changed

Full Changelog: v1.0.23...v1.0.24

New Feature

25 Sep 01:52
b9a4176

Choose a tag to compare

What's Changed

Full Changelog: 1.0.24-beta...v1.0.24-beta2

ImagePickerKMP v1.0.24-beta Release Notes

11 Sep 16:50
38586b4

Choose a tag to compare

ImagePickerKMP v1.0.24-beta Release Notes

Release Date: September 11, 2025


New Features

Advanced Image Cropping System

  • ** Interactive Crop Handles** - Resize crop areas with intuitive corner and edge handles
    • 8 resize points: corners (TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT) and edges (TOP_CENTER, BOTTOM_CENTER, LEFT_CENTER, RIGHT_CENTER)
    • Real-time crop rectangle adjustment with smooth user interaction
  • ** Circular Crop Support** - Create perfect circular cropped images for avatars and profile pictures
  • ** Smart Crop Configuration** - Flexible crop settings:
    • aspectRatioLocked - Maintain consistent image proportions
    • circularCrop - Enable circular cropping mode
    • squareCrop - Force square aspect ratio (enabled by default)
    • freeformCrop - Allow completely free-form cropping

Enhanced Image Compression

  • ** Compression Level Control** - Three-tier compression system:
    • CompressionLevel.LOW - High quality (95% quality) for premium images
    • CompressionLevel.MEDIUM - Balanced (75% quality) for general use
    • CompressionLevel.HIGH - Maximum compression (50% quality) for storage optimization
  • ** Custom Quality Settings** - Fine-tune compression with precise quality values (0.0 to 1.0)
  • ** Cross-Platform Optimization** - Consistent compression behavior on Android and iOS

File Size Optimization

  • ** Smart File Size Reporting** - File sizes now reported in KB for better readability
  • ** Automatic Size Calculation** - Real-time file size updates during compression
  • ** Storage-Aware Processing** - Intelligent compression based on target file sizes

Improvements & Enhancements

User Interface

  • Enhanced Crop View - Improved visual feedback during image cropping
  • Better Touch Handling - More responsive crop handle detection and movement
  • Precise Positioning - Accurate crop area boundaries with visual guides

Cross-Platform Stability

  • ** iOS Compatibility** - Resolved compilation issues for all iOS targets (arm64, x64, simulatorArm64)
  • ** Android Optimization** - Enhanced bitmap processing and memory management
  • ** Platform Consistency** - Unified behavior across Android and iOS implementations

Performance

  • ** Optimized Rendering** - Faster image processing and crop operations
  • ** Memory Efficiency** - Reduced memory footprint during image manipulation
  • ** Build Performance** - Improved build times with better caching (~7 minutes)

Technical Specifications

Supported Operations

  • Image Selection - Gallery and camera capture
  • Advanced Cropping - Rectangular, square, circular, and freeform
  • Smart Compression - Multiple quality levels with size optimization
  • Format Support - JPEG, PNG with proper compression handling
  • Orientation Handling - Automatic image orientation correction

Platform Support

  • Android - API 21+ with CameraX integration
  • iOS - iOS 14+ with native PHPickerViewController
  • Kotlin Multiplatform - KMP 1.9.x compatibility

Installation

Gradle (Kotlin DSL)

dependencies {
    implementation("io.github.ismoy:imagepickerkmp:1.0.24-beta")
}

Gradle (Groovy)

dependencies {
    implementation 'io.github.ismoy:imagepickerkmp:1.0.24-beta'
}

Usage Examples

Basic Crop Configuration

val cropConfig = CropConfig(
    enabled = true,
    circularCrop = false,
    squareCrop = true,
    aspectRatioLocked = true
)

Compression Setup

val compressionConfig = CompressionConfig(
    quality = CompressionLevel.MEDIUM
)

Acknowledgments

Special thanks to the community for feedback on cropping functionality and compression requirements that shaped this release.


🔗 Resources


This release brings professional-grade image editing capabilities to ImagePickerKMP with advanced cropping and compression features!

Android

Crop Mode
Demo Recorte Android

iOS

Crop Mode
Demo Recorte iOS

feat: Add directCameraLaunch option for iOS and update version to 1.0.23

02 Sep 01:12
f91f998

Choose a tag to compare

  • Add directCameraLaunch boolean parameter to ImagePickerConfig to bypass iOS modal dialog
  • Implement iOS-specific logic to launch camera directly when directCameraLaunch is true
  • Update library version from 1.0.22 to 1.0.23 in build.gradle.kts
  • Update compileSdk to 36 for compatibility improvements
  • Update README.md and README.es.md with new directCameraLaunch
    This change allows iOS users to skip the modal selection dialog and launch the camera directly when only photo capture is needed, improving user experience for camera-only use cases.

ImagePickerKMP v1.0.22

16 Aug 02:28
709a58a

Choose a tag to compare

Refactorización mayor con arquitectura limpia y mejoras en publicación
Nuevas características:
-Arquitectura Clean : Reorganización completa del código en capas data , domain y presentation
-Documentación Dokka : Generación automática de Javadoc para todas las plataformas
-Artefactos completos : Inclusión de archivos sources y javadoc para cumplir con Maven Central
-Estructura modular : Separación clara de responsabilidades

  • data/sources : Fuentes de datos
  • domain/models : Modelos de dominio
  • domain/repositories : Repositorios
  • domain/usecases : Casos de uso
  • presentation/ui : Componentes de UI
  • presentation/presenters : Presentadores
    -Build optimizado : Corrección de warnings de configuración
  • Maven Central : Cumplimiento total de requisitos de validación Plataformas soportadas:
  • ✅ Android (API 21+)
  • ✅ iOS (ARM64, Simulator ARM64, x64)
  • ✅ Kotlin Multiplatform Dependencias actualizadas:
  • Dokka 1.9.20 para documentación
  • Maven Publishing 0.33.0
  • Mantenimiento de compatibilidad con versiones anteriores Notas de migración:
  • La API pública permanece sin cambios
  • Mejora en la organización interna del código
  • Mayor facilidad de mantenimiento y extensión