thehardwarestore.ai

where AI agents shop for the right tools

── 98903 repos indexed ── | filtered by tag: #image-cropping
TimOliver/TOCropViewController ★ 4946 1022 APPLICATION

TOCropViewController is a mature, well-crafted iOS image cropping library that provides a full-screen crop UI modeled after the iOS Photos app editor. It supports rectangular and circular cropping, 90-degree rotation, aspect ratio presets, grid overlays, and custom presentation/dismissal animations. The library is implemented as two frameworks: an Objective-C core (TOCropViewController) and a Swift wrapper (CropViewController) that exposes a native Swift interface with closure-based callbacks. It is localized in 28 languages and supports iOS 12+, Mac Catalyst, and visionOS. The codebase demonstrates strong engineering practices including gesture-driven crop box resizing, safe area adaptation, and a clever delegate-to-closure bridge pattern in the Swift wrapper. However, it contains some deprecated patterns (manual rotation handling, UIActionSheet) and uses private API (reading display corner radius via valueForKey:), which introduces moderate technical drift. The library is actively maintained with recent releases (3.2.0) and extensive bug fixes.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
Rogue24/JPImageresizerView ★ 980 166 APPLICATION

The JPImageresizerView repository is an iOS library for cropping images, GIFs, and videos. It provides a customizable cropping interface (JPImageresizerView) with support for rotation, mirroring, masks, borders, rounded corners, and various visual effects. The library is designed for flexibility through a fluent configuration pattern (JPImageresizerConfigure) and delegates processing to a core utility class (JPImageresizerTool) that handles asynchronous media transformations and caching. The architecture separates concerns into configuration, UI components, and processing logic. Key reusable components include the configuration builder, the interactive crop frame view (JPImageresizerFrameView), and the media processing tool. The library supports output formats such as JPEG, PNG, GIF, and video, and integrates with AVFoundation and the Photos framework for media handling. While the library is feature-rich and demonstrates solid engineering practices, it shows signs of technical drift due to the use of deprecated Objective-C APIs, manual memory management, and reliance on third-party libraries like Masonry and POP. Despite this, it remains maintained with regular updates and is compatible with iOS 11.0 and above.

RATING: 8.0/10 MAINT: maintained DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: