awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
tapmodo avatar

tapmodo/Jcrop

0
View on GitHub↗
4,279 stars·918 forks·JavaScript·3 vuesjcrop.com↗

Jcrop

Jcrop est une bibliothèque JavaScript de recadrage d'image qui fournit une interface basée sur le navigateur pour permettre aux utilisateurs de sélectionner et définir interactivement des régions rectangulaires d'une image. Elle utilise une superposition d'image basée sur le DOM pour envelopper les images dans des conteneurs relatifs, permettant le placement de poignées de sélection ajustables et de contraintes de bordure.

L'outil se distingue par une prise en charge complète des entrées, traduisant les gestes tactiles et les interceptions clavier en mises à jour de coordonnées précises pour les environnements mobiles et desktop. Il dispose d'un moteur capable d'imposer des contraintes de ratio d'aspect personnalisées et de calculer l'ajustement maximal pour les zones de sélection afin d'assurer des dimensions de sortie cohérentes.

La bibliothèque couvre un large éventail de capacités de manipulation d'image, incluant la transformation de coordonnées, l'application de limites de sélection et la gestion de zones de recadrage multiples. Elle fournit une synchronisation d'état pilotée par les événements pour suivre les changements d'interaction et permet la restauration d'états de recadrage précédemment enregistrés.

Les utilisateurs peuvent personnaliser le comportement et l'apparence de l'outil via des options de style d'interface et des extensions de logique basées sur des classes.

Features

  • Client-Side Image Editing - Provides a browser-based tool for interactively selecting and adjusting image cropping boundaries.
  • Image Cropping Components - Provides an interactive user interface component for defining and adjusting crop areas over images with responsive coordinates.
  • DOM-to-Pixel Coordinate Mappings - Calculates the precise relationship between browser DOM coordinates and actual source image pixels for accurate cropping.
  • Fixed Aspect Ratios - Enforces a constant relationship between width and height to ensure consistent output dimensions.
  • Image Cropping Tools - Provides the primary capability to define and manipulate a crop area to extract a specific image region.
  • Coordinate Calculation - Calculates precise pixel-level offsets and boundaries to define the region of an image to be extracted.
  • Interactive Crop and Transform Tools - Provides an interactive overlay that lets users manually adjust the coordinates and dimensions of a crop region.
  • Aspect Ratio Constraints - Provides a mechanism to enforce specific width-to-height proportions during interactive image selection.
  • Interactive Selection Overlays - Uses an interactive DOM layer to wrap images and provide adjustable handles for region selection.
  • Mobile Touch Handlers - Processes mobile touch events to allow resizing and moving of image selection areas.
  • Cropping Input Adapters - Implements a responsive interface that translates touch and keyboard inputs into precise image cropping coordinates.
  • Touch Gesture Libraries - Translates raw touch inputs into coordinate updates for manipulating crop selections on mobile devices.
  • Overlay Positioning - Implements interactive layers positioned precisely over images to facilitate region selection.
  • Real-time Coordinate Tracking - Retrieves current cropping coordinates via instance properties and real-time event listeners that trigger on state changes.
  • Maximum Fit Algorithms - Determines the largest possible rectangle dimensions that maintain a specific aspect ratio within a given width and height.
  • Keyboard Navigation Interception - Intercepts keyboard inputs to move selection boundaries while preventing default browser page scrolling.
  • Coordinate Space Transformations - Normalizes and transforms image dimensions and coordinates between the raw pixel space and the DOM overlay space.
  • Event-Driven State Synchronizers - Uses a callback system to synchronize the UI state with changes in crop coordinates and widget status.
  • Multi-Overlay Management - Creates, focuses, or removes multiple distinct overlays within a single instance using individual configurations.
  • Multiple Selection Areas - Creates one or more selectable regions over an image with support for aspect ratio locking and size constraints.
  • Interactive Widgets - Implements a customizable UI widget that captures user input to define crop regions.
  • Keyboard-Driven Selection Controls - Allows moving selection boundaries using keyboard inputs and intercepts specific keys to prevent page scrolling.
  • Movement Boundary Constraints - Clamps the position of cropping handles and selection areas to ensure they remain within the image bounding box.
  • UI Overlay Wrappers - Attaches a tool to a DOM element and wraps images in a relative container to position UI overlays.
  • Widget Event Callbacks - Triggers programmable hooks when the cropping widget is moved, updated, or activated.

Historique des stars

Graphique de l'historique des stars pour tapmodo/jcropGraphique de l'historique des stars pour tapmodo/jcrop

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Jcrop

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Jcrop.
  • fengyuanchen/cropperjsAvatar de fengyuanchen

    fengyuanchen/cropperjs

    13,834Voir sur GitHub↗

    Cropper.js is a JavaScript image cropping library and client-side image editor. It provides a front-end interface for manipulating image geometry and extracting specific regions using the HTML5 Canvas API. The library enables interactive image cropping where users can manually select areas and define clipping regions. It supports geometry transformations including rotation, scaling, and zooming to align subjects, and allows for the enforcement of dynamic aspect ratios. The tool provides capabilities for exporting crop data as coordinates or canvas representations and offers access to interna

    TypeScriptcroppercropperjsimage-cropper
    Voir sur GitHub↗13,834
  • dominictobias/react-image-cropAvatar de dominictobias

    dominictobias/react-image-crop

    4,081Voir sur GitHub↗

    This project provides a React component and a set of utilities for implementing interactive image cropping. It enables users to define selection areas over media elements using a draggable and resizable interface. The library supports fixed aspect ratio locking and the definition of custom crop shapes, such as circles. It utilizes a percentage-based coordinate system to ensure the selection interface remains responsive across different screen sizes and layouts. The toolset includes capabilities for real-time crop previewing and the generation of cropped regions using canvas-based rendering.

    TypeScriptcrop-imagejavascriptreact
    Voir sur GitHub↗4,081
  • xyxiao001/vue-cropperAvatar de xyxiao001

    xyxiao001/vue-cropper

    4,565Voir sur GitHub↗

    vue-cropper is a visual interface component for Vue applications designed for cropping, rotating, and resizing images. It serves as a client-side image editor that allows for the extraction of specific image regions and the enforcement of fixed ratio constraints to ensure consistent output. The component provides tools for manipulating image orientation and scaling through rotation and positioning to align target areas. It utilizes a canvas-based processor to generate final cropped results, which can be exported as Base64 strings or Blobs in various common file formats. The library covers a

    Vuecropcropperjavascript
    Voir sur GitHub↗4,565
  • fengyuanchen/cropperAvatar de fengyuanchen

    fengyuanchen/cropper

    7,691Voir sur GitHub↗

    Cropper is a JavaScript image cropping library and HTML5 canvas image editor. It serves as a web-based image manipulation tool that allows users to visually select and trim specific areas of an image directly within a browser. The library provides a visual interface for defining precise crop areas with configurable aspect ratios and zoom controls. It includes tools to rotate, scale, and zoom images to align subjects before exporting the final result. The tool handles browser-based image processing by generating a canvas element from a selected image area for use or download. It manages crop

    JavaScript
    Voir sur GitHub↗7,691
Voir les 30 alternatives à Jcrop→

Questions fréquentes

Que fait tapmodo/jcrop ?

Jcrop est une bibliothèque JavaScript de recadrage d'image qui fournit une interface basée sur le navigateur pour permettre aux utilisateurs de sélectionner et définir interactivement des régions rectangulaires d'une image. Elle utilise une superposition d'image basée sur le DOM pour envelopper les images dans des conteneurs relatifs, permettant le placement de poignées de sélection ajustables et de contraintes de bordure.

Quelles sont les fonctionnalités principales de tapmodo/jcrop ?

Les fonctionnalités principales de tapmodo/jcrop sont : Client-Side Image Editing, Image Cropping Components, DOM-to-Pixel Coordinate Mappings, Fixed Aspect Ratios, Image Cropping Tools, Coordinate Calculation, Interactive Crop and Transform Tools, Aspect Ratio Constraints.

Quelles sont les alternatives open-source à tapmodo/jcrop ?

Les alternatives open-source à tapmodo/jcrop incluent : fengyuanchen/cropperjs — Cropper.js is a JavaScript image cropping library and client-side image editor. It provides a front-end interface for… dominictobias/react-image-crop — This project provides a React component and a set of utilities for implementing interactive image cropping. It enables… xyxiao001/vue-cropper — vue-cropper is a visual interface component for Vue applications designed for cropping, rotating, and resizing images.… fengyuanchen/cropper — Cropper is a JavaScript image cropping library and HTML5 canvas image editor. It serves as a web-based image… jdamcd/android-crop — android-crop is an Android image cropping library and image picker. It provides a reusable view component for… pqpo/smartcropper — SmartCropper is a computer vision library and user interface component designed for automated document border…