Page 1 of 1

croping picture from a source website and save it in mysql

Posted: Tue Sep 06, 2005 1:44 am
by radieux_scablem
Hi!!!!!!!!

I want to ask if it is possible in PHP to crop picture from a website and save
it in mysql database. I anyone who knews this things please gave me some
sample codes to do this..

Thanks in advance

Posted: Tue Sep 06, 2005 2:10 am
by feyd
have a look at the many thumbnail creation threads we have, seasoning with the storing images in database thread.

Posted: Tue Sep 06, 2005 3:16 am
by radieux_scablem
I have scrutinezed the links but all stuff thier needs a source image and then resize it and etc.
what i need is that something to capture the current screen and the user could crop some part of it.
can anyone help me this things? I have made this in VB but for now I need this feature in the website that
i made...

Thanks in advance......

Posted: Tue Sep 06, 2005 3:20 am
by dbevfat
Database is not intended to hold images. Save them to disk in an off-web path and use database to hold meta information only (name, path, size, etc).

Posted: Tue Sep 06, 2005 3:33 am
by radieux_scablem
no thats not what i mean, what i mean is that real time capture of the image.

for example you are browsing a website and then you to capture an image from a section of that website
you can just drag select of that portion like the selection tool in photoshop..


anybody can help me with these thing???

Posted: Tue Sep 06, 2005 3:42 am
by feyd
that's not possible with PHP alone.... and your original post had nearly nothing to do with what you want to do, other than "images".

Posted: Tue Sep 06, 2005 3:58 am
by patrikG
in terms of functionality pretty much like: http://www.danvine.com/icapture/ I suppose?

You'd need a program capable of taking screenshots of websites which you can call via PHP's exec() function.

Posted: Tue Sep 06, 2005 4:41 am
by radieux_scablem
Thank You very much!!!

If php cannot handle this alone, what are the ways to achieve this? does any one knows?
i have visit icapture but it seems the server is busy. and i cannot view the sample caputured image.

Thanks in Advance....