andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


Resize canvas

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Crop Canvas
View previous topic :: View next topic  
Author Message
pjm
Newbie


Joined: 10 Jan 2005
Posts: 1

PostPosted: Mon Jan 10, 2005 9:39 am    Post subject: Resize canvas Reply with quote

Is it possible to resize the canvas to an certain height and width after I made a selection?

Example: I would make a selection of 200x200, and the max size is 100x100. How should I let this script resize it?

Hope you understand what I am talking about.
Back to top
View user's profile Send private message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Mon Jan 10, 2005 5:36 pm    Post subject: Reply with quote

Hi, and welcome to the board!

Do you mean that you want to create an image image with a cropped size of 200x200 pixels, and then shrink the cropped image to 100x100? Well, to do that I use a combination of the crop canvas and drop shadow classes. Don't let the 'drop shadow' name confuse you - it's a powerful resizer, too. Alternatively, there's a 'redim' class that a user made which is an extension to the crop canvas class. You could use that to do your resizing.

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Crop Canvas All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group