This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > March 2006 > Question about scripting 'crop' function





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Question about scripting 'crop' function
Big Bad Dave

2006-03-30, 3:47 am

Morning all...

Does anybody out there know if there is a way to use the crop tool in a
script so that the user can choose the area of the image before the crop
happens.

I'm writing a script that creates a coloured/textured mount round an image
ready for printing. It first resizes the image, then, if necessary, crops
the left & right or the top & bottom of the image to make it the correct
aspect ratio. At the moment, it does this symmetrically, but I'd like the
user to be able to move the crop rectangle before committing to it, just
like you can with the crop tool.

Thanks

BBD


Fred Hiltz

2006-03-30, 6:51 am

Big Bad Dave wrote:
> Morning all...
>
> Does anybody out there know if there is a way to use the
> crop tool in a script so that the user can choose the area
> of the image before the crop happens.


It is not easy and has seen extensive discussion here. Please read
the thread "Script - Crop Tool on Image" beginning on April 8, 2005
and the thread "Cropping Script" beginning on August 31, 2005.
Search for posts containing Crop in their subject lines to get more.
--
Fred Hiltz, fhiltz at yahoo dot com


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews