Howtos

The following examples demonstrate the featues of Asido. For all of those the GD and GD_Hack drivers are used since they are the most common ones and all those examples should run as they are on most machines.

The adjustments that you might have to apply are to set the correct path to the Asido library and probably using a different driver (if the machines does not support the pre-selected GD and GD_Hack, or if you want to test the result from the rest of the drivers).

For starters, here’s a very basic example, which first watermarks an image, and then resizes the result:

save(ASIDO_OVERWRITE_ENABLED);

?>

Check the permissions: make sure that the source file is readable, and the destination file is writable.


More Examples

In the list below you can find other howtos and examples:

Watermarks w/ GIFs and JPEGs

сряда, април 25th, 2007

This example shows the result when using non-transparent images like JPEGs, or using files with non-alpha transparency like GIFs.

Watermark Scaling w/ Scaling Factor

сряда, април 25th, 2007

This example shows how the watermark scaling factor works.

Watermark Scaling

сряда, април 25th, 2007

This example shows how the watermark scaling works: another one of Asido unique features.

Tile Watermark

сряда, април 25th, 2007

This example demonstrates an unique feature of Asido to apply a tile watermark.

Watermark Gravity

събота, април 21st, 2007

This example demonstrates how to use the watermark gravity.


To check the complete collection of examples, explore the Howtos archive.
Powered by WordPress
Asido: PHP Image Processing Solution