...

View Full Version : some paintshop functionality



BubikolRamios
08-27-2011, 12:19 AM
Looking for this.
In PS you press CTRL+T on new layer. 9 handles appears an then you can stretch/rotate/move that layer. Looking just for that stretch & rotate functionality with dotted/dashed retangle outline.
That is, there should be 8 handles on rectangle boundarys and then rectangle should be rotated & stretched via those points.
& moved via nineth center point.

Any that kind of js outthere ?

Old Pedant
08-27-2011, 12:27 AM
Stretching and cropping images is easy in most any browser. For rotating, you'll have to use Canvas, which doesn't work in older MSIE.

BubikolRamios
08-27-2011, 01:01 AM
Got me wrong. Just need the rotating & stretching & moving rectangle via handles. Nothing to do with images.
Anything outthere already done ?

Old Pedant
08-27-2011, 01:09 AM
<shrug>Same thing. Images or rectangles or whatever. Have to use Canvas to rotate.

Concept is not hard:
http://javascript.internet.com/image-effects/image-rotate-with-canvas.html

Haven't seen exactly what you are after, but can't imagine a bit of googling won't find it.

BubikolRamios
08-28-2011, 01:18 AM
a link to some jquery solution

pres shift or alt to rotate / resize


http://thxalot.org/stuff/jq-rot-res/

Old Pedant
08-28-2011, 07:01 AM
Not bad. Don't think much of the way they expand/shrink. But the rotation is clean enough.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum