Search results for : effects (4)
HTML5 has simplified the handling of multimedia files. The simple tag audio replaces the couple object embed with param. A single line of code is sufficient and it is controllable with javascript.
In the example below the onmouseout is used to refresh the source of the audio file.
In addition to the preload attribute, you can use in the same...
solucior.com/33-Sound_effects_on_an_action_with_HTML5.html
Here are two examples of rotation and scale (zoom) with CSS3.
The first example uses javascript to apply transition effects by changing the CSS class of an element. This allows the event to be deported to another area.
The second example works with the simplest pseudo-class HOVER.
The effects do not work with Firefox for now only on...
solucior.com/32-Rotate_and_scale_with_CSS.html
Here is a class to isolate a primary color rendering of a photo black and white.
The choice of using Object-oriented programming instead of a function gives the advantage to add filters or other image effects thereafter.
Instantiation
[code]$obj = new image_effect();
// Optional : ratio size of the working image. default : 2
...
solucior.com/23-Isolate_a_color.html
This script adjusts the amount of colors in a jpg, gif or png picture. By modifying the value $variant between -25 and 15, you get a picture more or less colorful.
Original picture
solucior.com/14-Adjust_the_rate_of_image_colors.html