Skip to content

Releases: MDP43140/mdpaint

v0.6.1: Update README.md

03 Jan 06:34
f96c547
Compare
Choose a tag to compare

Changelog:

  • Improved Compatibility & Security by adding "use strict".
  • Some Bug Caused By "use strict" has been fixed.
  • Bug Fixed: securityError when trying to 'read' URL Image (by changing the image crossOrigin to Anonymous).
  • Bug Fixed: Default Canvas Behaviour Prevented when changing resolution.
  • Bug Fixed: @L334 and @l434 (Radial Gradient Size not accurate, fixed by changing the math slightly).
  • Compatibility Problem: @L334 and @l434 (uses Math.hypot(), which not compatible with ie and some older browsers).
  • Bug Found: Rotate 'effect' does'nt work.
  • Bug Found: Gaussian Blur Effect does'nt work.
  • Recolor Bug: try to use it, u'll know the bug.

New Filter & Effects

06 Dec 14:43
f96c547
Compare
Choose a tag to compare

Changelog:

  • Bug Fixed: TouchStart Event Is Not Responding (i forgot to change touchDown to touchMove).
  • Added Effect Section.
  • Added Threshold, Invert, Opacity, Grayscale, Noise, Sepia] Effects.
    ? Adding Gaussian Blur, Pixelate, Median Effects.
    . Adding Custom Window for effect properties.
    . Adding Zoom System (using scale variable.
  • securityError when trying to 'read' URL Image (todo: prevent canvas from being tainted).
  • Recolor Bug: try to use it, u'll know the bug

v0.4.1: Update README.md

29 Nov 12:53
f96c547
Compare
Choose a tag to compare

Changelog:

  • Added self-invoking function (changing how creating paint works)[createPaint => new MDPaint().create(container)]
  • Added Shortcut For Saving (Ctrl+S), Saving As Different Format (Ctrl+Shift+S), And Opening A File (Ctrl+O).
  • Added 2 Color Support (Mouse-only).
  • Added Drawing For Phone Support (BETA).
  • Bug Fixed: brush size resets to 1px when canvas resolution changes (by default, ctx lineWidth reset if width/height changed).
  • Bug Fixed: 'Open File' Button is not look like button (i just put the label inside a button and it accidentally works just fine).
  • Bug Fixed: Colorpicker puts picked color to input color 1 when moving the mouse.
  • Updated Key Shortcut (fixing some shortcut bug).
  • TouchStart Event Is Very Laggy.
  • securityError when trying to 'read' (save, using tools that related to the pixel reading such as fill, shapes, colorpicker) URL Image
  • Recolor Bug: try to use it, u'll know the bug (caused by ctx.moveTo and ctx.lineTo, dk how to fixing it, maybe getImageData then modify it??).

v0.3.0: Update README.md

29 Nov 12:42
f96c547
Compare
Choose a tag to compare

Changelog:

  • Changed How "elt" Helper Function Works.
  • Optimized Spray Tools Code (by doing 'variable caching').
  • Optimized Some 'for' Code (by doing 'variable caching', again).
  • Added Fill - Global Mode (Based on pdn again)
  • Added Recolor (Brush + Pick Color, Based on pdn)
  • Changed Resolution Adjust Input type to number for better compatibility and ease-of-use.
  • Bug Fixed: Resolution Adjust Scroll Only Change If The User Clicks it.
  • Bug Fixed: rectangle is not drawn when using gradient color (ez fix, but need imageData, which gets image data, and restoring back, and that will causes lag on some devices).
    . Adding Zoom System (using scale variable).
    . Adding Phone Support (adding some meta, using preventDefault for mouseMove event and adding touchMove event on trackDrag to prevent panning while drawing on canvas)
  • securityError when trying to edit URL Image
  • Recolor Bug: try to use it, u'll know the bug (caused by ctx.moveTo and ctx.lineTo, dk how to fixing it).

v0.2.0

22 Nov 04:49
47c6acc
Compare
Choose a tag to compare

Changelog:

  • Changed How Circle Shape Works (from radialcolorgradient to arc).
  • Added Shape (Line).
  • Added Gradient Color Configuration (How To Use: Draw Gradient (like u would normally do), then you could use some tools (Text,Shapes(Except Lines),fill) to see the result).
  • Added Ability to Scroll To Change Value.
  • Added Ability To Use Keyboard Shortcut (similiar to pdn key shortcut system).
  • Bug Found: try to use Gradient Color Configuration, then draw rectangle shape. you will see there is no rectangle until you release the mouse (ez fix, but need imageData, which causes lag on lowend devices).
  • securityError when trying to edit URL Image.

v0.1.0

22 Nov 04:46
47c6acc
Compare
Choose a tag to compare

Changelog:

  • First Release.
  • A Lot Of Optimizations Has Been Made.
  • Added Checkerboard Background.
  • Added 2 Color Pallete.
  • Bug Fixed: Color pallete did'nt change when using colorpick.
  • Added Linear Gradient
  • Added Radial Gradient
  • Added click event for canvas tools.
  • Added Crosshair Cursor For Brush,Shape(Rect).
  • Bug: @L272-283 (Radial Gradient Size, try to point the cursor bottom left/up right while making radial gradient).
  • Bug: try to select colorpick tool, then right-click-and-hold while moving the mouse (you will see the color 1 being updating rather than color 2).