Overview of JPImageresizerView
masterJPImageresizerView is a versatile tool for cropping images, GIFs, and videos. It provides high freedom in parameter settings, supporting rotation, mirroring, masks, and compression. It is designed to meet most cropping requirements with a rich feature set.
Key Features:
- Adaptive Scaling: Automatically adjusts the cropping area scale.
- High Customization: Control cropping area margins, aspect ratios, and adaptive scaling.
- Flexible Interaction: Supports up to 8 drag directions for the cropping area.
- Transformations: Supports rotation (top, left, bottom, right) and horizontal/vertical mirroring.
- Visual Styles: Two border styles, circular cropping, customizable corner radii, and custom border images.
- Visual Effects: Customizable blur effects, border colors, background colors, and mask transparency.
- Media Support:
- GIFs: Supports cropping GIFs with customizable background colors, corner radii, borders, outlines, and margins.
- Videos: Supports cropping entire videos or specific frames, as well as extracting specific time segments or converting them to GIFs.
- Advanced Layout: Supports N-grid cropping for images and dynamic modification of view/cropping area margins (including orientation changes).
- Compatibility: Works in Swift and SwiftUI environments.
Important Note: The library currently uses frame layout instead of AutoLayout because AutoLayout is not ideal for gesture control.