You are on page 1of 2

Quotes Automation

Text Types:

1) Text without Shape (Title).


Subtype:
a. Area Fit : Box will be the same size always and text font will change to
fill the box.
b. Fix Width: Font will remain same and content will move vertically.
(Divide canvas in 3 parts : If text on top of canvas , text will flow with
origin y fix. If text is in the centre of canvas, the text centre will be
maintained and text will flow on both sides. If text is in the bottom of
canvas, bottom y will be fixed and text will flow towards top.)

2) Text with shape at centre ( Title ): Subtype will be the same as above text
category. Shape will be anchored to point 8 with type fill or fit and will be replaced
with the same kind of shape while automation.

3) Text with two shapes - one at centre ( Title ): Subtype will be the same as above
text category. One shape will be anchored to point 8 with type fill or fit and will be
replaced with the same kind of shape while automation. Other shapes will be of type
fit only and will be replaced with fit type of shape while automation.

4) Text with shape other than centre ( Title ) : Subtype will be the same as above
text category. Shape will be anchored to any other point other than 8 with type fit
and will be replaced with the same kind of shape while automation.

5) Subtitle Text : Will be one liner and will flow in horizontal direction only.

Colour Selection Rules : Maintain colour map for all overlay Items and all colours
for one key in map will be replaced with the same colour from colour palette. Priority
will be of title, but if title without shape and subtitle is with shape , priority will be for
subtitle. First colour selection can be random from colour palette.
Template Types

1) Solid Colored BG : Colour Palette based colour selection. Select any colour
from colour palette
a. If text without shape : Let selected BG colour will be 1st from colour palette,
Text colour will be 4th from the same palette and other colours for overlay will
be 5th , 6th and so on in cyclic manner.
b. If text with shape : Follow colour selection rules for title and subtitle then If BG
colour is 1st from colour palette then BG shape of text will be 2nd colour from
colour palette and text colour will be 4th from BG colour or 5th from Solid BG
colour.

2) Gradient BG and text without shape: Calculate Dominant shade colour.


Convert it to HSB.
If Gradient is dark - Maintain H , replace S with value 4 and B with value 100.
If Gradient is light - Maintain H , replace S with value 100 and B with value 100.

3) Gradient BG and text with shape: Colour palette based.


If Bg is dark - choose light colour from palette for box and black colour for text.
If Bg is light - choose dark colour from palette for box and white colour for text.

4) Image BG: Divide Image into 3 vertical parts , calculate dominant colour from
part of image where text lies. If the dominant colour is dark , the text colour will be
white. If the dominant colour is light, text colour will be black. If text with shape
(shape colour will be white if the dominant colour is dark and vice versa. Text colour
will be black or white depending on shape colour.)

5. Image with Blur and Alpha: Colour palette based. Alpha colour will be 1st or last
colour from the palette maintaining opacity and blur of the master template. If alpha
colour is 1st, then text colour will be last from template , and other colours will be as
above. Text with shape (Shape colour will be last from colour palette and text colour
will be 4th from shape colour and so on.)

You might also like