diff --git a/api/application/docs/icon.png b/api/application/docs/icon.png new file mode 100644 index 00000000..a3809e87 Binary files /dev/null and b/api/application/docs/icon.png differ diff --git a/api/application/docs/icon2.png b/api/application/docs/icon2.png new file mode 100644 index 00000000..b7c95905 Binary files /dev/null and b/api/application/docs/icon2.png differ diff --git a/api/application/docs/output-onlinepngtools.png b/api/application/docs/output-onlinepngtools.png new file mode 100644 index 00000000..31a118c1 Binary files /dev/null and b/api/application/docs/output-onlinepngtools.png differ diff --git a/api/application/docs/robold.ttf b/api/application/docs/robold.ttf new file mode 100644 index 00000000..d3f01ad2 Binary files /dev/null and b/api/application/docs/robold.ttf differ diff --git a/api/application/docs/roboto.ttf b/api/application/docs/roboto.ttf new file mode 100644 index 00000000..1a7f3b0b Binary files /dev/null and b/api/application/docs/roboto.ttf differ diff --git a/api/application/docs/sineedge_red.png b/api/application/docs/sineedge_red.png new file mode 100644 index 00000000..a5ba3e49 Binary files /dev/null and b/api/application/docs/sineedge_red.png differ diff --git a/api/application/docs/stamps/udaan_stamp.jpg b/api/application/docs/stamps/udaan_stamp.jpg new file mode 100644 index 00000000..ac46991e Binary files /dev/null and b/api/application/docs/stamps/udaan_stamp.jpg differ diff --git a/api/application/helpers/watermark_helper.php b/api/application/helpers/watermark_helper.php index 2521f893..cfe5d196 100644 --- a/api/application/helpers/watermark_helper.php +++ b/api/application/helpers/watermark_helper.php @@ -24,12 +24,12 @@ class watermark // $location_watermarktext="Location: ".$doc['link']; // $location_watermarktext="Location: 9876543210"; $font = APPPATH."docs/roboto.ttf"; //metion font and it's location - $fontsize="8"; + $fontsize="7"; $x = imagesx($imagetobewatermark); $y = imagesy($imagetobewatermark); $water_mark_text_color = imagecolorallocate($imagetobewatermark, 225, 0, 0); - imagettftext($imagetobewatermark, $fontsize, 0, 70, ($y - 15), $water_mark_text_color, $font, $location_watermarktext); + imagettftext($imagetobewatermark, $fontsize, 0, 70, ($y - 20), $water_mark_text_color, $font, $location_watermarktext); imagettftext($imagetobewatermark, $fontsize, 0, 70, ($y - 5), $water_mark_text_color, $font, 'Date: '.date('Y-m-d h:i:s a')); imagepng($imagetobewatermark,$output_file,9);//save as png file in ouputfile location @@ -42,7 +42,7 @@ class watermark $sx = imagesx($curret_file); $sy = imagesy($curret_file); // imagecopyresized ( resource $dst_image , resource $src_image , int $dst_x , int $dst_y , int $src_x , int $src_y , int $dst_w , int $dst_h , int $src_w , int $src_h ) : bool - imagecopyresampled ( $curret_file , $pd_logo ,5, ($sy - 54) , 0 , 0 , 50 , 50 , 50 , 54 ); + imagecopyresampled ( $curret_file , $pd_logo ,5, ($sy - 30) , 0 , 0 , 25 , 25 , 53 , 57 ); imagepng($curret_file,$output_file,9);// save png image in specified location // //###########end of image water marking with logo diff --git a/api/application/views/vdoplayer.php b/api/application/views/vdoplayer.php new file mode 100644 index 00000000..eab969e0 --- /dev/null +++ b/api/application/views/vdoplayer.php @@ -0,0 +1,16 @@ + +