[go: nahoru, domu]

Skip to content

PaineWang/WPImageEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

WPImageEditor

全功能系列裁剪图片。

裁剪

  1. 自由矩形,拖动四角自由边矩形

  2. 根据图片大小的SIZE

  3. 根据您需要的画布大小,设置WPBaseEditor.canvas的size大小

  4. 多边形,自由添加多边形。最少5边形。最大30边形。太大了也显示不了。可以在WPCorpEditor里面设置max&min 值.辅助菜单显示加减的按钮可以加角减角

  5. 定点自由抠图,点击一个点,再点击下一个点,两点之间会连线,形成矩形之后,就可以切图了。

  6. 曲线抠图,按下去一个点,拖拽到想到达的点,出现第二点,修改其点弧度可以点击当前点,弹出两根控制弧度的线来拖拽,这个用笔的话比较灵敏。手指不太好监测,有好的实现欢迎补丁。

  7. 正方形切图,

  8. 等边三角形,

  9. 圆形

  10. 椭圆形

  11. 4:3的比例切图,有辅助按钮就可以变换4:3或者3:4

  12. 16:9的比例切图,有辅助按钮就可以变换16:9或者9:16

redo&undo

再出现了redo&undo按钮的情况下,是支持的。

旋转

点击旋转,会出现半圆刻度尺,尺度上的度数是算过的精准的,可以向左90度,或者向右,也可以滑动刻度尺来调整角度。

等比

图片会根据屏幕的大小,横屏与竖屏的请款下,fill屏幕。而保持原始的图片尺寸,不会更改。


WPImageEditor

Full feature series cut pictures.

cutting

  1. Free rectangle, drag the rectangle with free edges.
  2. SIZE according to the picture SIZE.
  3. Set the size of the WPBaseEditor. Canvas according to the size of the canvas you need.
  4. Polygons, free to add polygons. At least 5 edges. Maximum 30 edges. Too big to show. The max&min value can be set in WPCorpEditor. The auxiliary menu shows the addition and subtraction of the button to add Angle reduction.
  5. Click on a point and click on the next point. After the rectangle is formed, the map can be cut.
  6. Curve cutout, press down a point, drag the point to think of, appear in the second place, change its radian can click on the current points, pop-up control arc two lines to drag and drop, this pen is sensitive. Finger is not very good monitor, have good implementation welcome patch.
  7. Square cut, Equilateral triangle,
  8. The circular
  9. The oval 11.4: the proportion of 3 is cut, and the auxiliary button can be changed at 4:3 or 3:4. 12.16: the ratio of 9 is cut, and the auxiliary button can be changed to 16:9 or 9:16.

redo&undo

There are redo&undo buttons that are supported.

rotation

If you click on the rotation, you will see the semicircle scale, the degree of the scale is accurate, can be 90 degrees to the left, or to the right, you can also slide the scale to adjust the Angle.

geometric

The picture will be based on the size of the screen, the horizontal and vertical screens, fill the screen. Keep the original image size unchanged.

Releases

No releases published

Packages

No packages published

Languages