This repository has been archived on 2020-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan/vendor/simplesoftwareio/simple-qrcode/src/SimpleSoftwareIO/QrCode/ImageInterface.php
2020-08-06 16:37:53 +08:00

35 lines
558 B
PHP

<?php
namespace SimpleSoftwareIO\QrCode;
interface ImageInterface
{
/**
* Creates a new Image object.
*
* @param $image string An image string
*/
public function __construct($image);
/*
* Returns the width of an image
*
* @return int
*/
public function getWidth();
/*
* Returns the height of an image
*
* @return int
*/
public function getHeight();
/**
* Returns the image string.
*
* @return string
*/
public function getImageResource();
}