1. Import
This commit is contained in:
26
html/include/image_create.php
Normal file
26
html/include/image_create.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/*=======================================================================
|
||||
*
|
||||
* image_create.php
|
||||
*
|
||||
* Autor: Marc Vollmann
|
||||
*
|
||||
=======================================================================*/
|
||||
|
||||
include_once ("../include/global.inc.php");
|
||||
// include_once ("../include/auth.inc.php");
|
||||
include_once ("../include/image.inc.php");
|
||||
|
||||
|
||||
getSecHttpVars("1",array("signVectorData", "imgType"));
|
||||
|
||||
// Output of the image
|
||||
if ($signVectorData != "") :
|
||||
if ($imgType == "") : $imgType = "png"; endif;
|
||||
|
||||
header ("Content-type: image/" . $imgType);
|
||||
$im = createSignImage(splitRawCoordinates ($signVectorData));
|
||||
imagepng ($im);
|
||||
endif;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user