Lines Matching defs:from
406 * @param string $from
410 function copy_uploaded_file($from, $to)
412 if (!is_uploaded_file($from)) return false;
413 $ok = copy($from, $to);
414 @unlink($from);
424 * $data[0] fn_tmp: the temporary file name (read from $_FILES)
558 // Always chmod media because they may be saved with different permissions than expected from the php umask.
613 $oldRev = $medialog->getRevisions(-1, 1); // from changelog
626 // Always chmod media because they may be saved with different permissions than expected from the php umask.
1204 * Returns the requested EXIF/IPTC tag from the image meta
1960 * @param string $from filename path to file
1968 function media_resize_imageIM($ext, $from, $from_w, $from_h, $to, $to_w, $to_h)
1981 $cmd .= " $from $to";
1994 * @param string $from filename path to file
2005 function media_crop_imageIM($ext, $from, $from_w, $from_h, $to, $to_w, $to_h, $ofs_x, $ofs_y)
2019 $cmd .= " $from $to";
2033 * @param string $from filename path to file
2044 function media_resize_imageGD($ext, $from, $from_w, $from_h, $to, $to_w, $to_h, $ofs_x = 0, $ofs_y = 0)
2060 $image = @imagecreatefromjpeg($from);
2063 $image = @imagecreatefrompng($from);
2066 $image = @imagecreatefromgif($from);