Recommended Posts

Paste_Warp_Plus_Text3.png

 

 

Paste Warp+ is an enhanced version of TechnoRobbo's Paste Warp plugin. It's in the Selection submenu.

 

The primary enhancement is the ability to move and scale the clipboard image. Paste Warp+ also supports antialiasing and a number of clipboard tiling modes.

 

The DLL (Version 1.1.0) :  Paste Warp Plus.zip

 

The UI:

 

Paste_Warp_Plus_UI.png

 

The Help Menu description:

 

Paste Warp+ distorts the clipboard image horizontally and vertically to fit the current selection. It works best with convex selections, but will often work with nonconvex selections, depending on the shape of the selection and the type of distortion. The Distortion can be set to values greater than one. This is may produce unusual effects, but is sometime useful when the image size is reduced. The Bulge and Skew controls affect the image even when the Distortion is zero. When a Bulge control is at its minimum or maximum value, the corresponding Skew control is disabled.

 

The controls are:

Clipboard Image: Specifies how pixels outside the clipboard boundaries are treated. Pixels outside the image range of the clipboard can be transparent, Clamped, Tiled, Alternately Tiled, or Brick Tiled. When Alternately Tiled is selected, the tile orientation is reversed for every other tile, so that the tiles match at the edges. The edge pixels are not repeated. When Brick Tiled is selected, every other row is offset by half the image width. The rows do not wrap from the top to the bottom.

Clipboard Image Size: Increases or decreases the size of the clipboard image.

Clipboard Image XY Proportion: Changes the XY proportion of the clipboard. Moving the control right increases the X size while decreasing the Y size. Moving the control left decreases the X size while increasing the Y size.
Clipboard Image Offset: Moves the clipboard image relative to the selection.
Clipboard Image Rotation: Specifies a counterclockwise rotation angle for the clipboard image, in degrees.

Horizontal Distortion: Specifies the degree to which the image is horizontally distorted to conform to the shape of the selection.

Horizontal Bulge: Specifies the degree to which the center of the image is horizontally stretched or compressed.

Horizontal Skew: Specifies the degree to which the image is skewed left or right.

Vertical Distortion: Specifies the degree to which the image is vertically distorted to conform to the shape of the selection.

Vertical Bulge: Specifies the degree to which the center of the image is vertically stretched or compressed.

Vertical Skew: Specifies the degree to which the image is skewed up or down.

Antialias: Specifies that antialiasing should be used. Antialiasing will slow the effect, because many more points need to be processed. but will often significantly improve the results..
Antialias Quality: Specifies the number of samples in each direction per pixel. The total number of samples per pixel is this value squared.

 

 

 

Note: Although Paste Warp+ uses the same distortion algorithm as TR's Paste Warp, the code is original.

 

EDIT 1 (6/11/2018) : .Version 1.1.0. Fixed tiling crack problem. Added Bulge controls. Increased distortion range. Rearranged controls.

  • Like 1
  • Upvote 8

Share this post


Link to post
Share on other sites

I'm releasing version 1.1.0.

 

The changes:

I fixed a tiling problem that sometimes resulted in cracks between the tiles.

I added Bulge controls to compress or expand the center of the image.

I rearranged the controls, grouping the horizontal and vertical controls.

I increased the Distortion range to beyond 1, which is sometimes useful when the image size is reduced.

 

 

  • Like 3
  • Upvote 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now