image ianipulation component?
Posted: Mon Aug 25, 2003 5:07 am
Hi,
I am looking for a component that does the following in one go....(whether its free or has to be paid for I am happy to do either).
1) It needs to upload 1 image - the path coming from a form field (file field), but be able to add more images if necessary.
2) Once uploaded it needs to resize this image to a pre-designated size, and if the image is smaller than this size it should just add a border not stretch
3) a thumbnail image should be created
4) both of these images should be compressed by a pre-designated ratio
5) the image name and thumbnail name should be written to the correct fields in the mySQL db.
6) NOT ESSENTIAL - should watermark the image on upload
Does anyone know of a component to do this? I am usually an ASP programmer and have bought components for this language which do exactly what I want but I have not had the need to do this for PHP before. Any advice appreciated.
I am looking for a component that does the following in one go....(whether its free or has to be paid for I am happy to do either).
1) It needs to upload 1 image - the path coming from a form field (file field), but be able to add more images if necessary.
2) Once uploaded it needs to resize this image to a pre-designated size, and if the image is smaller than this size it should just add a border not stretch
3) a thumbnail image should be created
4) both of these images should be compressed by a pre-designated ratio
5) the image name and thumbnail name should be written to the correct fields in the mySQL db.
6) NOT ESSENTIAL - should watermark the image on upload
Does anyone know of a component to do this? I am usually an ASP programmer and have bought components for this language which do exactly what I want but I have not had the need to do this for PHP before. Any advice appreciated.