To Create a Mask
filename_normal.png – a 2048x2048 pixel image file that is applied to the face in normal mode. You should use this layer to draw something on the face or to make some parts lighter. When this layer is applied, the original skin texture is less visible compared to multiply mode. This file is optional, you can submit either one or both of the png files.
filename.grd – text file with the coordinates of the facial features. You should design your mask graphics to fit the face in the mrsample.psd file. Then you do not have to worry about creating a .grd file. See note below.
So to make a new mask:
- Download the .zip file linked above
- Open the mrsample.psd file in Photoshop
- This file has two mask layers, plus a face on a 3rd layer for reference. One layer is applied in multiply mode; the second layer is applied in normal mode. These layers must be square and their dimensions must be equal. Design your mask on these first two layers, one in multiply mode and one in normal mode.
- Export each of the two graphics layers as a separate .png file.
- File Naming: If the mask name is “xyz,” name the png that should be applied in multiply mode as “xyz.png,” and the png that should be applied in normal mode as “xyz_normal.png.”
- Send the graphics to your Picture Marketing client services rep along with a note about which of your Campaign(s) the mask should be added to.
- Once loaded, run FotoZap Booth and try it out. Masks currently are only supported in FotoZap Booth for iPad.
Note on the .grd file
- Start with a square image of a face 1024x1024 pixels that you want to use as your default mapping
- Use the below image to place the same 70 points on the face, they are numbered from 0 to 69.
- So points 0 and 1, are placed in the center of each pupil, and point 11 is the bottom of the chin.
- Find the x,y coordinates of each of the 70 points, the coordinate system is that the top left of the image is (0,0) and the bottom right of the image is (1024,1024)
- You will then copy those coordinates into your updated .grd file
- The first line in the .grd file will always be the number 70. This is the number of facial features (points) that our module tracks.
- The second line of the .grd file should be the coordinates of point 0. Put the two numbers separate by a space, the x coordinate goes first.
- The last line of the .grd file should be the coordinates of point 69.
- Send Picture Marketing the .grd file together with the PNG files