一個基于Web的圖片編輯器:photo-editor

jopen 8年前發布 | 27K 次閱讀 JavaScript開發 photo-editor

Photo Editor

photo-editor - 一個簡單的照片編輯應用,基于 Cropper.js.

Keyboard support

  • Esc: Cancel the cropping.
  • Enter: Complete the cropping.
  • Delete: Delete the uploaded or cropped image.
  • : Move the image to left by 1 pixel.
  • : Move the image to right by 1 pixel.
  • : Move the image to top by 1 pixel.
  • : Move the image to bottom by 1 pixel.
  • M: Enable to move the image by dragging.
  • C: Enable to crop on the image by dragging.
  • I: Zoom in the image.
  • O: Zoom out the image.
  • L: Rotate the image to the left.
  • R: Rotate the image to the right.
  • H: Flip the image on the horizontal.
  • V: Flip the image on the vertical.

Browser support

  • Chrome (latest 2)
  • Firefox (latest 2)
  • Internet Explorer 9+
  • Opera (latest 2)
  • Safari (latest 2)

 

項目地址: https://github.com/fengyuanchen/photo-editor

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!