Overview

Namespaces

  • webfilesframework
    • codegeneration
      • general
      • php
    • core
      • datastore
        • functions
          • filter
          • sorting
        • types
          • database
            • resultHandler
          • directory
          • googlecalendar
          • mail
          • remote
      • datasystem
        • database
        • file
          • format
            • media
              • image
                • handler
          • system
            • dropbox
      • datatypes
        • time
      • time
    • io
      • form
        • formItem
        • validation
        • webfile
      • request

Classes

  • MImage
  • MQrCodeImage
  • Overview
  • Namespace
  • Class

Class MImage

description

webfilesframework\core\datasystem\file\format\MWebfile
Extended by webfilesframework\core\datasystem\file\system\MFile
Extended by webfilesframework\core\datasystem\file\format\media\image\MImage
Namespace: webfilesframework\core\datasystem\file\format\media\image
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datasystem/file/format/media/image/MImage.php
Methods summary
public
# __construct( $filePath, $loadImageResourceOnCreation = false, $type = "jpg" )

Overrides

webfilesframework\core\datasystem\file\system\MFile::__construct()
public
# loadImage( )

Throws

Exception
public static
# isImageMagickInstalled( )
public static
# isGdInstalled( )
public static boolean
# isGd2Installed( )

Returns

boolean
public
# destroy( )
public
# outputInBrowser( )
public
# readExifDate( )
public
# outputAsDownload( )
public
# saveAsFile( string $filePath = "", integer|number $quality = 80 )

Parameters

$filePath
$quality
public
# saveScaledImgAsFile( $width, $height, string $filePath = "" )

Parameters

$width
$height
$filePath

Throws

Exception
public
# getImageWidth( )
public
# getImageHeight( )
public
# saveScaledImgAsFileWithHeight( $p_iHeight, $p_sFilePath = "" )
public
# saveScaledImgAsFileWithWidth( $p_iWidth, $p_sFilePath = "" )
public
# saveScaledImgAsFileWithBiggerSize( $p_iBiggerSize, $p_sFilePath = "" )
public
# saveScaledImgAsFileWithPercent( integer $p_iPercent, string $p_sFilePath = "" )

Parameters

$p_iPercent
$p_sFilePath

Throws

Exception
public
# detroy( )
public
# mirror( )
public
# __toString( )

Overrides

webfilesframework\core\datasystem\file\system\MFile::__toString()
public static
# hasImageTypeExtension( webfilesframework\core\datasystem\file\system\MFile $image )
Methods inherited from webfilesframework\core\datasystem\file\system\MFile
containsFileseperator(), delete(), exists(), extractFileName(), extractFolderName(), getContent(), getDate(), getExtension(), getFolder(), getName(), getPath(), renameTo(), setDate(), writeContent()
Methods inherited from webfilesframework\core\datasystem\file\format\MWebfile
classname(), createWebfileByClassname(), getAttributes(), getClassInformation(), getDataset(), getDatatypeFromAttributeName(), getGeograficPosition(), getId(), getSimplifiedAttributeName(), getTime(), isObject(), isSimpleDatatype(), marshall(), matchesTemplate(), presetForTemplateSearch(), setId(), setTime(), staticUnmarshall(), unmarshall()
Properties summary
protected $m_oImage
#
protected $m_sType
#
protected $handler
#
Properties inherited from webfilesframework\core\datasystem\file\system\MFile
$m_dDate, $m_sFileName, $m_sFolderName
Properties inherited from webfilesframework\core\datasystem\file\format\MWebfile
$m_iId, $m_iTime
API documentation generated by ApiGen