phpWatermark aims to provide a simple way of marking an image with a digital "watermark" to prevent unauthorized use. It is implemented as a php class and should be usable inside most php scripts. Images are accepted either as a filename or as a reference to a php resource.