The ImageGenerator Xml file can contains both the InputProfile and the OutputProfile Xml tags in same file as follows:
<ImageGenerator>
<InputProfile>
.
Input Profile Tags
.
</InputProfile>
<OutputProfile>
.
Output Profile Tags
.
</OutputProfile>
</ImageGenerator>