⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (2.51 KB)
Bug #16411
» class.t3lib_stdgraphic.php
Administrator Admin, 2007-09-17 22:42
***
class
.
t3lib_stdgraphic
.
php
Mon
Sep
17
22
:
38
:
17
2007
---
class
.
t3lib_stdgraphic
.
php_orig
Mon
Sep
17
22
:
35
:
30
2007
***************
***
2767
,
2776
****
case
'jpg'
:
case
'jpeg'
:
if
(
function_exists
(
'imageJpeg'
))
{
!
$retVal
=
imageJpeg
(
$destImg
,
$theImage
,
$this
->
jpegQuality
);
!
t3lib_div
::
fixPermissions
(
$theImage
);
!
return
$retVal
;
!
}
break
;
case
'gif'
:
---
2767
,
2773
----
case
'jpg'
:
case
'jpeg'
:
if
(
function_exists
(
'imageJpeg'
))
{
!
return
imageJpeg
(
$destImg
,
$theImage
,
$this
->
jpegQuality
);
}
break
;
case
'gif'
:
***************
***
2778
,
2793
****
if
(
$this
->
truecolor
)
{
imagetruecolortopalette
(
$destImg
,
true
,
256
);
}
!
$retVal
=
imageGif
(
$destImg
,
$theImage
);
!
t3lib_div
::
fixPermissions
(
$theImage
);
!
return
$retVal
;
}
break
;
case
'png'
:
if
(
function_exists
(
'imagePng'
))
{
!
$retVal
=
ImagePng
(
$destImg
,
$theImage
);
!
t3lib_div
::
fixPermissions
(
$theImage
);
!
return
$retVal
;
}
break
;
}
---
2775
,
2786
----
if
(
$this
->
truecolor
)
{
imagetruecolortopalette
(
$destImg
,
true
,
256
);
}
!
return
imageGif
(
$destImg
,
$theImage
);
}
break
;
case
'png'
:
if
(
function_exists
(
'imagePng'
))
{
!
return
ImagePng
(
$destImg
,
$theImage
);
}
break
;
}
« Previous
1
2
3
4
5
6
7
Next »
(4-4/7)
Loading...