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.


It always crops from the top left corner ?? why ?

 
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
sepultubob
Newbie


Joined: 13 May 2005
Posts: 9

PostPosted: Fri May 13, 2005 4:24 am    Post subject: It always crops from the top left corner ?? why ? Reply with quote

Hi andy, I discovered your script this morning, and it's really great. I'm impressed !! Thanks for all.

I'm trying to make it work on my machine, but I met a strange problem.
When I define a croping area on the image, the width and heigth of this area are taken in account, but not the position of this area... Rolling Eyes

That is to say that it always crops starting from pixel (0, 0) !! Confused
In the end, the top left corner of my original image is the same than the top left corner of the final image ! Confused You see what I mean ? I can just define X and Y values !

Well if you've got an idea tell me, I would really appreciate. Thanks again, and sorry for my english... I'm french.
julien
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 May 16, 2005 9:30 am    Post subject: Reply with quote

Hi, and welcome to the board!

This thread might shed some light on your problem. After reading it, and trying out things, if you are still stuck then post up your PHP and GD versions.

http://php.amnuts.com/forums/viewtopic.php?t=73

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sepultubob
Newbie


Joined: 13 May 2005
Posts: 9

PostPosted: Tue May 17, 2005 8:23 am    Post subject: Reply with quote

Hi andy, you shred !!! Cool At least twice more than satriani ! lol

I've just replaced the check
Code:
$this->_gdVersion = $this->_getGDVersion();
as you said on the other topic, and it works pretty well right now !!!

Again, thanks for all, it's gonna be very usefull for me.
Back to top
View user's profile Send private message
amnuts
Site Admin


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

PostPosted: Wed May 18, 2005 6:40 am    Post subject: Reply with quote

sepultubob wrote:
Hi andy, you shred !!! Cool At least twice more than satriani !


I have no idea what you're talking about here, but I'm going to take it as a good thing. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sepultubob
Newbie


Joined: 13 May 2005
Posts: 9

PostPosted: Thu May 19, 2005 4:47 am    Post subject: Reply with quote

well, you can take it as a good thing yes !!!
I see that you're not a guitarist ! Laughing
Joe satriani, steve vai and all those guys are called 'shredders', because of the impressive way they walk on the neck of their guitars !! they're so fast and so talented too!!!

That's why I said you shred !! Cool
Back to top
View user's profile Send private message
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