<?php  // vim:set et ts=4 sw=4 sts=4:
# Copyright (C) 2003-2014 hipplay Inc.
#
# This is UNPUBLISHED PROPRIETARY SOURCE CODE OF hipplay Inc.
# The copyright notice above does not evidence any actual or intended
# publication of such source code. The contents of this file may not
# be disclosed to third parties, copied or duplicated in any form, in
# whole or in part, without the prior written permission of
# hipplay Inc.
#
namespace HipPlayConnect\FileSystem\Types;


/** type_image.php : made to be included by FileTypes.php
 ** and provide image file support
 **/

$FileTypes = FileTypes::getInstance();

/** MIME types **/
$FileTypes->mimeTypes['JPG'] =
    $FileTypes->mimeTypes['JPEG'] = 'image/jpeg';
$FileTypes->mimeTypes['PNG'] = 'image/png';
$FileTypes->mimeTypes['GIF'] = 'image/gif';
$FileTypes->mimeTypes['BMP'] = 'image/bmp';
$FileTypes->mimeTypes['TIF'] =
    $FileTypes->mimeTypes['TIFF'] = 'image/tiff';
$FileTypes->mimeTypes['TGA'] = 'image/targa';
$FileTypes->mimeTypes['EPS'] = 'image/eps';
$FileTypes->mimeTypes['WMF'] = 'image/wmf';
$FileTypes->mimeTypes['PCT'] =
    $FileTypes->mimeTypes['PICT'] = 'image/pict';

/** Classes **/
$FileTypes->classes['JPG'] =
    $FileTypes->classes['JPEG'] =
    $FileTypes->classes['PNG'] =
    /* Should we classify these as images if the browser can't view them?
    $FileTypes->classes['BMP'] =
    $FileTypes->classes['TIF'] =
    $FileTypes->classes['TIFF'] =
    $FileTypes->classes['EPS'] =
    $FileTypes->classes['PCT'] =
    $FileTypes->classes['PICT'] =
    */
    $FileTypes->classes['GIF'] = 'image';
