ru en uk

  sing in

(044) 362 48 16   (098) 294 41 60


   Services
   Hosting
   Contacts

Home   |   Articles   |   Other topics

Small craft. Simulation of Marker

Quite often it is necessary to show you some pictures and draw his attention to certain parts of the image. For example: you need to clearly stillzat in the screenshot of the window graphic editor, where the tool «brush»; or scanned images (newspapers, magazine) to allocate some of the text.

The task can be solved in several ways: to draw the desired accountastok oval, put his pointer, invert colors, etc.

I suggest another, more beautiful way. The result of the application which is similar to the result of ordinary paint marker on ordinary paper.

Attack them to the practical part. To simulate the effect of creating a marker, I used Adobe Photoshop.

1. Open (or create) the working image in which the need to allocate.
picture

lign: justify; "> 2. Go to edit mode« Quick Mask ». Hotkey: Q

3. Take the brush, set it to the appropriate shape and size, and just Draw a picture of the area to be allocated.
"picture"

4. Exit the mode «Quick Mask» and invert the selection is received (CTRL + SHIFT + I)

5. Set the foreground color black and color backplan, such as orange.

picture

6. Select the menu command «Image> Adjustments> Gradient Map ...», and click OK.
& nbsp;
7. Remove the selection (CTRL + D). All the image is ready!
picture


 
Introduction to PHP5
29.05.2007
PHP5 is not officially released yet, but "working" version is already for work (as well as unstable!), So that we can begin to explore new opportunities for the next release of PHP and to practice with them. In this article we will talk about the three major innovations in PHP5
Lock files
29.05.2007
"Warning! On most operation systems flock () is implemented at the process level. When using a multithreaded server API like ISAPI you cannot rely on flock () to protect files against other PHP scripts running in parallel threads of the same server instance!"
Working with databases
29.05.2007
The first thing you need to create dynamic pages - a database that will store all the information. Would you like to be able to view the contents of database tables, do the sample, add or update data? All this can be done using the built-in functions in PHP ...