Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 15:02:46 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 15:02:46 +0400
commitcfeb30652642d995bb0c8d17988d33d11b02318f (patch)
tree33fec5cdc925d60888ee67c32dbfc0422c6bc29a /transformation_wrapper.php
parentadb39168cc384d7a808f836cf2e9f9585b82f864 (diff)
coding standard: no spaces inside braces
Diffstat (limited to 'transformation_wrapper.php')
-rw-r--r--transformation_wrapper.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/transformation_wrapper.php b/transformation_wrapper.php
index 1bcd43931f..a2f669f494 100644
--- a/transformation_wrapper.php
+++ b/transformation_wrapper.php
@@ -79,8 +79,8 @@ if (!isset($resize)) {
// it sets $resize to jpeg or png
$srcImage = imagecreatefromstring($row[urldecode($transform_key)]);
- $srcWidth = ImageSX( $srcImage );
- $srcHeight = ImageSY( $srcImage );
+ $srcWidth = ImageSX($srcImage);
+ $srcHeight = ImageSY($srcImage);
// Check to see if the width > height or if width < height
// if so adjust accordingly to make sure the image
@@ -98,21 +98,21 @@ if (!isset($resize)) {
}
if ($resize) {
- $destImage = ImageCreateTrueColor( $destWidth, $destHeight);
+ $destImage = ImageCreateTrueColor($destWidth, $destHeight);
}
-// ImageCopyResized( $destImage, $srcImage, 0, 0, 0, 0, $destWidth, $destHeight, $srcWidth, $srcHeight );
+// ImageCopyResized($destImage, $srcImage, 0, 0, 0, 0, $destWidth, $destHeight, $srcWidth, $srcHeight);
// better quality but slower:
- ImageCopyResampled( $destImage, $srcImage, 0, 0, 0, 0, $destWidth, $destHeight, $srcWidth, $srcHeight );
+ ImageCopyResampled($destImage, $srcImage, 0, 0, 0, 0, $destWidth, $destHeight, $srcWidth, $srcHeight);
if ($resize == 'jpeg') {
- ImageJPEG( $destImage, '', 75 );
+ ImageJPEG($destImage, '', 75);
}
if ($resize == 'png') {
- ImagePNG( $destImage);
+ ImagePNG($destImage);
}
- ImageDestroy( $srcImage );
- ImageDestroy( $destImage );
+ ImageDestroy($srcImage);
+ ImageDestroy($destImage);
}
/**