Making one jpeg file from 2 different images brought to user as 2 layers one under another
<p>Let's suppose I have some div with picture.
Above this div there is another div with png picture of colored border , because of the fact that it is above the main picture colored borders are added to main picture so the user can see 1 picture with colored borders.</p>

<p>Now the problem is how can I join main picture file and colored borders png into 1 jpg ?</p>
