Re: Unusual Image Rotation Request

2005-10-31 Thread Peter Shaw
From the AIC documentation:

rotate()
Description
The rotate() method rotates an image by an arbitrary angle. Any portion of the
rotated image which exposes the background is set to the current background
color.
Syntax
rotate(angle, resizeImage)

Thank you, sounds perfect.

Peter

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222704
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Unusual Image Rotation Request

2005-10-31 Thread Claude Schneegans
 So it'd just be a matter
of making the CFC or CF/CFX tag leverage that capability.

Ok, now I follow you.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222816
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Unusual Image Rotation Request

2005-10-30 Thread Claude Schneegans
 adding arbitrary rotation angles would be pretty trvial
to your choice of image manipulators, as long as you can get the
source.

I wouldn't say so: rotation by an angle being a multiple of 90º is 
pretty trivial, because the transformation can be reduced to some 
symetry. All pixels are preserved, and no new pixel has to be created.
Any angle rotation is quite a different and more complex algorithm, this 
is why most tools provide only 90º rotations.

 -- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222655
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Unusual Image Rotation Request

2005-10-30 Thread Barney Boisvert
I'm not saying build your own pixel rewriter.  I'm saying that most
tools only expose multiples of 90 because that's good enough 99.999%
of the time.  Pretty much any tool is going to be build on top of a
graphics library of some sort, and I've yet to see such a library that
doesn't support arbitrary rotation angles.  So it'd just be a matter
of making the CFC or CF/CFX tag leverage that capability.

For example, Alagad Image Component uses the Java 2D libraries, which
certainly support arbitrary rotation, though I don't know if AIC
exposes it.  If it's not there, adding it would be trivial.  I suspect
that many (most?) other tools work in similar fashion.

cheers,
barneyb

On 10/30/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  adding arbitrary rotation angles would be pretty trvial
 to your choice of image manipulators, as long as you can get the
 source.

 I wouldn't say so: rotation by an angle being a multiple of 90º is
 pretty trivial, because the transformation can be reduced to some
 symetry. All pixels are preserved, and no new pixel has to be created.
 Any angle rotation is quite a different and more complex algorithm, this
 is why most tools provide only 90º rotations.



--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222658
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Unusual Image Rotation Request

2005-10-28 Thread Peter Shaw
I see that many of the image manipulation tools can rotate images 90, 180 
degrees etc. I am looking to rotate an image an arbitrary amount, perhaps 35 or 
68 degrees for example. This would give me a larger rectangular image than the 
one that I started off from, with the corners of rotated image defining the 
boundaries.

Alternatively. Does anyone have any suggestion how I might achieve this 'angled 
image' on a web page without manipulating the image file?

Many thanks,

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222583
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Unusual Image Rotation Request

2005-10-28 Thread Barney Boisvert
I'd wager that adding arbitrary rotation angles would be pretty trvial
to your choice of image manipulators, as long as you can get the
source.  Even if you can't get the source, a wrapper/extension should
be able to package the functionality pretty easily.  The trick is that
you'll have to explicitly do the resize before you do the rotation
(i.e. do some math to figure out the new dimensions, and call resize),
but that's simple stuff.

cheers,
barneyb

On 10/28/05, Peter Shaw [EMAIL PROTECTED] wrote:
 I see that many of the image manipulation tools can rotate images 90, 180 
 degrees etc. I am looking to rotate an image an arbitrary amount, perhaps 35 
 or 68 degrees for example. This would give me a larger rectangular image than 
 the one that I started off from, with the corners of rotated image defining 
 the boundaries.

 Alternatively. Does anyone have any suggestion how I might achieve this 
 'angled image' on a web page without manipulating the image file?

 Many thanks,


--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222586
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Unusual Image Rotation Request

2005-10-28 Thread Andy Matthews
You could also do it Flash.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Friday, October 28, 2005 11:59 AM
To: CF-Talk
Subject: Re: Unusual Image Rotation Request


I'd wager that adding arbitrary rotation angles would be pretty trvial
to your choice of image manipulators, as long as you can get the
source.  Even if you can't get the source, a wrapper/extension should
be able to package the functionality pretty easily.  The trick is that
you'll have to explicitly do the resize before you do the rotation
(i.e. do some math to figure out the new dimensions, and call resize),
but that's simple stuff.

cheers,
barneyb

On 10/28/05, Peter Shaw [EMAIL PROTECTED] wrote:
 I see that many of the image manipulation tools can rotate images 90, 180
degrees etc. I am looking to rotate an image an arbitrary amount, perhaps 35
or 68 degrees for example. This would give me a larger rectangular image
than the one that I started off from, with the corners of rotated image
defining the boundaries.

 Alternatively. Does anyone have any suggestion how I might achieve this
'angled image' on a web page without manipulating the image file?

 Many thanks,


--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222588
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54