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
1968 * @param string $from filename path to file
1976 function media_resize_imageIM($ext, $from, $from_w, $from_h, $to, $to_w, $to_h)
1989 $cmd .= " $from $to";
2002 * @param string $from filename path to file
2013 function media_crop_imageIM($ext, $from, $from_w, $from_h, $to, $to_w, $to_h, $ofs_x, $ofs_y)
2027 $cmd .= " $from $to";
2041 * @param string $from filename path to file
2052 function media_resize_imageGD($ext, $from, $from_w, $from_h, $to, $to_w, $to_h, $ofs_x = 0, $ofs_y = 0)
2068 $image = @imagecreatefromjpeg($from);
2071 $image = @imagecreatefrompng($from);
2074 $image = @imagecreatefromgif($from);