php - Making one jpeg file from 2 different images brought to user as 2 layers one under another -


let's suppose have div picture. above div there div png picture of colored border , because of fact above main picture colored borders added main picture user can see 1 picture colored borders.

now problem how can join main picture file , colored borders png 1 jpg ?

if have imagick extension, or can install see here
http://www.php.net/manual/en/function.imagick-compositeimage.php (also can read this )

otherwise gd
php gd library used merge 2 images


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -